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 MeyerMessage
Re: [milter-greylist] Frequent crashes when dumping db
2006-11-27 by Oliver Fromme
Attachments
- No local attachments were found for this message.