Are you on a linux box? Using bash? If so, whats your output of ulimit -a as your milter user? If you are doing linux, is sysctl overriding ulimit? On Monday 27 November 2006 07:42 am, shuttlebox wrote: > On 11/27/06, eclark <eclark@...> wrote: > > Im with the rest here re use of sockets and the like eating up your > > limit. Frankly, I think 256 is a bit low for this user, and would > > probably set it to 512 or 1024. It isnt a generic user after all, and has > > to support up to ~260 descriptors open at once. > > I tried lsof on the greylist process and counted 268 lines in the > output. I use a 4 second greet pause delay and that means more open > connections with Sendmail and it seems as if the milter is involved in > all those open connections even if most are probably just idling for 4 > seconds. I'm not saying that is wrong or anything but in my case it > means I use up a lot of file descriptors. > > How can I get it to use more? It doesn't seem to bother with my > inserted ulimit command in the init.d script. Can I check what the > running process uses? This is the start section of my init.d script, > basically what is included with milter-greylist and I added the ulimit > command. > > # Start daemon. > echo "Starting milter-greylist: ... \c" > chown $user $mildir > /usr/bin/ulimit -n 4096 > $binpath/milter-greylist $OPTIONS > echo "done." > ;; > > I also ran truss on the process and it complains about too many open > files of course but I have a hard time evaluating the output. Any > pointers what to look for?
Message
Re: [milter-greylist] Frequent crashes when dumping db
2006-11-27 by eclark
Attachments
- No local attachments were found for this message.