This may be a bit too obvious, but the one time I saw a similar thing, it
was something as silly as making a new connection to memcached each time.

I had some wrapping functionality that had a typo in it that caused it to
drop its connection to memcached and reconnect for every get.

I've also seen some funny things on some redhats doing dns resolving when
that server also happens to be a dns server.  Thats the only real
configuration issue I can think of.

Make sure you have the latest stable libevent installed, and configured to
be the most optimal for your system..

Can you provide a sample of your code we can look at, that may give us more
clues.

On Mon, Apr 27, 2009 at 10:55 PM, Abhinav Gupta <[email protected]>wrote:

> we already tried this... and by doing this only we got to know that
> memcache is the problem, as by removing the call CPU uses goes down.
>
>
> On Mon, Apr 27, 2009 at 7:42 PM, Justin Huff <[email protected]> wrote:
>
>> Try this:
>> Comment out the actual memcache server calls and then turn your code
>> on.  That should localize the problem.
>> --Justin
>>
>> On Mon, Apr 27, 2009 at 1:21 AM, Abhinav Gupta <[email protected]>
>> wrote:
>> > one more point..
>> >
>> > we are using php functions for serialization and unserialization of data
>> > while putting  and fetching data into memcache server.
>> >
>> > Regards,
>> > On Sun, Apr 26, 2009 at 11:28 PM, Abhinav Gupta <[email protected]>
>> > wrote:
>> >>
>> >> Hi,
>> >>
>> >> we are facing a strange problem while using Memcache, when we turn ON
>> >> Memcache our webserver got high CPU uses.
>> >> I don't have any idea why this going high.
>> >>
>> >> we are using PECL Memcache library for PHP as a client. and we are
>> running
>> >> our memcache server on RHEL 5.
>> >>
>> >> Is this due to any misconfiguration of Memcache server?
>> >>
>> >>
>> >> Regards,
>> >> --
>> >>
>> >>
>> ============================================================================================
>> >> "The future belongs to those who believe in the beauty of their dreams"
>> >>
>> >>
>> =============================================================================================
>> >> Abhinav Gupta
>> >> Software Engineer @99acres.com
>> >
>> >
>> >
>> > --
>> >
>> ============================================================================================
>> > "The future belongs to those who believe in the beauty of their dreams"
>> >
>> =============================================================================================
>> > Abhinav Gupta
>> > Software Engineer @99acres.com
>> >
>>
>
>
>
> --
> ============================================================================================
>
> "The future belongs to those who believe in the beauty of their dreams"
>
> =============================================================================================
> Abhinav Gupta
> Software Engineer @99acres.com
>



-- 
"Be excellent to each other"

Reply via email to