[
https://issues.apache.org/jira/browse/COUCHDB-1680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dave Cottlehuber updated COUCHDB-1680:
--------------------------------------
Description:
I keep on to receive the following error and couchdb engine hangs. Anyone can
give me hints what happened? Thanks.
Best Regards,
Reid
=====
[Mon, 18 Feb 2013 09:46:20 GMT] [error] [<0.2442.0>] {error_report,<0.31.0>,
{<0.2442.0>,std_error,
[{application,mochiweb},
"Accept failed error","{error,emfile}"]}}
was:
I keep on to receive the following error and couchdb engine hangs. Anyone can
give me hints what happened? Thanks.
Best Regards,
Reid
=====
[Mon, 18 Feb 2013 09:46:20 GMT] [error] [<0.2442.0>] {error_report,<0.31.0>,
{<0.2442.0>,std_error,
[{application,mochiweb},
"Accept failed error","{error,emfile}"]}}
[Mon, 18 Feb 2013 09:46:20 GMT] [error] [<0.2442.0>] {error_report,<0.31.0>,
{<0.2442.0>,crash_report,
[[{initial_call,
{mochiweb_acceptor,init,
['Argument__1','Argument__2',
'Argument__3']}},
{pid,<0.2442.0>},
{registered_name,[]},
{error_info,
{exit,
{error,accept_failed},
[{mochiweb_acceptor,init,3},
{proc_lib,init_p_do_apply,3}]}},
{ancestors,
[couch_httpd,couch_secondary_services,
couch_server_sup,<0.32.0>]},
{messages,[]},
{links,[<0.117.0>]},
{dictionary,[]},
{trap_exit,false},
{status,running},
{heap_size,1597},
{stack_size,24},
{reductions,423}],
[]]}}
[Mon, 18 Feb 2013 09:46:20 GMT] [error] [<0.117.0>] {error_report,<0.31.0>,
{<0.117.0>,std_error,
{mochiweb_socket_server,310,
{acceptor_error,{error,accept_failed}}}}}
Priority: Trivial (was: Critical)
Assignee: Dave Cottlehuber
Issue Type: Question (was: Bug)
Hi Reid,
EMFILE is the hidden message in the stack trace that tells you what the problem
is.
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=%2Fapis%2Funix14.htm
You'll need to adjust hard & soft ulimits (esp nofile) for the system user
running couchdb, and potentially tune ERL_MAX_PORTS too.
Note that JIRA is for logging bugs and features in the software, not for
general support. I'm closing this ticket, but feel free to follow up with more
questions on the mailing lists http://couchdb.apache.org/#mailing-list
> CouchDB keeps on to crash
> -------------------------
>
> Key: COUCHDB-1680
> URL: https://issues.apache.org/jira/browse/COUCHDB-1680
> Project: CouchDB
> Issue Type: Question
> Components: Database Core
> Affects Versions: 1.2.1
> Reporter: Reid Lai
> Assignee: Dave Cottlehuber
> Priority: Trivial
>
> I keep on to receive the following error and couchdb engine hangs. Anyone
> can give me hints what happened? Thanks.
> Best Regards,
> Reid
> =====
> [Mon, 18 Feb 2013 09:46:20 GMT] [error] [<0.2442.0>] {error_report,<0.31.0>,
> {<0.2442.0>,std_error,
> [{application,mochiweb},
> "Accept failed error","{error,emfile}"]}}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira