Thanks - I am going to rebuild XMail without the -lc_r and see how it goes ...
Jeff decker wrote: >Hello, > >With the rebuilt XMail (after removing the -lc_r from Makefile.bsd), it closes >the KQUEUE immediately after it's done, as it should. You should never have >any KQUEUE FDs open, unless of course it is processing 1500+ mails/pop3 >checking at the same time. This is what my box is showing now: > >( /home/decker )=-=( 04:28 PM )=-=( [EMAIL PROTECTED] ) >: lsof -n -p 403 >COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME >XMail 403 root cwd VDIR 4,12 512 2 / >XMail 403 root rtd VDIR 4,12 512 2 / >XMail 403 root txt VREG 4,17 323764 353338 /var/email/bin/XMail >XMail 403 root txt VREG 4,12 141724 33040 /libexec/ld-elf.so.1 >XMail 403 root txt VREG 4,12 20228 51 /lib/libkvm.so.2 >XMail 403 root txt VREG 4,12 28644 50 /lib/libcrypt.so.2 >XMail 403 root txt VREG 4,18 834196 707423 /usr/lib/libstdc++.so.4 >XMail 403 root txt VREG 4,12 120004 52 /lib/libm.so.3 >XMail 403 root txt VREG 4,18 136020 707352 >/usr/lib/libpthread.so.1 >XMail 403 root txt VREG 4,12 883812 56 /lib/libc.so.5 >XMail 403 root 0u IPv4 0xc27e2000 0t0 TCP *:finger (LISTEN) >XMail 403 root 1u VCHR 2,2 0t0 7 /dev/null >XMail 403 root 2u VCHR 2,2 0t0 7 /dev/null >XMail 403 root 3u IPv4 0xc27e2378 0t0 TCP *:6017 (LISTEN) >XMail 403 root 4u IPv4 0xc27e21bc 0t0 TCP *:pop3 (LISTEN) >XMail 403 root 5u IPv4 0xc283a000 0t0 TCP *:smtp (LISTEN) > >( /home/decker )=-=( 04:28 PM )=-=( [EMAIL PROTECTED] ) > >That is after "full-on" usage for several hours, no KQUEUE FD's left over at >all. > >My max FDs per proc is currently 11095: > >: ulimit -n && sysctl kern.maxfilesperproc >11095 >kern.maxfilesperproc: 11095 > >This can be lowered, but not increased as it defaults at the real max level. I >have forgotten what affects the max, but 11095 should be plenty for almost >anything. > >Thanks for the input on this! > >-Darren >- >To unsubscribe from this list: send the line "unsubscribe xmail" in >the body of a message to [EMAIL PROTECTED] >For general help: send the line "help" in the body of a message to >[EMAIL PROTECTED] > > > > - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED]
