From: Uli Z. <ul...@ri...> - 2006-06-28 15:08:04
|
Am 28.06.2006 um 02:46 schrieb Matthias Andree: > Can you check with "lsof" or similar tools (that can > list open files and sockets) how many files and sockets fetchmail > holds > open at the time when the problems start? It might be that the OS > itself > is leaking sockets here which might appear in fetchmail's address > space. Here is lsof output after a freshly restarted fetchmail that has fetched mails just once, and works fine: # lsof -p 5894 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME fetchmail 5894 root cwd VDIR 14,10 1224 2 / fetchmail 5894 root txt VREG 14,10 217276 4621091 /usr/ bin/fetchmail fetchmail 5894 root txt VREG 14,10 1797788 4583305 /usr/ lib/dyld fetchmail 5894 root txt VREG 14,10 4379472 4583478 /usr/ lib/libSystem.B.dylib fetchmail 5894 root txt VREG 14,10 1227808 4583480 / System/Library/Frameworks/CoreFoundation.framework/Versions/A/ CoreFoundation fetchmail 5894 root txt VREG 14,10 801160 4583488 /usr/ lib/libobjc.A.dylib fetchmail 5894 root txt VREG 14,10 1789252 4583565 / System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos fetchmail 5894 root 0u VCHR 3,2 0t0 53111684 /dev/null fetchmail 5894 root 1u VCHR 3,2 0t0 53111684 /dev/null fetchmail 5894 root 2u VCHR 3,2 0t0 53111684 /dev/null fetchmail 5894 root 3r PSXSHM 0x0511b424 4096 obj=0x03680ee0 fetchmail 5894 root 4u unix 0x04af53b0 0t0 - >0x032f3b60 Here is the same output after a 2 hour network outage and then the Internet up again since 10 minutes or so, without fetchmail resuming fetching mails: # lsof -p 5894 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME fetchmail 5894 root cwd VDIR 14,10 1224 2 / fetchmail 5894 root txt VREG 14,10 217276 4621091 /usr/ bin/fetchmail fetchmail 5894 root txt VREG 14,10 1797788 4583305 /usr/ lib/dyld fetchmail 5894 root txt VREG 14,10 4379472 4583478 /usr/ lib/libSystem.B.dylib fetchmail 5894 root txt VREG 14,10 1227808 4583480 / System/Library/Frameworks/CoreFoundation.framework/Versions/A/ CoreFoundation fetchmail 5894 root txt VREG 14,10 801160 4583488 /usr/ lib/libobjc.A.dylib fetchmail 5894 root txt VREG 14,10 1209056 4583589 /usr/ lib/libcrypto.0.9.7.dylib fetchmail 5894 root txt VREG 14,10 1789252 4583565 / System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos fetchmail 5894 root 0u VCHR 3,2 0t293 53111684 /dev/null fetchmail 5894 root 1u VCHR 3,2 0t293 53111684 /dev/null fetchmail 5894 root 2u VCHR 3,2 0t293 53111684 /dev/null fetchmail 5894 root 3r PSXSHM 0x0511b424 4096 obj=0x03680ee0 fetchmail 5894 root 4u unix 0x04af53b0 0t0 - >0x032f3b60 The only difference is the OFFSET value of the /dev/null files (these OFFSET values stay the same after the network outage in several lsof calls I've performed). Honestly, though, I have no idea what that means. :-) Bye Uli ________________________________________________________ Uli Zappe, Solmsstraße 5, D-65189 Wiesbaden, Germany http://www.ritual.org Fon: +49-700-ULIZAPPE Fax: +49-700-ZAPPEFAX ________________________________________________________ |