Date: Thu, 17 Oct 1996 08:09:02 +0300 (EET DST) From: Seppo Kallio <kallio@silmu.cc.jyu.fi> To: FreeBSD-gnats-submit@freebsd.org Subject: kern/1828: limit filesize does not work Message-ID: <199610170509.IAA26187@silmu.cc.jyu.fi> Resent-Message-ID: <199610170510.WAA04349@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 1828 >Category: kern >Synopsis: limit filesize does not work >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Oct 16 22:10:01 PDT 1996 >Last-Modified: >Originator: Seppo Kallio >Organization: U of Jyväskylä >Release: FreeBSD 2.1.5 >Environment: >Description: limit filesize has no effect in /etc/csh.login, /etc/csh.cshrc Using tcsh. Works if limit is given by user in the shell >How-To-Repeat: 8:02am@silmu:~% limit cputime 1:00:00 filesize unlimited datasize 8192 kbytes stacksize 8192 kbytes coredumpsize 0 kbytes memoryuse 8192 kbytes descriptors 64 memorylocked 41545 kbytes maxproc 40 8:02am@silmu:~% grep limit /etc/csh.* .login .cshrc /etc/csh.cshrc: limit datasize 8m # memory: data + stack /etc/csh.cshrc: limit memoryuse 8m # max virtual memory /etc/csh.cshrc: limit stacksize 8m # stack size /etc/csh.cshrc: limit filesize 10000 /etc/csh.cshrc: limit -h filesize 20000 /etc/csh.cshrc: limit coredumpsize 0 # max core /etc/csh.cshrc: limit cputime 1h # 1 hour /etc/csh.cshrc: limit -h datasize 8m # /etc/csh.cshrc: limit -h cputime 2h /etc/csh.login:limit filesize 10000 grep: .login: No such file or directory 8:03am@silmu:~% limit filesize 10m 8:03am@silmu:~% limit cputime 1:00:00 filesize 10240 kbytes datasize 8192 kbytes stacksize 8192 kbytes coredumpsize 0 kbytes memoryuse 8192 kbytes descriptors 64 memorylocked 41545 kbytes maxproc 40 8:03am@silmu:~% >Fix: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610170509.IAA26187>