![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ulimit | JamesByars | UNIX for Advanced & Expert Users | 6 | 07-31-2008 12:52 PM |
| how to set the ulimit on AIX 5.2 version? | Shilpi | AIX | 3 | 11-15-2007 03:36 AM |
| ulimit | melanie_pfefer | SUN Solaris | 1 | 04-19-2007 04:31 AM |
| ulimit | Student37 | UNIX for Dummies Questions & Answers | 3 | 07-20-2005 02:04 AM |
| ulimit -d | adadevil | UNIX for Dummies Questions & Answers | 1 | 03-05-2004 07:42 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
ulimit nofiles
Hi,
We have an AIX system on oslevel 5.2 and we have the current limits set for the user "XXX" Code:
time(seconds) unlimited file(blocks) unlimited data(kbytes) 1024000 stack(kbytes) 32768 memory(kbytes) unlimited coredump(blocks) 2097151 nofiles(descriptors) 2000 My question is nofiles(descriptors) value of 2000 is that for all processes for user "XXX" or is per process for user "XXX". Can someone please advise when possible. Thanks in advance. Jerardfjay |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Per Process.
|
|
#3
|
||||
|
||||
|
Definitely per process - I had to answer the same question myself few months ago.
|
|
#4
|
|||
|
|||
|
The reason is that ulimit(), by definition, works only on the current process.
Plus, it would be really fun to have to implement it working on all existing processes for a user. To do that /etc/profile or the user's profile is the place to enforce limits. |
|
#5
|
|||
|
|||
|
on AIX individual limits can be set in /etc/security/limits. It is still per process but can be controlled at the system level without customizing the profile(s). check the chuser or chsec man page.
|
|||
| Google The UNIX and Linux Forums |