Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] Frequent crashes when dumping db

2006-11-27 by Oliver Fromme

shuttlebox wrote:
 > 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.
 >         [...]
 >         /usr/bin/ulimit -n 4096
 >         $binpath/milter-greylist $OPTIONS

That won't work.  /usr/bin/ulimit cannot be use in that way,
and even if it could, the modified limit wouldn't take effect
because the command runs in a subshell.  It doesn't affect
the parent shell which then spawns milter-greylist.

You need to use "ulimit -n 4096" (without "/usr/bin"!) which
is a shell-builtin command.

Best regards
   Oliver

-- 
Oliver Fromme,  secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing
Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

"C++ is the only current language making COBOL look good."
        -- Bertrand Meyer

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.