OS: Linux
I am getting following exception when connecting to Memcached server.
I did some local test in which I created 200/300 threads and I started
getting connection errors, any idea?
Exception
java.io.IOException: Too many open files
at sun.nio.ch.IOUtil.initPipe(Native Method)
at sun.nio.ch.PollSelectorImpl.<init>(PollSelectorImpl.java:40)
at
sun.nio.ch.PollSelectorProvider.openSelector(PollSelectorProvider.java:
18)
at java.nio.channels.Selector.open(Selector.java:209)
at
net.spy.memcached.MemcachedConnection.<init>(MemcachedConnection.java:
101)
at
net.spy.memcached.DefaultConnectionFactory.createConnection(DefaultConnecti onFactory.java:
153)
at net.spy.memcached.MemcachedClient.<init>(MemcachedClient.java:186)
Also I am getting the following exception,
net.spy.memcached.OperationTimeoutException: Timeout waiting for value
at net.spy.memcached.MemcachedClient.get(MemcachedClient.java:1185)
at net.spy.memcached.MemcachedClient.get(MemcachedClient.java:1200)
Seems like spymemcahced has lots of issue, there are lots of post
which has time out exception - is the memcached client related or its
the memcached itself or its network issue?