Hi. We're running Analog 5.23 on our FreeBSD 4.1.1 servers here at pair Networks and recently we've noticed several systems running out of file descriptors (open file sockets) daily. After some investigation, it was determined to be Analog processes (run via crontab) that were using up all 5000+ file descriptors in one run and ultimately rendering the server unusable.
It appears that this is happening due to Analog/FreeBSD's handling of the DNSTIMEOUT mechanism. Every time a DNS lookup is timed out, the system abandons the current file socket it had open for the UDP connection and opens a new one. After awhile this results in a list of phantom open files that the system still thinks are in use: <output from 'lsof'> COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME analog5.2 54433 analog 33u xc2c5a7c0 file struct, ty=0x5, op=0xc0251728 analog5.2 54433 analog 34u xc2ee4080 file struct, ty=0x5, op=0xc0251728 analog5.2 54433 analog 35u xc2b30480 file struct, ty=0x5, op=0xc0251728 analog5.2 54433 analog 36u xc2800c80 file struct, ty=0x5, op=0xc0251728 analog5.2 54433 analog 37u xc2411340 file struct, ty=0x5, op=0xc0251728 analog5.2 54433 analog 38u IPv4 0xcf49ecc0 0t0 UDP *:4499 This could very well be a FreeBSD problem as well as an Analog problem, but wanted to see if anyone had any ideas or suggestions here. Raising the DNSTIMEOUT setting helps the problem a little, by reducing the number of timeouts, but for a large enough logfile, these will still increase until they hit the limit. Any assistance is appreciated. Erik ---- pair Networks [EMAIL PROTECTED] +------------------------------------------------------------------------ | This is the analog-help mailing list. To unsubscribe from this | mailing list, go to | http://lists.isite.net/listgate/analog-help/unsubscribe.html | | List archives are available at | http://www.mail-archive.com/[email protected]/ | http://lists.isite.net/listgate/analog-help/archives/ | http://www.tallylist.com/archives/index.cfm/mlist.7 +------------------------------------------------------------------------
