<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Does anyone here have Memcached 1.1.12 running on Linux 2.6.18?<br>
<br>
We recently upgraded a few of our machines to that version of the
kernel, and Memcached has been a bit unstable in that configuration (as
opposed to 2.6.15 (amd64-k8-smp)). By "bit unstable" I mean that PHP is
logging refusals from the daemon to set and/or connect quite a lot.<br>
<br>
Also, on both kernels, we are getting this error in the memcached
logfile (which is created from the stdout of the daemon):<br>
<blockquote>accept(): Too many open files<br>
</blockquote>
What's interesting about this is we get it when we hit about 2.6k
connections to the daemon (which is where it peaks), but we haven't
tweaked the ulimits on this machine, and from initial poking around, it
looks like the number of open file descriptors per process should be
1024. If each connection corresponds to an open file descriptor, then I
would expect to see memcached peak out at 1024 connections, not ~2.6k.<br>
<br>
The closest thing to this I see in the archives is related to an
out-of-memory error. ulimits and open files are only tangentially
mentioned.<br>
<br>
Has anyone seen either of these issues?<br>
<br>
--<br>
timeless<br>
<br>
</body>
</html>