Let me try again, and I will try to be as clear as I can.
I showed you an excerpt from /etc/login.conf for i386. There are
two lines that mention values for datasize. Please note, one says "cur" for "current", the other says "max" for "maximum":
Quote:
Originally Posted by jggimi
Code:
staff:\
:datasize-cur=512M:\
:datasize-max=infinity:\
|
I also wrote:
Quote:
Originally Posted by jggimi
...confirm you are using that 2GB maximum datasize, rather than the 512M default starting value for the "staff" class...
|
Your datasize is still only 512M, because you did not raise it to the 2GB maximum:
Quote:
Originally Posted by daemonfowl
ulimit -a
Code:
time(cpu-seconds) unlimited
file(blocks) unlimited
coredump(blocks) 0
data(kbytes) 524288
stack(kbytes) 4096
lockedmem(kbytes) 682913
memory(kbytes) 2045756
nofiles(descriptors) 512
processes 128
|
Here is a "howto" to raise your datasize to the 2GB maximum.
I have a user in the staff class using the
ksh(1) shell, and I set the datasize using ulimit -d to 2GB. I then try to add one more MB and receive a failure notice.
Quote:
$ ulimit -a
time(cpu-seconds) unlimited
file(blocks) unlimited
coredump(blocks) unlimited
data(kbytes) 524288
stack(kbytes) 4096
lockedmem(kbytes) 336781
memory(kbytes) 998184
nofiles(descriptors) 1024
processes 128
$ ulimit -d 2048*1024
$ ulimit -d 2049*1024
/bin/ksh: ulimit: exceeds allowable limit
$ ulimit -a
time(cpu-seconds) unlimited
file(blocks) unlimited
coredump(blocks) unlimited
data(kbytes) 2097152
stack(kbytes) 4096
lockedmem(kbytes) 336781
memory(kbytes) 998184
nofiles(descriptors) 1024
processes 128
$
|