Memcached error: accept(): Too many open files
Hai Nguyen Quang
hai.nguyen at vslitc.com
Wed Apr 9 06:31:27 UTC 2008
Hi Peter,
Thanks for your suggest,
Here's the last 4 lines result of lsof |grep memcached
memcached 2166 root 1020u sock 0,5
61381 can't identify protocol
memcached 2166 root 1021u sock 0,5
61433 can't identify protocol
memcached 2166 root 1022u sock 0,5
61480 can't identify protocol
memcached 2166 root 1023u sock 0,5
61530 can't identify protocol
Do you have an idea why I got "can't identify protocol"?
Normally, it should be like this:
memcached 7780 root 7u IPv4 569147323
TCP localhost.localdomain:11211->localhost.localdomain:44731
(ESTABLISHED)
Restart memcached make it works for a few minutes but then the errors
come back, even restart the server just make it work for about one day
Thanks in advanced,
Hai Nguyen
-----Original Message-----
From: memcached-bounces at lists.danga.com
[mailto:memcached-bounces at lists.danga.com] On Behalf Of Peter J. Holzer
Sent: Monday, April 07, 2008 8:18 PM
To: memcached at lists.danga.com
Subject: Re: Memcached error: accept(): Too many open files
On 2008-04-07 13:40:32 +0700, Hai Nguyen Quang wrote:
> I've got this error message in the log of memcached:
>
>
>
> accept(): Too many open files
>
> accept(): Too many open files
>
> accept(): Too many open files
>
> accept(): Too many open files
How many open connections to memcached do you have? Use lsof to find
out. You will probably find that you have a lot of them (hundreds or
thousands). Try to find out what is opening so many connections and how
you can get it to behave.
hp
--
_ | Peter J. Holzer | It took a genius to create [TeX],
|_|_) | Sysadmin WSR | and it takes a genius to maintain it.
| | | hjp at hjp.at | That's not engineering, that's art.
__/ | http://www.hjp.at/ | -- David Kastrup in comp.text.tex
More information about the memcached
mailing list