incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Candler <B.Cand...@pobox.com>
Subject Re: couchdb server connection refused error
Date Mon, 10 Aug 2009 08:19:57 GMT
On Sun, Aug 09, 2009 at 09:55:05PM -0700, Tommy Chheng wrote:
> I found the source of the problem for the connection refused error.
>
> Ubuntu defaults a open file limit of 1024. I had a lot of files opened  
> on the system so any new TCP connections could not be created. The file 
> limit can be checked with ulimit -n

Was the open files bottleneck hit on the client process, or the couchdb
erlang process?

I imagine it was the former.

> I raised the limits in the /etc/security/limits.conf file by adding  
> these lines:
> * soft nofile 32768
> * hard nofile 32768

For the uid which was running the client application?

Regards,

Brian.

Mime
View raw message