Maxuproc and limit


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Maxuproc and limit
# 1  
Old 12-18-2014
Maxuproc and limit

// AIX 6.1 & Power 7 server

I have maxuproc set to 16384.

Code:
 lsattr -El sys0 -a maxuproc
maxuproc 16384 Maximum number of PROCESSES allowed per user True

What is the maximum number of maxuproc we can go for?

If I increase maxuproc to the higher number, what would be ramifications?

I am also wondering why 16384 (16*1024) is recommended?? I am not sure 16384 is the recommended maxuproc for most cases/systems??

Please advise.
# 2  
Old 12-20-2014
I'm not an AIX expert - things there are often not as they are else where.

The idea of limiting concurrent processes for a user stems from problems like fork bombs.
These simply create new child processes that create new child processes.

This is an extreme case. And not the norm by any means.

But the idea is to prevent poorly coded processes from taking over all available new process slots and preventing legitimate processes from running. The system grinds to a halt.

So for other systems you can achieve the same with ulimit settings. maxuproc allows a hard setting for ulimit - in a sense. You should never give over, by default, a large percentage of the available user process slots on a system to one application. Oracle not withstanding. Oracle "assumes" ownership of whatever machine/virtual it is on. It used to play nice with others, not anymore.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Maxuproc parameter and number of processes

Hi there, I am having a problem on an AIX server running a WebSphere MQ instance. The problem is that sometimes it seems to reach process limit, but I do not find the processes themselves. What I see: succeed to log in (as root from console os as nonpriviliged user via ssh). Trying to run... (19 Replies)
Discussion started by: trifo75
19 Replies

2. Red Hat

Increase maxuproc value

Hi Guys, I am running RHEL6 and now my processes reach maximum limit. How do I increase the maxuproc value? Can I increase the value without rebooting the server? Thanks in advance... Please Help!!! (5 Replies)
Discussion started by: Phuti
5 Replies

3. Solaris

ARG_MAX Limit

Hi, I can able to view the limit of ARG_MAX ENV variable using the command: getconf ARG_MAX can we modify the value of ARG_MAX somewhere or is that common value depending upon the version of kernel ? (1 Reply)
Discussion started by: penqueen
1 Replies

4. AIX

Maxuproc vs ulimit -u [processes(per user)]

Morning, Somebody can tell me in AIX 6.1 what is the different between the maxuproc (lsattr -El sys0 | grep max) and the for a user. Example: Oracle is limited by : #ulimit -u processes(per user) unlimited But lsattr -El sys0| grep maxuproc show me : maxuproc 16384 So... (1 Reply)
Discussion started by: bacup540
1 Replies

5. Solaris

Limit: stacksize: Can't remove limit

Hi all, I'm using to Solaris machine. When I run a simple script this messenger come out:"limit: stacksize: Can't remove limit". Any one know the way to resolve this problem without reboot the machine? Thanks in advance. (3 Replies)
Discussion started by: Diabolist9
3 Replies

6. Shell Programming and Scripting

Any limit on files

I am doing an ftp of around 1010 files and I am using mput for this. For some reason its only transferring 10 or 20 files and the rest are not getting transferred. There is some socket error in the log. is there an issue if we have more than 50 or so files for mput. here is the o/p in the log... (2 Replies)
Discussion started by: dsravan
2 Replies

7. Shell Programming and Scripting

How to limit output

hello, i'm trying to figure out a way to limit the output from an SQL query that is counting the number of occurances of a value in a field and the problem is when i run this query against a huge file with many unique values the output is pretty huge. Is there a way i can specifically LIMIT the... (2 Replies)
Discussion started by: bobk544
2 Replies

8. SCO

limit telnet

Hello Every One. :D Can any 1 tell how to configure unix so that only specified IP's can connect to that machine using telnet. :rolleyes: I guess there is also sum stratgy to limit it by time. such as from 9 a.m to 5 p.m. :eek: This is imp 4 me. plz help Thanks Shaikh Naveed Islamabad.... (5 Replies)
Discussion started by: shaikh.naveed
5 Replies

9. Shell Programming and Scripting

is there anyscript to limit ip..

Hello All. is there anyscript or way to limit hosts/ips for users? freebsd4.4-stable thanks (11 Replies)
Discussion started by: star
11 Replies

10. UNIX for Advanced & Expert Users

group limit

hi, i have in my /etc/group an unix group full. i need to add new user in this group. users need to have the same gid and the same name... is it possible ? can i create a concatenation with an other group or something else ? thx (1 Reply)
Discussion started by: farzolito
1 Replies
Login or Register to Ask a Question