Re: some problems with chpst again
Charlie Brady <[email protected]>
| Newsgroups | gmane.comp.misc.pape.general |
|---|---|
| Message-ID | <Pine.LNX.4.44.0405111013190.17865-100000@e-smith.charlieb.ott.istop.com> |
On Tue, 11 May 2004, Payal Rathod wrote: > With softlimit, it runs fine. My run file was, > #!/bin/sh > exec 2>&1 > exec softlimit -a 40000000 \ > /usr/local/sbin/clamd > > But with chpst it has problems, > #!/bin/sh > exec 2>&1 > exec /usr/local/bin/chpst -m 40000000 /usr/local/sbin/clamd > > I get error in /tmp/clamd.log as, > Tue May 11 08:55:43 2004 -> ERROR: pthread_create failed > > What must be wrong? Once I comment the chpst line and put softlimit > line, it works again. I'd suggest that you capture strace output from each instance, and see what difference there is in the system calls. Instead of "exec ...", use "exec strace -o/tmp/strace.$$ ..." Regards --- Charlie