[ZODB-Dev] ZEO server leaks FDs.

Anthony Baxter Anthony Baxter <anthony@interlink.com.au>
Wed, 17 Oct 2001 14:37:01 +1000


Using ZEO 1.0b4, Python2.1 (no cyclic GC), Solaris 2.7:

bourbon% lsof -p 13244  | grep FIFO | wc -l                                   ~
     13
bash-2.04$ telnet bourbon 18076
Trying 192.168.133.24...
Connected to bourbon.lax2.ekorp.com.
Escape character is '^]'.
^]
telnet> cl
Connection closed.
bourbon% lsof -p 13244  | grep FIFO | wc -l                                   ~
     15

This is very, very bad.

Looking for the bug now. It's leaking pipes - e.g.
python2.1 13244 ekitzope   20u  FIFO 0x300031e8f80      0t0 4079043 PIPE->0x300031e9060
python2.1 13244 ekitzope   21u  FIFO 0x300031e9060      0t0 4079043 PIPE->0x300031e8f80
After not very much of this, you run out of filedescriptors.


Anthony