Problem with mysql result

Caveo Internet B.V. - Martin martin at caveo.nl
Sun Jul 30 16:56:29 UTC 2006


Dear Jehiah,

Thanks for the comment, i tried it and now i get this :

<7 new client connection
<7 version
>7 VERSION 1.1.12
<7 get testage
>7 END
<7 set testage 1 600 1589036
>7 SERVER_ERROR out of memory
<7 connection closed.


The server itself has 1 gig of ram , and i started memcached with
memcached -vv -d -m 250 -l ip -p 1211 -u www-data ...

I tried lowering the -m to 50 or even 10 , but whatever i do i still get the
out of memory errors...

Any ideas ?

Thanks in advance,
        Martin.
----- Original Message ----- 
From: "Jehiah Czebotar" <jehiah at gmail.com>
To: "Caveo Internet B.V. - Martin" <martin at caveo.nl>
Cc: <memcached at lists.danga.com>
Sent: Sunday, July 30, 2006 6:42 PM
Subject: Re: Problem with mysql result


> On 7/30/06, Caveo Internet B.V. - Martin <martin at caveo.nl> wrote:
> > ... but when trying this out it always
> > gives me 'set failed' and i don't know why it fails.
> >
> >  Maybe you or anyone else has a suggestion ?
> >
> > $memcache = new Memcache;
> > $memcache->connect('IP', 1211) or die ("Could not connect");
>
> you are actually replacing 'IP' with an ip address like 127.0.0.1 right?
>
> In addition you can start the memcached daemon in verbose mode and see
> what it prints out to verify that your php script is getting a
> connection.
>
> $ memcached -vv -p 1211 -l 127.0.0.1
>



More information about the memcached mailing list