- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- User process number limit? cannot fork: too many p...
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
05-11-2002 10:27 AM
05-11-2002 10:27 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2002 10:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2002 10:55 AM
05-11-2002 10:55 AM
Re: User process number limit? cannot fork: too many processes
You may need to increase the kernel parameter - maxuprc. This may solve your issue.
If not, I would check the following:
1) Patch level - update if necessary
2) System usage, processes, resources etc. with Glance (gpm), sar and top
3) check the syslog.log for any more error details.
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2002 08:52 PM
05-11-2002 08:52 PM
Re: User process number limit? cannot fork: too many processes
do a ps -ef | grep user | wc -l
by default the OS comes with I think 75 that should be incresed . There is no thumb rule to determine what is the safe no as the users can use depending on whether they are databse users etc,So bump it more than 75 I take a safe no as 1000 for a main application user but you can monitor it.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2002 09:39 PM
05-11-2002 09:39 PM
Re: User process number limit? cannot fork: too many processes
nproc-total no. of processes on the system
maxuprc-maximum no. of user processes.
I assume the user has exceeded his limit.
check for the maxuprc number on your system.
Also check whether the user has run a progarm where it is going on a loop creating additional processes.
If this is not the case check whether the processes running under the user are all reqd.Also if this is the case then increase the maxuprc value.
A value of 350 for maxuprc is quite enough.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2002 09:48 PM
05-11-2002 09:48 PM
Re: User process number limit? cannot fork: too many processes
when you increase maxuprc I would do this gradually and cross check to the performance of the server.
I was involved in a situation where a DBA insisted on having maxuprc increased a few years ago and it ground the server to a halt.
If its a production server play safe and do it gradually.
if your o/s level supports kmtune then use command
kmtune -s maxuprc=NNN
else
cd /stand/build
/usr/lbin/sysadm/system_prep -s system
edit system file
mk_kernel -s system
mv /stand/system /stand/system.saved
mv /stand/vmunix /stand/vmunix.saved
mv /stand/build/vmunix_test /stand/vmunix
cd /
etc/shutdown -ry now
cheers
John.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2004 07:01 PM
03-10-2004 07:01 PM
Re: User process number limit? cannot fork: too many processes
THX for the fast resolve.
What you must know:
This machine works for 3 years with this configuration, so I think i mustnt change the kernel.
At the moment are there 313 processes, that is normal, it works now fine, but yesterday I have it 4 times rebooted, because It was always: Cannot fork new process.
At the moment I am running on a terminal top to see this process number.
How can I see how many Is the maxnumber of processes?
Thanks again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2004 07:59 PM
03-10-2004 07:59 PM
Re: User process number limit? cannot fork: too many processes
It says again the he can't fork more process.
I maked a ps and At the beginn I see some vx_inactive_thread
I have attached ps -ef>file , what is the root cause, can somebody help?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2004 08:03 PM
03-10-2004 08:03 PM
Re: User process number limit? cannot fork: too many processes
(kill -9 51 ....)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2004 08:09 PM
03-10-2004 08:09 PM
Re: User process number limit? cannot fork: too many processes
Instead, you have probably too many assy_tst processes.
I see defunct, dtexec, dtterm, etcetera..
Something must have changed?
A wild guess:
Do you login as assy_tst using CDE? Any changes to it? Do you have 'return to Home session'?
Can you move its .dt directory away?
It's difficult to tell from here...
JP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2004 08:39 PM
03-10-2004 08:39 PM
Re: User process number limit? cannot fork: too many processes
The nproc is large enough and there is enough memory