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.
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.
The relevant parameters of the relevant user are:
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:
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:
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:
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/
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)
// 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)
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)
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)
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)
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)
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)
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)
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)