I think you two may have stumbled onto our problem as well:
We have a cluster of 5 incoming servers, all using milter-greylist. I
have a script run out of cron I was using to check milter-greylist's
status to restart automagically after a crash.
A random lsof spot-check shows the following:
root@xxxx:~# lsof | grep milter-gr | wc
924 7876 94006
so based on this:
root@xxxx:~# ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 7168
virtual memory (kbytes, -v) unlimited
I guess we're not crashing until we hit 1024? Which seems to happen
somewhat frequently.
I'll try setting the ulimit open files to 2048 and see how things go.
for what it's worth, I don't think they're leaking, as the count tends
to fluxuate up and down quite a bit. I'm also thinking that it's partly
our fault for giving sendmail's milter setup a much longer timeout.
(trying to work around possible DNS latency with libspf support, etc.)
Cheers,
~Ethan B.
--
----------------------------------
Ethan Burnside - Founding Member
Kattare Internet Services
WWW: http://www.kattare.com
E-mail: burnside@...
----------------------------------
Quoting manu@...:
>
> Sutherland, James <jsutherl@...> wrote:
>
> > milter-gr 10919 root 9u unix 105,34 0t678
> 590240
> >
> /devices/pseudo/tl@0:ticots->/var/milter-greylist/milter-greylist.sock
> > (0x306e07a3490)
> [repeated many times]
>
> It seems there are dead connexions between sendmail and
> milter-greylist.
> Do you have junk sendmail processes lying around? Maybe awaiting for
> DNS
> resolution?
>
> By using lsof you should be able to find who is connected at the
> other
> end of the socket. Are there alive processes?
>
> Given an entry of socket used by milter-greylist in the lsof output,
> will it disapear after some time, or does it stay there forever?
>
> --
> Emmanuel Dreyfus
> Il y a 10 sortes de personnes dans le monde: ceux qui comprennent
> le binaire et ceux qui ne le comprennent pas.
> manu@...
>
>
> ------------------------ Yahoo! Groups Sponsor
> --------------------~-->
> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
> Now with Pop-Up Blocker. Get it for free!
> http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/W4wwlB/TM
> --------------------------------------------------------------------~->
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>Message
Re: [milter-greylist] RE: Volume
2004-10-14 by Ethan Burnside
Attachments
- No local attachments were found for this message.