NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: cvs fail because allocate memory fail



On Sat, Sep 26, 2009 at 08:53:30PM +0800, Water NB wrote:
> > ulimit -d `ulimit -d -H`
> Good, ulimit -d `ulimit -d -H` can let my test program run correctly.

Good indeed.

> But, my question is:
> cvs daemon is launched by inetd, where should I add this setting?

You can either use "login.conf" (see "man 5 login.conf") or simply
write a simple wrapper script like this:

#!/bin/sh
ulimit -d `ulimit -d -H`
exec cvs "$@"

        Kind regards

-- 
Matthias Scheler                                  http://zhadum.org.uk/


Home | Main Index | Thread Index | Old Index