Unix Technical Forum

Running out of memory at under 2GB

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). > > > ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #21 (permalink)  
Old 01-05-2008, 09:01 AM
Digital Puer
 
Posts: n/a
Default Re: Running out of memory at under 2GB


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?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #22 (permalink)  
Old 01-05-2008, 09:01 AM
Frank Fegert
 
Posts: n/a
Default Re: Running out of memory at under 2GB

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:33 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com