Re: Riak connection pool silent disconnection

2012-10-12 Thread Anthony Molinaro
One note about the riak-erlang-client. Timeouts will cause the client to disconnect. So if you set a low timeout, it will get disconnected. The behavior on disconnects can be configured with a couple of options passed through at create time. { auto_reconnect, true } will reconnect if it gets di

Re: Riak connection pool silent disconnection

2012-10-11 Thread Mikhail Kuznetsov
Yes, I return connection to pool after query. Pool have 30 workers and most of operations is single put. Ulimit in system is equal to 2048. We just started, we store about 200-300 Mb of data on all cluster. We have about terabyte of free space on server disks. Servers mostly stand by and waiting

Re: Riak connection pool silent disconnection

2012-10-11 Thread Mike Oxford
I think the key may lie here ",{checkout,false,5000}" Are you releasing your connections back to the pool? Is your throughput greater than the system can handle due to limited connection pool sizes? What is your ulimit set to (ulimit -n) ... maybe you're running out of FD's? -mox On Wed,