vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I have read IBM documentation on rss , rss_hard and stack stack_hard but unable to understand it. If value of rss = 65536 rss_hard = 65536 stack = 32767 stack_hard = 32767 data = 491519 data_hard = 491519 for user vkgtry1 % ulimit -Ha time(seconds) unlimited file(blocks) unlimited data(kbytes) 245760 stack(kbytes) 16384 memory(kbytes) 32768 coredump(blocks) 1000 nofiles(descriptors) 2500 Then what would be memory location / use effect of program / processed used by user vkgtry1 under AIX 5.2 ML01? Thanks, VKG |
| |||
| Vikrant wrote: > I have read IBM documentation on rss , rss_hard and stack stack_hard > but unable to understand it. > > If value of rss = 65536 > rss_hard = 65536 > stack = 32767 > stack_hard = 32767 > data = 491519 > data_hard = 491519 > > for user vkgtry1 > > % ulimit -Ha > time(seconds) unlimited > file(blocks) unlimited > data(kbytes) 245760 > stack(kbytes) 16384 > memory(kbytes) 32768 > coredump(blocks) 1000 > nofiles(descriptors) 2500 > > Then what would be memory location / use effect of program / processed > used by user vkgtry1 under AIX 5.2 ML01? > > Thanks, > VKG From the user hard limits: physical memory = rss will be limited to 32MB for each process. This includes code and data which is in memory. stack, which is automatic data not from malloc, will be limited to 16MB per process. Stack data does not have to be resident in memory. total data size (in memory and in VM) will be limited to 240MB for each process. The limits on any given system may be changed from the defaults described in the IBM documentation. See /etc/security/limits -- Jason |
| ||||
| Jason Mather <goz02451@yahoo.com> wrote in message news:<3FAFBA5B.7040101@yahoo.com>... > Vikrant wrote: > > I have read IBM documentation on rss , rss_hard and stack stack_hard > > but unable to understand it. > > > > If value of rss = 65536 > > rss_hard = 65536 > > stack = 32767 > > stack_hard = 32767 > > data = 491519 > > data_hard = 491519 > > > > for user vkgtry1 > > > > % ulimit -Ha > > time(seconds) unlimited > > file(blocks) unlimited > > data(kbytes) 245760 > > stack(kbytes) 16384 > > memory(kbytes) 32768 > > coredump(blocks) 1000 > > nofiles(descriptors) 2500 > > > > Then what would be memory location / use effect of program / processed > > used by user vkgtry1 under AIX 5.2 ML01? > > > > Thanks, > > VKG > > From the user hard limits: > > physical memory = rss will be limited to 32MB for each process. > This includes code and data which is in memory. > > stack, which is automatic data not from malloc, will be limited > to 16MB per process. Stack data does not have to be resident in > memory. > > total data size (in memory and in VM) will be limited to 240MB > for each process. > > The limits on any given system may be changed from the defaults > described in the IBM documentation. See /etc/security/limits > > -- Jason Hi Jason, Thanks a lot for explaining to me. I would greatly appreciate, if you or someone else could provide me good (I know it depends) values of rss, rss_hard stack , stack_hard values for AIX 5.2. [Silly me, I made so many changes that I lost the track of what was the default value I have P630 with 8GB, but I want to limit usage of RAM to 3 GB. Application is running under AIX 433 without any problem with 3GB RAM. Thanks, VKG |
| Thread Tools | |
| Display Modes | |
|
|