This is Umashankar. I am trying to put 60 million object into memcached. I am having memcached 1.4.7 version. I have sufficient RAM to put object as I have assign 14GB to my memcached. but once I am trying to put objects it showing me following message
2012-08-01 14:05:14.959 INFO net.spy.memcached.MemcachedConnection: sun.nio.ch.SelectionKeyImpl@6fc5f743 has 1, interested in 5
2012-08-01 14:05:17.405 INFO net.spy.memcached.MemcachedConnection: sun.nio.ch.SelectionKeyImpl@6fc5f743 has a ready op, handling IO
2012-08-01 14:05:17.662 INFO net.spy.memcached.MemcachedConnection: sun.nio.ch.SelectionKeyImpl@2d5253d5 has 5, interested in 5
2012-08-01 14:05:17.662 INFO net.spy.memcached.MemcachedConnection: sun.nio.ch.SelectionKeyImpl@2d5253d5 has a ready op, handling IO
2012-08-01 14:05:17.663 INFO net.spy.memcached.MemcachedConnection: sun.nio.ch.SelectionKeyImpl@2d5253d5 has 5, interested in 5
2012-08-01 14:05:17.663 INFO net.spy.memcached.MemcachedConnection: sun.nio.ch.SelectionKeyImpl@2d5253d5 has a ready op, handling IO
2012-08-01 14:05:17.664 INFO net.spy.memcached.MemcachedConnection: sun.nio.ch.SelectionKeyImpl@2d5253d5 has 5, interested in 5
2012-08-01 14:05:17.665 INFO net.spy.memcached.MemcachedConnection: sun.nio.ch.SelectionKeyImpl@2d5253d5 has a ready op, handling IO
2012-08-01 14:05:17.665 INFO net.spy.memcached.MemcachedConnection: sun.nio.ch.SelectionKeyImpl@2d5253d5 has 5, interested in 5
2012-08-01 14:05:17.665 INFO net.spy.memcached.MemcachedConnection: sun.nio.ch.SelectionKeyImpl@2d5253d5 has a ready op, handling IO
2012-08-01 14:05:17.666 INFO net.spy.memcached.MemcachedConnection: sun.nio.ch.SelectionKeyImpl@2d5253d5 has 5, interested in 5
Then blow this exception :
java.lang.IllegalStateException: Timed out waiting to add Cmd: set Key: ECO-MAIL-CACHE:1d41402abc4b2a76b9719d9219828753875 Flags: 1 Exp: 0 Data Length: 394(max wait=10000ms)
at net.spy.memcached.protocol.TCPMemcachedNodeImpl.addOp(TCPMemcachedNodeImpl.java:346)
at net.spy.memcached.MemcachedConnection.addOperation(MemcachedConnection.java:697)
at net.spy.memcached.MemcachedConnection.addOperation(MemcachedConnection.java:677)
at net.spy.memcached.MemcachedConnection.enqueueOperation(MemcachedConnection.java:639)
at net.spy.memcached.MemcachedClient.asyncStore(MemcachedClient.java:296)
at net.spy.memcached.MemcachedClient.set(MemcachedClient.java:727)
at com.ecomail.emx.core.cache.DefaultCache.set(DefaultCache.java:63)
at com.ecomail.emx.exchange.db.SubscriptionCacheThread.createSubcriptionCache(SubscriptionCacheThread.java:88)
at com.ecomail.emx.exchange.db.SubscriptionCacheThread.call(SubscriptionCacheThread.java:52)
at com.ecomail.emx.exchange.db.SubscriptionCacheThread.call(SubscriptionCacheThread.java:22)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
After putting almost 2 million objects into memcached.
Can you please suggest me, where am making mistake
This is how am starting my memcached instance
memcached -m 14000 -l 192.168.10.242 -p 11211