Maxuproc parameter and number of processes


 
Thread Tools Search this Thread
Operating Systems AIX Maxuproc parameter and number of processes
# 8  
Old 04-03-2019
Well, I am the one with the root privileges. However the app - WebSphere MQ - is running under its own nonpriviliged user account. When I log in remotely, I am also using my own nonprivileged user then use sudo to change privileges if needed.

The problem were visible to all nonprivileged user and even root user, running most commands,

ps -ef shows all processes for all users. Almost. ps aux is listing all processes for all users, even those not attached to a terminal.

Now I do not have the opportunity to repeat the situation, but my guess is that ps aux would be able to show all the entries I wanted for.

--Trifo
# 9  
Old 04-03-2019
I'm no AIX expert, but i did use MQ on linux platforms.

First, when installing MQ, there are kernel parameters which should be set.
IBM Knowledge Center Error

There is also a utility (mentioned in the docs) which will check if everything is set properly system wise for MQ software on various platforms.
It is called mqconfig.

Set everything as written and you should have no issues, unless you are having extreme loads or running other software on box along with MQ.

Regards
Peasant.
# 10  
Old 04-03-2019
Also check LWPs! Usually it is
Code:
ps -eLf

# 11  
Old 04-05-2019
Quote:
Originally Posted by trifo75
The relevant parameters of the relevant user are:
Code:
        fsize=2097151
        cpu=-1
        data=262144
        stack=65536
        core=2097151
        rss=65536
        nofiles=2000

Well, yes, maybe I was on a wrong track and the limit was not the number of processes, but some other limit. In this case my question is, why did the raise of maxuproc suppress the problem?
To be honest, i am out of (simple) ideas that could easily be conveyed over the internet. I am pretty sure there is something deeply amiss with your system and you should contact the systems administrator immediately. It might well be that you - as non-administrator - could not even see the problem that is causing this and he is in a much better position than i am to determine what exactly that is (in fact he can actually see the system - that helps along the determination a lot).

As Don said, the number of processes running are what they seem to be and you did follow the correct procedure to get the number. I doubt that this is your problem but i am equally at a loss when it comes to offer alternative explanations. In any case, PLEASE TELL US the solution once you got it, because this is something i dearly want to add to my knowledge. I'll be indebted to you.

Sorry for being not more of a help, but if you have questions (regarding this or anything else) i can answer you are welcome.

bakunin

Last edited by bakunin; 04-05-2019 at 09:33 AM..
These 2 Users Gave Thanks to bakunin For This Post:
# 12  
Old 04-08-2019
The "maxuproc" parameter is limiting the size of process table in AIX.

--Trifo
# 13  
Old 04-08-2019
maxuproc limits the number of processes per user. In other words, each user can run up to maxuproc processes in parallel.
And 10 users can run a total of 10*maxuproc processes.
The limit does not apply for uid=0.
See also this article.
This User Gave Thanks to MadeInGermany For This Post:
# 14  
Old 04-08-2019
Without digging into the system's header files, you should be able to retrieve your current system's allowed number of processes per user with the command:
Code:
getconf CHILD_MAX

which is defined to return the system's current value for the maximum number of simultaneous processes per real user ID. Note that this says nothing about the size of the kernel's process table which must contain one slot for each process that is currently active. Note that in this case, active means has been started and its exit status has not yet been collected by its parent (or if its parent has died, collected by the system's garbage collector [a process named init on some systems]).

In the old days, the size of the process table was fixed when the kernel was built. Most of today's systems attempt to grow the pricess table as needed rather than failing fork()s when the process table fills up. But, if the kernel runs out of memory, a normal user's fork() will fail and a super-user's fork() may kill off a normal user's running process to allow the super-user to create a new process. What actually happens in these cases varies considerably from system to system.

Last edited by Don Cragun; 04-08-2019 at 11:15 PM.. Reason: Fix typo: s/systems/system's/
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

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

2. UNIX for Dummies Questions & Answers

Maxuproc and limit

// AIX 6.1 & Power 7 server I have maxuproc set to 16384. 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... (1 Reply)
Discussion started by: Daniel Gate
1 Replies

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

4. AIX

Maximum number of processes kernel parameter

Hi, Is there a maximum number of processes kernel parameter in AIX. Solaris has max_nprocs, HP-UX has nproc, I can only find max user process (maxuproc) for AIX. Thanks, Wilson. (3 Replies)
Discussion started by: wilsonee
3 Replies

5. Shell Programming and Scripting

Check parameter is number or string

Hey I'm new in linux, I'm looking for a code to check whether the parameter is a number or a string. I have already tried this code: eerste=$(echo $1 | grep "^*$">aux) if But it doesn't work.:confused: Thanks (2 Replies)
Discussion started by: Eclecticaa
2 Replies

6. Shell Programming and Scripting

How to Control Number of Processes Running

Hi Is there a way to count how many processes a script has started, count how many of these have finished, and make the script wait if their difference goes over a given threshold? I am using a script to repeatedly execute a code (~100x) which converts 2 data files into one .plt which is in... (4 Replies)
Discussion started by: drbones
4 Replies

7. Shell Programming and Scripting

Dynamic number of parameter

Hi all Is there away to create a script with dynamic number of parameter.. like the kill command in UNIX kill -9 xxx xxx cheers (4 Replies)
Discussion started by: co0oly
4 Replies

8. Programming

How to limit the number of child processes

I need a mechanism to fork child processes and all child processes should connect to a server.but the number of child processes should be limited(for ex:50) Here's my pseudo, but I cant figure out how to limit the child process number. Should I use a semaphore? or what? for(;;)... (3 Replies)
Discussion started by: xyzt
3 Replies

9. UNIX for Dummies Questions & Answers

checking if parameter passed is a number

I have written a function that fills an array and another function where if a parameter is supplied it will jump to that part of the array and cat it to the screen. I need to put in some checks to make sure the parameter supplied is firstly a number and then not a number great than the length of... (2 Replies)
Discussion started by: magnia
2 Replies

10. Solaris

How to find number of processes ?

Hi , I need to count all processes contains the pattren "FND" For Example: I was reteriving the details of all processes related to "FND" by this command $ ps -ef | grep FND but now I just wanna count them . Regards Adel (2 Replies)
Discussion started by: ArabOracle.com
2 Replies
Login or Register to Ask a Question