This is a discussion on Running out of memory at under 2GB within the AIX Operating System forums, part of the Unix Operating Systems category; --> Dan Foster wrote: > >> 3. Adjust ulimit (see other post on how to do it). > > > ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Dan Foster wrote: > >> 3. Adjust ulimit (see other post on how to do it). > > > > I edited /etc/security/limits and added the following under my > > user name at the bottom of the file: > > > > joeblow: > > memory = -1 > > data = -1 > > stack = -1 > > Might also try adding 'data_hard = -1' too. > > I don't think 'memory' is a valid keyword... you probably want: > > rss = -1 > rss_hard = -1 > > rss = resident set size (ie, in-memory usage) > Thank you for all the information. I'll tend to the paging space once I've parsed through all this. Regarding the limits, I set the following in the limits file: data_hard = -1 data = -1 stack = -1 rss = -1 rss_hard = -1 However, ulimit -a still says this: time(seconds) unlimited file(blocks) unlimited data(kbytes) unlimited stack(kbytes) 4194304 memory(kbytes) 32768 coredump(blocks) 0 nofiles(descriptors) 2000 Do you know what's up with that? Shouldn't memory and stack be 'unlimited' now? |
| ||||
| Digital Puer wrote: > Thank you for all the information. I'll tend to the paging space once > I've parsed through all this. > > Regarding the limits, I set the following in the limits file: > data_hard = -1 > data = -1 > stack = -1 > rss = -1 > rss_hard = -1 > > > However, ulimit -a still says this: > > time(seconds) unlimited > file(blocks) unlimited > data(kbytes) unlimited > stack(kbytes) 4194304 > memory(kbytes) 32768 > coredump(blocks) 0 > nofiles(descriptors) 2000 > > Do you know what's up with that? Shouldn't memory > and stack be 'unlimited' now? I don't have a 5.2 machine at hand, but on my 5.3 system the situation is as follows: root@zoidberg: grep -p frank /etc/security/limits frank: core = -1 cpu = -1 data = -1 fsize = -1 nofiles = -1 rss = -1 stack = -1 frank@zoidberg: ulimit -a core file size (blocks, -c) unlimited data seg size (kbytes, -d) unlimited file size (blocks, -f) unlimited max memory size (kbytes, -m) unlimited open files (-n) unlimited pipe size (512 bytes, -p) 64 stack size (kbytes, -s) hard cpu time (seconds, -t) unlimited max user processes (-u) 128 virtual memory (kbytes, -v) unlimited At this point i really think you should talk to your Sysadmin. He has probably the best knowledge what is going on with the system. One last guess though, maybe there is WLM set up, or a ulimit in the (global) user profiles? Regards, Frank |