couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Couchdb Wiki] Update of "Troubleshooting" by AdamKocoloski
Date Thu, 19 Nov 2009 21:18:45 GMT
Dear Wiki user,

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

The "Troubleshooting" page has been changed by AdamKocoloski.


  == Misc Errors ==
+ CouchDB using a lot of memory (several hundred MB) on startup?  This one seems to especially
affect Dreamhost installs.  It's really an issue with the Erlang VM pre-allocating data structures
when ulimit is very large or unlimited.  A detailed dicussion can be found [[|on
the erlang-questions list]], but the short answer is that you should decrease ulimit -n or
define ERL_MAX_PORTS to something reasonable like 1024.
  Erlang backtraces are quite "hard" to read for non-Erlangers. The list here tries to give
keywords to help you pinpointing your problem and suggests possible solutions
   system_limit, erlang, open_port:: Erlang has a default limit of 1024 ports, where each
FD, tcp connection, and linked-in driver uses one port. You seem to have exceeded this. You
can change it at runtime using the ERL_MAX_PORTS env variable.

View raw message