> I am using ZEO as a server on a Debian linux 2.6 machine. The ZEO version
> is 3.3.
> I get following error:
> error: uncaptured python exception, closing channel
> <ZEO.zrpc.server.Dispatcher listening at
  0xb79ec56c> (exceptions.OSError:[Errno 24] Too many open files
> [/usr/lib/python2.3/asyncore.py|handle_read_event|384] >
> I have tried to set the /proc/sys/fs/files-max up but that did not help
> :-(

Meaning what?  You get exactly the same traceback every time?  Every time
you try to connect to ZEO?  Once an hour?  Once a day?  Too much telepathy
required here.  Are you using Zope?  Is this a standalone application?  Are
other apps on the box mucking with a large number of files?  Etc.

> Is there any fix for this?

I don't know.  The only other report I found was from 2001, and didn't
appear to be resolved at the time:


Since others don't report "Too many open files" errors, presumption has to
favor that you're doing something unusual, but I can't guess what.  Line 55
in trigger.py is

            r, w = self._fds = os.pipe()

so all we can tell from the traceback is that the OS ran out of file
descriptors and so can't create a new pipe.  The descriptors opened there
are closed again by the trigger.close() method, so I suppose that if the
latter isn't getting called, open descriptors would build up.  

For more information about ZODB, see the ZODB Wiki:

ZODB-Dev mailing list  -  ZODB-Dev@zope.org

Reply via email to