Re: some problems with chpst again

Payal Rathod <[email protected]>
Newsgroups gmane.comp.misc.pape.general
Message-ID <[email protected]>
On Tue, May 11, 2004 at 02:50:50PM +0000, Gerrit Pape wrote:

> Yes, softlimit -a is different from chpst -m.  softlimit -m would be the

Testing this further on 2 more systems I found,

[I uncommented and commented the lines to use softlimit and chpst at
each time].

On Mandrake 9.2 with run script as,
# cat run
#!/bin/sh
exec 2>&1
#exec  softlimit -a 40000000  /usr/local/sbin/clamd
exec chpst -m 40000000 /usr/local/sbin/clamd

It worked.

On my friend's RH  Enterprise Linux ES release 3 with run script as,
# cat /var/service/Clam/run
#!/bin/sh
exec 2>&1
exec /usr/local/bin/chpst -m 40000000 /usr/local/sbin/clamd
#exec softlimit -a 40000000 /usr/local/sbin/clamd

This did not work, I get the pthread error I mentioned in first mail.

The major difference was that first one was using daemontools while the
second one was using runit. Unfortunately it is office hours and so he
cannot test it till evening on the second system. I can test my system
any time.


Thanks for the patience.
With warm regards,
-Payal
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.