Re: Could not redistribute to another node, retrying primary node for ECO-MAIL-CACHE

2012-08-12 Thread 林添毅
you can check if your memory is overflow.

2012/8/8 U.S. Adha 

> Hi
>   Am trying to access my memcached which is on different machine. My java
> client is unable to access memcached and its keep throwing me this error.
>
> 2012-08-08 17:16:42.978 WARN net.spy.memcached.MemcachedConnection:  Could
> not redistribute to another node, retrying primary node for
> ECO-MAIL-CACHE:5d41402abc4b2a76b9719d93106b9443820-e14e-11e1-9789-000c292523de.
> 2012-08-08 17:16:42.980 WARN net.spy.memcached.MemcachedConnection:  Could
> not redistribute to another node, retrying primary node for
> ECO-MAIL-CACHE:5d41402abc4b2a76b9719d93106b9448640-e14e-11e1-9789-000c292523de.
> 2012-08-08 17:16:42.982 WARN net.spy.memcached.MemcachedConnection:  Could
> not redistribute to another node, retrying primary node for
> ECO-MAIL-CACHE:5d41402abc4b2a76b9719d93106b944d460-e14e-11e1-9789-000c292523de.
> 2012-08-08 17:16:42.990 WARN net.spy.memcached.MemcachedConnection:  Could
> not redistribute to another node, retrying primary node for
> ECO-MAIL-CACHE:5d41402abc4b2a76b9719d93106b9460ce0-e14e-11e1-9789-000c292523de.
> 2012-08-08 17:16:42.992 WARN net.spy.memcached.MemcachedConnection:  Could
> not redistribute to another node, retrying primary node for
> ECO-MAIL-CACHE:5d41402abc4b2a76b9719d93106b9465b00-e14e-11e1-9789-000c292523de.
> INFO  DbInsertUtil- Inside
> DbInsertUtil.insertNewProducerPackageAndStateRecord.
> Exception in thread "pool-1-thread-75" java.lang.OutOfMemoryError: GC
> overhead limit exceeded
> at java.util.HashMap.newKeyIterator(HashMap.java:840)
> at java.util.HashMap$KeySet.iterator(HashMap.java:874)
> at java.util.HashSet.iterator(HashSet.java:153)
> at
> java.util.concurrent.ThreadPoolExecutor.interruptIdleWorkers(ThreadPoolExecutor.java:993)
> at
> java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:952)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> at java.lang.Thread.run(Thread.java:662)
>
>
> Can any one suggest me, where I have made mistake. I have added right
> entry on cacheConfig.xml too for java client.
>
>


Re: Get all items Memcache php

2012-08-12 Thread 林添毅
you can do it by Memcached::fetchAll();

2012/8/8 Rasmus Jonasson 

> Can you somehow get all items from the Memcache class in php?
> Im using unique integers to set an object to a memcahce object.
>
> Example:
> $memcache = new Memcached();
> $memcache->addServer("localhost",$port);
> $memcache->set(123, $object);
>
> How can i get all these objects?
>


Where can I find the memcached windows version?

2012-08-12 Thread David
I didn't know how to build the memcached source code. I just want to use 
the memcached on windows 2003 server.
 
Where can I find the memcached windows version?
 
 
Thank you very much!