[Zope-dev] WebDAV File Descriptor Leak

Brian Brinegar brinegar@pier.ecn.purdue.edu
Tue, 27 May 2003 11:26:11 -0500


Don't have a 2.6.2 setup right now. It will take it a while for us to 
get a system running Zope 2.6.2 up. Though we are planning to migrate to 
Zope 2.6.2 in early July. Are there changes in Zope 2.6.2 that would 
effect this?

-Brian


Andreas Jung wrote:

> Can you reproduce the behaviour with 2.6.2?
>
> -aj
>
> --On Dienstag, 27. Mai 2003 11:07 Uhr -0500 Brian Brinegar 
> <brinegar@pier.ecn.purdue.edu> wrote:
>
>> Hello,
>>
>> We've run into a problem where we get messages like this in our Zope 
>> logs:
>>
>> 2003-05-23T18:56:08 PROBLEM(100) ZServer Server accept() threw an
>> exception
>>
>> we occasionally get a lot of these and then restart Zope on the ZEO
>> Client and everything is okay. After a little more investigation we 
>> found
>> that these occur when we run out of File Descriptors. So, why are we
>> running out of file descriptors???
>>
>> Tracked it down to this: each time a WebDAV client connects to zope
>> cluster a temporary file is created. lsof shows the following:
>>
>> python    19005 httpd 1016u   REG        0,9       227   15857725
>> /var/tmp/@19004.1930 (deleted) python    19005 httpd 1017u   REG
>> 0,9       227   15857727 /var/tmp/@19004.1931 (deleted) python    19005
>> httpd 1018u   REG        0,9       227   15857732 /var/tmp/@19003.1933
>> (deleted) python    19005 httpd 1019u   REG        0,9       227
>> 15857738 /var/tmp/@19003.1934 (deleted) python    19005 httpd 1020u   
>> REG
>> 0,9       227   15857740 /var/tmp/@19003.1935 (deleted) python    19005
>> httpd 1021u   REG        0,9       227   15857743 /var/tmp/@19003.1936
>> (deleted) python    19005 httpd 1022u   REG        0,9       227
>> 15857745 /var/tmp/@19003.1937 (deleted) python    19005 httpd 1023u   
>> REG
>> 0,9       227   15857886 /var/tmp/@19003.1956 (deleted)
>>
>> they are all roughly the same size. There seems to be a file descriptor
>> leak. Is this a known problem? We are running Zope 2.5.1 right now.
>>
>> Any ideas?
>>
>> Thanks,
>> -Brian
>>
>>
>>
>>
>>
>> _______________________________________________
>> Zope-Dev maillist  -  Zope-Dev@zope.org
>> http://mail.zope.org/mailman/listinfo/zope-dev
>> **  No cross posts or HTML encoding!  **
>> (Related lists -  http://mail.zope.org/mailman/listinfo/zope-announce
>>  http://mail.zope.org/mailman/listinfo/zope )
>
>
>
>