python - Couchdb server error (500 system_limit) -


My program is written in Python that I use couchdb-python for data storage, but when the program datas stores, so this is an error gives .:

  file "/home/koc/dnsReputation/dnsDatabasekpy", line 45, check Haswu that LAN (results) == 0: file "/ Usr / local / lib / python2.6 / dist-packages / CouchDB-0.8-py2.6.egg / couchdb / client.py ", in line 987, __len__ file" / usr / local / lib / python2.6 / dist -packages / couchDB-0.8-py2.6.egg / couchdb / client.py ", line 1003, file in rows" /usr/local/lib/python2.6/dist-packages/CouchDB-0.8-Py 2.6.egg / couchdb / client.py ", line 990," /usr/local/lib/python2.6/dist-packages/CouchDB-0.8-py2.6.egg/couchdb/client.py "in the _fetch file, Line 914, "/usr/local/lib/python2.6/dist-packages/CouchDB-0.8-py2.6.egg/couchdb/http.py" in the _exec file, line 399, in the post_json file "/ usr / local /lib/python2.6/dist-packages/CouchDB-0.8-py2.6.egg/couchdb/http.py ", line 381, in the post file" /usr/local/lib/python2.6/dist- package / Couchdb-0.8-pu 2.6.EGD / couchdub / http.py ", line-49, in the _request file" /usr/local/lib/python2.6/dist-packages/CouchDB-0.8-py2.6.egg/ couchdb / http.py ", line 310, requesting couchdb.http.SherverError: (500, ( 'error', 'system_limit'))   

I did not understand why Any answer appriciated thanks

Edit 13.07:

In couch.log, these are the lines:

  {error_report, <0.32. 0>, {& lt; 0.125.0>, crash_report, [[[initial_call, {mochiweb_socket_server, init, ['argument__1']}}, {pledge, & lt; 0.125.0 & gt;}, {Panjikrit_nam []}, {Error_info {Exit, [message []}, {links, [i.e., i.e., i.e., i.e., Adiaiti, & Lt; 0.95.0 & gt;]}, {Dictionary, []}, {trap_exit, true}, {status, running}, {heap_size, 987}, {stack_size, 24}, {reductions, 460}], [] more Check your couchdb log for information - it seems as if you've made an internal hit, the range of the enlarged Erlang on it.  

The Erlang has a default limit of 1024 ports, where each FD, TCP connection and link-in driver use a port. It seems that you have exceeded it, you can change it at runtime by using the ERL_MAX_PORTS env variable.

Update after additional log information: eaddrinuse from your logs makes it look that you have some port conflict or view server There is a lack of permission to run on the port you have configured. Check your couchdb port configuration and check that anything on your system is already running on those ports or not.

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -