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

Re: `Out of memory' problem on commercial program ...



On Mon 01 Feb 1999, Nikhil Nair wrote:
> On Mon, 1 Feb 1999, Paul Slootman wrote:
> 
> > What does "ulimit -a" report? Is there anything obvious that is limited
> > (e.g. "data seg size", "virtual memory") ?

> This machine is a 366MHz 21164 with 128MB DRAM and 256MB swap (roughly) -
> and it's doing almost nothing else.  The only ulimit I'm not sure about is
> the data seg size - but it appears to be at its hard limit ...
> 
> Script started on Mon Feb  1 17:27:17 1999
> $ ulimit -a
> core file size (blocks)     0
> data seg size (kbytes)      20480

That's curious, on my alpha I get:

$ ulimit -a
core file size (blocks)     0
data seg size (kbytes)      unlimited
file size (blocks)          unlimited
max locked memory (kbytes)  unlimited
max memory size (kbytes)    unlimited
open files                  256
pipe size (512 bytes)       8
stack size (kbytes)         8192
cpu time (seconds)          unlimited
max user processes          256
virtual memory (kbytes)     unlimited


> file size (blocks)          unlimited
> max locked memory (kbytes)  unlimited
> max memory size (kbytes)    unlimited
> open files                  24
> pipe size (512 bytes)       8
> stack size (kbytes)         8192
> cpu time (seconds)          3600
> max user processes          30
> virtual memory (kbytes)     unlimited

Your open files is also severly limited.  What's going on?
Note that you can not increase these values if you're not root.
Look for ulimit somewhere in /etc/profile etc.


Paul Slootman
-- 
home: paul@wurtel.demon.nl | work: paul@murphy.nl | debian: paul@debian.org
http://www.wurtel.demon.nl | Murphy Software,   Enschede,   the Netherlands


Reply to: