Re: where to put ulimit for root
Hello,
I'd like to raise the resource quota for www-data, so I edited
limits.conf as the following:
www-data hard nproc 4096
www-data hard nofile 10240
www-data hard core 0
www-data hard rss 500000
However, when I tried this:
home:/etc/security# su www-data -c "ulimit -a"
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 256
virtual memory (kbytes, -v) unlimited
seems everything as usual, the change does not work.
Is there any way to check if the change works?
On Thu, 28 Feb 2002 22:30:12 +0100 (CET)
seezov@libero.it wrote:
> may be /etc/security/limits.conf
>
>
> On Fri, 29 Mar 2002, Patrick Hsieh wrote:
>
> > Hello list,
> >
> > I'd like to raise the value of ulimit of root.
> > Where is the best plase to put my shell script of ulimit settings?
> > Is it a good idea to put at /etc/rc.boot/ulimit ?
> > Any ideas appreciated.
> >
> >
> > --
> > Patrick Hsieh <pahud@pahud.net>
> >
> > GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg
> >
> >
> > --
> > To UNSUBSCRIBE, email to debian-isp-request@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> >
> >
>
> _____________________________________________________________
>
> Sebastian Ezequiel Ovide
>
>
>
> --
> To UNSUBSCRIBE, email to debian-isp-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
--
Patrick Hsieh <pahud@pahud.net>
GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg
--
To UNSUBSCRIBE, email to debian-isp-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: