-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
After a short time (a minute or so) running the default relaximation benchmark, everything blows up
Suspecting its a file descriptor issues running out, however ulimit isnt helping me much
// Shell Log
$ ulimit -n
10000
$ node compare_write_and_read.js --name1 trunk --name2 branch
{ 'trunk-reads':
{ timeline: 10289
, clients: 193
, totalRequests: 16910
, timesCount: 193
, average: 199.77720207253887
, oldest: Tue, 16 Nov 2010 14:00:08 GMT
, last: Tue, 16 Nov 2010 14:00:08 GMT
}
}
/Users/daleharvey/lib/relaximation/tests/test_reads.js:21
if (resp.statusCode !== 200) throw new Error("Did not create document. "
^
Error: Did not create document. {"error":"kill","reason":"{gen_server,call,\n [couch_server,\n {open,<<\"testreadandwrite\">>,\n [{user_ctx,\n {user_ctx,null,\n [<<\"_admin\">>],\n <<\"{couch_httpd_auth, default_authentication_handler}\">>}}]},\n infinity]}"}
at Object.callback (/Users/daleharvey/lib/relaximation/tests/test_reads.js:21:42)
at /Users/daleharvey/lib/relaximation/common/testpool.js:60:33
at IncomingMessage. (/Users/daleharvey/lib/relaximation/common/request.js:93:21)
at IncomingMessage.emit (events:41:20)
at HTTPParser.onMessageComplete (http:106:23)
at Client.onData [as ondata] (http:889:22)
at IOWatcher.callback (net:499:29)
at node.js:608:9
// CouchDB Log
[info] [<0.499.0>] Stacktrace: [{gen_server,call,3},
{couch_server,open,2},
{couch_db,open,2},
{couch_httpd_db,do_db_req,2},
{couch_httpd,handle_request_int,5},
{mochiweb_http,headers,5},
{proc_lib,init_p_do_apply,3[error] [<0.104.0>] {error_report,<0.30.0>,
{<0.104.0>,std_error,
{mochiweb_socket_server,254,{acceptor_error,{error,accept_failed}}}}}
=ERROR REPORT==== 16-Nov-2010::16:21:53 ===
{mochiweb_socket_server,254,{acceptor_error,{error,accept_failed}}}
[error] [<0.378.0>] {error_report,<0.30.0>,
{<0.378.0>,crash_report,
[[{initial_call,
{mochiweb_acceptor,init,
['Argument__1','Argument__2','Argument__3']}},
{pid,<0.378.0>},
{registered_name,[]},
{error_info,
{error,badarg,
[{erlang,list_to_binary,
[[{couch_file,sync,1},
{couch_db_updater,commit_data,2},
{couch_db_updater,update_docs_int,5},
{couch_db_updater,handle_info,2},
{gen_server,handle_msg,5},
{proc_lib,init_p_do_apply,3}]]},
{couch_httpd,error_info,1},
{couch_httpd,send_error,2},
{couch_httpd,handle_request_int,5},
{mochiweb_http,headers,5},
{proc_lib,init_p_do_apply,3}]}},
{ancestors,
[couch_httpd,couch_secondary_services,couch_server_sup,<0.31.0>]},
{messages,[]},
{links,[<0.104.0>,#Port<0.2255>]},
{dictionary,
[{mochiweb_request_body,
<<"{\"type\":\"testdoc\", \"foo\":\"bar\"}">>},
{mochiweb_request_qs,[]},
{mochiweb_request_recv,true},
{jsonp,undefined},
{mochiweb_request_cookie,[]}]},
{trap_exit,false},
{status,running},
{heap_size,6765},
{stack_size,24},
{reductions,77799}],
[]]}}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels