diff options
author | Damien F. Katz <damien@apache.org> | 2009-02-26 21:01:24 +0000 |
---|---|---|
committer | Damien F. Katz <damien@apache.org> | 2009-02-26 21:01:24 +0000 |
commit | 44a1c6606cf06d78ca82349c8b1cf11734bb0808 (patch) | |
tree | b4ba24464bdaf8767d7517a285980ef2a2c7833d /src/couchdb/couch_stats_aggregator.erl | |
parent | 3eb02e96bc134806a7b432b4002708af90432d33 (diff) |
Fix and test for file descriptor leaks
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@748299 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_stats_aggregator.erl')
-rw-r--r-- | src/couchdb/couch_stats_aggregator.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/couchdb/couch_stats_aggregator.erl b/src/couchdb/couch_stats_aggregator.erl index 2a1e5797..eef8f22f 100644 --- a/src/couchdb/couch_stats_aggregator.erl +++ b/src/couchdb/couch_stats_aggregator.erl @@ -299,6 +299,7 @@ init_descriptions() -> ets:insert(?MODULE, {{couchdb, database_changes}, <<"Number of times a database was changed">>}), ets:insert(?MODULE, {{couchdb, database_reads}, <<"Number of times a document was read from a database">>}), ets:insert(?MODULE, {{couchdb, open_databases}, <<"Number of open databases">>}), + ets:insert(?MODULE, {{couchdb, os_files_open}, <<"Number of file descriptors CouchDB has open.">>}), ets:insert(?MODULE, {{couchdb, request_time}, <<"Length of a request inside CouchDB without Mochiweb">>}), ets:insert(?MODULE, {{http_status_codes, '200'}, <<"Number of HTTP 200 OK responses">>}), |