Re: Problem with memcache(d)

2009-09-02 Thread dormando
try flipping the flags and expiration args. I forget, php might have it backwards. Half the time when folks report issues like this it's because they're putting flags in the expiration field or vice versa. The other thing that happens is someone runs flush or restarts it. Make sure you're runnin

Re: Problem with memcache(d)

2009-09-02 Thread jm.malat...@schaefer-shop.de
Hi flags are set correctly (if we flip the args memcache gives an error). Here are the stats from a successful GET [192.168.252.51:11211] - Array -- [pid] - 2136 -- [uptime] - 1810936 -- [threads] - 5 -- [time] - 1251876469 -- [pointer_size] - 32 -- [rusage_user_seconds] - 1041 -- [rusage_user_m

Re: Problem with memcache(d)

2009-09-02 Thread dormando
I don't see the cmd_flush stat, can you telnet to the port and run the raw command? (pretty sure it's in 1.2.8...) no, that's not too much for memcached. nobody in the world can overwhelm the thing to the point where it does that. Can you post a real code snippit that doesn't work for you? Not p

Re: Problem with memcache(d)

2009-09-02 Thread jm.malat...@schaefer-shop.de
telnet> stats STAT pid 2136 STAT uptime 1815239 STAT time 1251880772 STAT version 1.2.8 STAT pointer_size 32 STAT rusage_user 1048.295360 STAT rusage_system 2485.224317 STAT curr_items 324467 STAT total_items 842678 STAT bytes 2957363197 STAT curr_connections 19 STAT total_connections 3485926 STAT

Setting far distant expiry weirdness on new install

2009-09-02 Thread roger.moffatt
I have been completely stumped by this one. I've had a windows install of memcached (1.2.6) running for months without incident in Amazon's compute cloud. Yesterday the server went AWOL and I had to instantiate a new server with Amazon. The image was fresh and everything came back as expected. Ex

Re: Problem with memcache(d)

2009-09-02 Thread dormando
Is this the pecl/memcache client? If so: $o_memcache->set('key', $data, $flags, 60); # expires in a minute. Something is backwards/wrong/weird, you can narrow this down yourself by: - boiling down manual code snippits as far as you can until it works. Write a small php script that just uses th

Re: Setting far distant expiry weirdness on new install

2009-09-02 Thread dormando
Willing to bet your clock was off? And/or it adjusted while you were setting some values. On Wed, 2 Sep 2009, roger.moffatt wrote: > > I have been completely stumped by this one. > > I've had a windows install of memcached (1.2.6) running for months > without incident in Amazon's compute cloud.

Setting up memcached in remote server

2009-09-02 Thread Rajeswari
Hi, I am looking into memcache for the first time. Could you give some information. 1) Is it possible to run memcached in Server X with ip address of Server Y? 2) If it is possible, is there any configuration change for remote setup? Thanks Rajeswari

Re: Setting up memcached in remote server

2009-09-02 Thread Matt Ingenthron
Rajeswari wrote: Hi, I am looking into memcache for the first time. Could you give some information. 1) Is it possible to run memcached in Server X with ip address of Server Y? 2) If it is possible, is there any configuration change for remote setup? The memcached server is agnostic about ne

Issue 87 in memcached: binary cas does not return the new cas id on success

2009-09-02 Thread codesite-noreply
Status: Started Owner: trond.norbye Labels: Type-Defect Priority-Medium New issue 87 by trond.norbye: binary cas does not return the new cas id on success http://code.google.com/p/memcached/issues/detail?id=87 instead 0 is returned in the response header. -- You received this message becau

[memcached/memcached] f9bc2b: Test for binary set/add returning CAS value.

2009-09-02 Thread noreply
Branch: refs/heads/master Home: http://github.com/memcached/memcached Commit: f9bc2b11edf151ce4b33efbe011bd807f14180ca http://github.com/memcached/memcached/commit/f9bc2b11edf151ce4b33efbe011bd807f14180ca Author: Dustin Sallings Date: 2009-09-02 (Wed, 02 Sep 2009) Changed paths: M t/

Issue 84 in memcached: binary quitq doesn't close the connection...

2009-09-02 Thread codesite-noreply
Updates: Status: Fixed Comment #2 on issue 84 by dsallings: binary quitq doesn't close the connection... http://code.google.com/p/memcached/issues/detail?id=84 This has been pushed. -- You received this message because you are listed in the owner or CC fields of this issue, or becau

Issue 87 in memcached: binary cas does not return the new cas id on success

2009-09-02 Thread codesite-noreply
Updates: Status: Fixed Comment #1 on issue 87 by dsallings: binary cas does not return the new cas id on success http://code.google.com/p/memcached/issues/detail?id=87 Pushed Trond's change which includes many other tests. I also specifically modified the perl binary protocol tests

Memcache UDP on PHP

2009-09-02 Thread Nick Le Mouton
Has anyone used memcache UDP on PHP using the pecl module "memcache" or "memcached"? I'm already seeing quite a bit of improvement by using the binary protocol over ascii, but I'm trying to push the envelope further and see if I can squeeze some more performance by using UDP. Are there any downs