Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* ulimit query on UNIX V4.0D
@ 1999-09-06  4:00 keith dancey
  1999-09-06  4:00 ` Nick Hill
  0 siblings, 1 reply; 4+ messages in thread
From: keith dancey @ 1999-09-06  4:00 UTC (permalink / raw)



The maximum available settings for certain resources are indicated:

machine% ulimit -Ha

time(seconds)         unlimited
file(blocks)          unlimited
data(kbytes)          2097152
stack(kbytes)         65536
memory(kbytes)        1010624
coredump(blocks)      unlimited
nofiles(descriptors)  4096
vmemory(kbytes)       2097152

The current setting for data is:

machine% ulimit -d

262144


I have a fairly large program (it has to read several orbits' worth of sea
surface temperatures) which runs out of memory (I eventually get an error
returned by a call to calloc).

I have requested my sys admin to increase the data resource limit to its 
maximum (because only root can *increase* these settings).  However, the
"new" setting has no effect - data is still reported to be 262144.

(We have quite a lot of users on the machine in question)  Does the new
setting require a reboot in order for it to take effect, please?

If not, is there some system bug here?  It seems odd that the data setting
is exactly one eighth of the vmemory setting, and that "man" also reports
a data setting exactly one eighth of the vmemory setting.

Cheers,

keith dancey
earth observation data group
Space Science and Technology Department,
Rutherford Appleton Laboratory,
Chilton, Didcot, Oxon
UK






^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-09-07  4:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-09-06  4:00 ulimit query on UNIX V4.0D keith dancey
1999-09-06  4:00 ` Nick Hill
1999-09-07  4:00   ` keith dancey
1999-09-07  4:00     ` Pit Linnartz from Compaq

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox