Re: Memcached somhow hangs or stoppes working
exhausted memory isn't going to cause it to pause... http://memcached.org/timeouts for the typical run-through of timeout problems. On Tue, 15 Apr 2014, Suraj Narkhede wrote: > Or maybe its like you have exhausted your memory. Can you please check in the > stats if there is any "eviction_count"? This problem will also get > solved once the memcache is restarted. > > Suraj > > > On Tue, Apr 15, 2014 at 1:14 PM, Jon Hauksson > wrote: > Hi, > thanks for the answers. We will try to upgrade. Yes, it does not work just to > flush the memcached we have to restart them so maybe its > the persistent connections > > Den måndagen den 14:e april 2014 kl. 19:50:01 UTC+2 skrev Jon Hauksson: > Hi, > I work at company where we use memcached and suddenly it stoppes working > every like 3 days. We did not really catch the problem at > first but now we have narrowed it down to memcached. Every time we restart > our 2 memcached servers the system gets under control again. > But when this happens we do not see any real problems in the logs etc...but > it comes back after restart of the memcached. It does not > work to just flush. If somebody has some information on what the problem > could be it would be appreciated. > > We have 2 memcached servers on cent os and the startup options are: > > memcached -d -m 4096 -c 4096 -t 25 > > Thanks, > Jon > > -- > > --- > You received this message because you are subscribed to the Google Groups > "memcached" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to memcached+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > > > -- > > --- > You received this message because you are subscribed to the Google Groups > "memcached" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to memcached+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > > -- --- You received this message because you are subscribed to the Google Groups "memcached" group. To unsubscribe from this group and stop receiving emails from it, send an email to memcached+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Memcached somhow hangs or stoppes working
Or maybe its like you have exhausted your memory. Can you please check in the stats if there is any "eviction_count"? This problem will also get solved once the memcache is restarted. Suraj On Tue, Apr 15, 2014 at 1:14 PM, Jon Hauksson wrote: > Hi, > > thanks for the answers. We will try to upgrade. Yes, it does not work just > to flush the memcached we have to restart them so maybe its > the persistent connections > > Den måndagen den 14:e april 2014 kl. 19:50:01 UTC+2 skrev Jon Hauksson: > >> Hi, >> >> I work at company where we use memcached and suddenly it stoppes working >> every like 3 days. We did not really catch the problem at first but now we >> have narrowed it down to memcached. Every time we restart our 2 memcached >> servers the system gets under control again. But when this happens we do >> not see any real problems in the logs etc...but it comes back after restart >> of the memcached. It does not work to just flush. If somebody has some >> information on what the problem could be it would be appreciated. >> >> We have 2 memcached servers on cent os and the startup options are: >> >> memcached -d -m 4096 -c 4096 -t 25 >> >> Thanks, >> Jon >> >> -- > > --- > You received this message because you are subscribed to the Google Groups > "memcached" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to memcached+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- --- You received this message because you are subscribed to the Google Groups "memcached" group. To unsubscribe from this group and stop receiving emails from it, send an email to memcached+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Memcached somhow hangs or stoppes working
Hi, thanks for the answers. We will try to upgrade. Yes, it does not work just to flush the memcached we have to restart them so maybe its the persistent connections Den måndagen den 14:e april 2014 kl. 19:50:01 UTC+2 skrev Jon Hauksson: > > Hi, > > I work at company where we use memcached and suddenly it stoppes working > every like 3 days. We did not really catch the problem at first but now we > have narrowed it down to memcached. Every time we restart our 2 memcached > servers the system gets under control again. But when this happens we do > not see any real problems in the logs etc...but it comes back after restart > of the memcached. It does not work to just flush. If somebody has some > information on what the problem could be it would be appreciated. > > We have 2 memcached servers on cent os and the startup options are: > > memcached -d -m 4096 -c 4096 -t 25 > > Thanks, > Jon > > -- --- You received this message because you are subscribed to the Google Groups "memcached" group. To unsubscribe from this group and stop receiving emails from it, send an email to memcached+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Memcached somhow hangs or stoppes working
Maybe you're just running out of persistent connections... Have you tried restarting other servers, instead? W dniu poniedziałek, 14 kwietnia 2014 19:50:01 UTC+2 użytkownik Jon Hauksson napisał: > > Hi, > > I work at company where we use memcached and suddenly it stoppes working > every like 3 days. We did not really catch the problem at first but now we > have narrowed it down to memcached. Every time we restart our 2 memcached > servers the system gets under control again. But when this happens we do > not see any real problems in the logs etc...but it comes back after restart > of the memcached. It does not work to just flush. If somebody has some > information on what the problem could be it would be appreciated. > > We have 2 memcached servers on cent os and the startup options are: > > memcached -d -m 4096 -c 4096 -t 25 > > Thanks, > Jon > > -- --- You received this message because you are subscribed to the Google Groups "memcached" group. To unsubscribe from this group and stop receiving emails from it, send an email to memcached+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Memcached somhow hangs or stoppes working
What version are you using? If less than 1.4.17, please upgrade to the latest version. Also, -t 25 is a huge waste. Use -t 4 unless you're doing more than several hundred thousand requests per second. On Mon, 14 Apr 2014, Jon Hauksson wrote: > Hi, > I work at company where we use memcached and suddenly it stoppes working > every like 3 days. We did not really catch the problem at first but now we > have narrowed it down to memcached. Every time we restart our 2 memcached > servers the system gets under control again. But when this happens we do > not see any real problems in the logs etc...but it comes back after restart > of the memcached. It does not work to just flush. If somebody has some > information on what the problem could be it would be appreciated. > > We have 2 memcached servers on cent os and the startup options are: > > memcached -d -m 4096 -c 4096 -t 25 > > Thanks, > Jon > > -- > > --- > You received this message because you are subscribed to the Google Groups > "memcached" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to memcached+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > > -- --- You received this message because you are subscribed to the Google Groups "memcached" group. To unsubscribe from this group and stop receiving emails from it, send an email to memcached+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Memcached somhow hangs or stoppes working
Hi, I work at company where we use memcached and suddenly it stoppes working every like 3 days. We did not really catch the problem at first but now we have narrowed it down to memcached. Every time we restart our 2 memcached servers the system gets under control again. But when this happens we do not see any real problems in the logs etc...but it comes back after restart of the memcached. It does not work to just flush. If somebody has some information on what the problem could be it would be appreciated. We have 2 memcached servers on cent os and the startup options are: memcached -d -m 4096 -c 4096 -t 25 Thanks, Jon -- --- You received this message because you are subscribed to the Google Groups "memcached" group. To unsubscribe from this group and stop receiving emails from it, send an email to memcached+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.