
June 21, 2008
12:37 p.m.
Hi, Dmitri Fedoruk wrote:
Up to 2.0.5 I have no problem when the resolvingParser is called. But since 2.0.5 after I have this: # no call of resolving parser [root@machine ~/trunk/fb-ports/py-lxml]$ sysctl kern.openfiles kern.openfiles: 377 # after a single (!) call of resolving parser [root@machine ~/trunk/fb-ports/py-lxml]$ sysctl kern.openfiles kern.openfiles: 11439
And my local DTD file is opened about 11000 times (according to fstat and find -inode).
When I run the "resolve_filename_dtd" test in test_etree.py and print "lsof | wc -l" directly before and after parsing, I get the same number each time. So I can't see your leak here. Stefan