Skip to content

Instantly share code, notes, and snippets.

@mmack
Created November 11, 2013 16:32
Show Gist options
  • Save mmack/7416068 to your computer and use it in GitHub Desktop.
Save mmack/7416068 to your computer and use it in GitHub Desktop.
couchdb stacktrace
[Mon, 11 Nov 2013 16:31:45 GMT] [info] [<0.9078.2>] Stacktrace: [{gen_server,call,3,
[{file,"gen_server.erl"},{line,188}]},
{couch_server,open,2,
[{file,"couch_server.erl"},{line,70}]},
{couch_db,open,2,
[{file,"couch_db.erl"},{line,79}]},
{couch_httpd_db,do_db_req,2,
[{file,"couch_httpd_db.erl"},{line,231}]},
{couch_httpd,handle_request_int,5,
[{file,"couch_httpd.erl"},{line,332}]},
{mochiweb_http,headers,5,
[{file,"mochiweb_http.erl"},{line,94}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,227}]}]
@mmack
Copy link
Author

mmack commented Nov 11, 2013

Mon, 11 Nov 2013 16:31:45 GMT] [error] [<0.19416.137>] httpd 500 error response:
{"error":"{system_limit,[{erlang,spawn_link,\n [erlang,apply,[#Fun<couch_server.7.125958647>,[]]],\n []},\n {erlang,spawn_link,1,[]},\n {couch_server,open_async,5,\n [{file,"couch_server.erl"},{line,288}]},\n {couch_server,open_db,4,[{file,"couch_server.erl"},{line,492}]},\n {gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,588}]},\n {proc_lib,init_p_do_apply,3,\n [{file,"proc_lib.erl"},{line,227}]}]}","reason":"{gen_server,call,\n [couch_server,\n {open,<<"root-prod/private-room-b72ddb30-1a47-0131-933c-0e46269f7b4c">>,\n [{user_ctx,\n {user_ctx,null,\n [<<"_admin">>],\n <<"{couch_httpd_auth, default_authentication_handler}">>}}]},\n infinity]}"}

@mmack
Copy link
Author

mmack commented Nov 11, 2013

This is my default file:

root@i-b34b1bff:/usr/local/etc/default# cat couchdb
COUCHDB_USER=couchdb
COUCHDB_STDOUT_FILE=/dev/null
COUCHDB_STDERR_FILE=/dev/null
COUCHDB_RESPAWN_TIMEOUT=5
COUCHDB_OPTIONS=
ERL_MAX_PORTS=100000
ERL_MAX_ETS_TABLES=10000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment