Re: some problems with chpst again

Gerrit Pape <[email protected]>
Newsgroups gmane.comp.misc.pape.general
Message-ID <20040511144929.14387.qmail@be8705e5906ede.315fe32.mid.smarden.org>
On Tue, May 11, 2004 at 10:39:46AM -0400, Charlie Brady wrote:
> On Tue, 11 May 2004, Charlie Brady wrote:
> > On Tue, 11 May 2004, Payal Rathod wrote:
> > > With softlimit, it runs fine.
> ...
> > > But with chpst it has problems,
> ...
> > 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.$$ ..."
> 
> Curiosity got the better of me, so I compared the two myself (using 
> "strace .... /bin/echo foo"). There's quite a difference in system calls.

Yes, softlimit -a is different from chpst -m.  softlimit -m would be the
same.  Payal, what does
 $ chpst -vm3000000 true
say on your system?  Some operating systems do not support -a.

Regards, Gerrit.
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.