- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: maxuprc
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2004 03:13 AM
11-17-2004 03:13 AM
What is the best way to determine if I am bumping up against this limit? The user processes are receiving the "No more processes" and Fork errors, but I would sleep easier if I could verify that maxuprc is the problem.
If it is the problem, what are the possible problems with changing maxuprc from 75 to 150? The value of nproc is 12020 and "sar -v" shows only 1200 or so processes.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2004 03:16 AM
11-17-2004 03:16 AM
SolutionThis number will be your maxuprc or one or two higher than your setting. I don't know why you can exceed it, but don't worry about that.
IF this is the case bump up maxuprc
This is the maximum number of processes allowed for any single user. Large applications with lots of sessions sometimes force us to raise this from the default which is 75 for HP-UX 11i v1.
Let me know if you need help modifying the kernel parameter.
This will require a system boot to implement.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2004 03:23 AM
11-17-2004 03:23 AM
Re: maxuprc
Raising maxuproc will have minimal impact on your system - you probably won't notice anything other than happier users.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2004 03:24 AM
11-17-2004 03:24 AM
Re: maxuprc
What a coincidence you raise this about the kernel parameter maxuprc, I was just about to post an thread asking exactly the same question!
Just an additional items to your question, I need to potentially increase maxuprc to 500, will this have any other impact on the OS ?
Thanks in advance for any help on this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2004 03:27 AM
11-17-2004 03:27 AM
Re: maxuprc
Even a value of 500 will be virtually un-noticeable. It just takes a bit more memory to hold the additional table space in the kernel.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2004 03:28 AM
11-17-2004 03:28 AM
Re: maxuprc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2004 03:30 AM
11-17-2004 03:30 AM
Re: maxuprc
maxuprc or nproc are the problem
If you have single usernames like oracle using a lot of processes then maxuprc
If you have a lot of users using a few processes then nproc
run this
ps -ef > /tmp/countproc
/usr/sbin/kmtune -q nproc
/usr/sbin/kmtune -q maxuprc
echo Total processes $(cat /tmp/countproc|tail -n +2|wc -l)
for usrs in $(who|cut -f1 -d" "|sort -u)
do
echo $usrs"| processes "$(grep -c $usrs /tmp/countproc)
done
/bin/rm /tmp/countproc
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2004 03:44 AM
11-17-2004 03:44 AM
Re: maxuprc
NOTE: maxuprc applies to each user no matter how many times they login. If maxuprc is 30 and one user decides to login a dozen times with an average of 3 processes per login, then the 12th login will fail because this user already owns 30 processes. But don';t forget that Oracle, java or other specialized applications run under a single user so maxuprc may need to be 500 or even 2000 depending on how many porcesses are running at the same time owned by a single user. For a given user (that is having a problem), just run ps -u as in:
ps -u user123
and you'll see all the processes for that user. To see the hierarchy of who started who:
UNIX95= ps -Hfu user12
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2004 03:46 AM
11-17-2004 03:46 AM
Re: maxuprc
I was using ps -u
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2004 04:00 AM
11-17-2004 04:00 AM
Re: maxuprc
That's impressive, answering the questions before I posted them!
Many thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2004 04:05 AM
11-17-2004 04:05 AM