couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "Performance" by NathanVanderWilt
Date Mon, 04 Feb 2013 19:34:35 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The "Performance" page has been changed by NathanVanderWilt:
http://wiki.apache.org/couchdb/Performance?action=diff&rev1=19&rev2=20

Comment:
add note about hard coded fd limit on OS X

  }}}
  
  CouchDB versions up to 1.1.x also create Erlang Term Storage (ETS) tables for each replication.
If you are using a version of CouchDB older than 1.2 and must support many replications, also
set the {{{ERL_MAX_ETS_TABLES}}} variable. The default is approximately 1400 tables.
+ 
+ Note that on Mac OS X, Erlang will not actually increase the file descriptor limit past
1024 (i.e. the system header–defined value of FD_SETSIZE.) See [[http://erlang.org/pipermail/erlang-questions/2011-December/063119.html|this
tip for a possible workaround]] and [[http://erlang.org/pipermail/erlang-questions/2011-October/061971.html|this
thread for a deeper explanation]].
+ 
+ 
  === PAM and ulimit ===
  Finally, most *nix operating systems impose various resource limits on every process. If
your system is set up to use the Pluggable Authentication Modules (PAM) system, increasing
this limit is straightforward. For example, creating a file named {{{/etc/security/limits.d/100-couchdb.conf}}}
with the following contents will ensure that CouchDB can open enough file descriptors to service
your increased maximum open databases and Erlang ports:
  

Mime
View raw message