http 500, "case_clause / system limit, open_port"

Bug #459241 reported by Chad Miller
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
couchdb (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: couchdb

it caused HTTP 500 and couchdb described it as
{"error":"case_clause","reason":"{system_limit,[{erlang,open_port,[{spawn,\"couch_erl_driver\"},[]]},\n {couch_util,drv_port,0},\n {couch_util,collate,3},\n {couch_view,less_same_type,2},\n {couch_view,less_list,2},\n {couch_btree,find_first_gteq,5},\n {couch_btree,modify_kpnode,6},\n {couch_btree,modify_node,4}]}"}
{couch_httpd_auth,get_user,2},
             {couch_httpd_oauth,set_user_ctx,2},
             {couch_httpd,authenticate_request,2},
             {couch_httpd,handle_request,5},
             {mochiweb_http,headers,5},
             {proc_lib,init_p_do_apply,3}

Tags: couchlogscan
Chad Miller (cmiller)
summary: - http 500, "case_clause, system limit, open_port"
+ http 500, "case_clause / system limit, open_port"
Revision history for this message
Adam Kocoloski (kocolosk) wrote :

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.

Revision history for this message
Chad Miller (cmiller) wrote :

This is a valid use oef HTTP 500.

Changed in couchdb (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.