- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sh: The fork function failed. Too many process...
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
Discussions
Discussions
Discussions
Forums
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
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
тАО12-11-2003 10:33 PM
тАО12-11-2003 10:33 PM
$ l -slt|pg
sh: The fork function failed. Too many processes already exist.
$
Besides shutdown the server what are the other way of doing away with the too manay processess ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2003 10:36 PM
тАО12-11-2003 10:36 PM
SolutionPete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2003 10:39 PM
тАО12-11-2003 10:39 PM
Re: sh: The fork function failed. Too many processes already exist.
When you increase nproc this should inturn increase this!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2003 10:42 PM
тАО12-11-2003 10:42 PM
Re: sh: The fork function failed. Too many processes already exist.
Check your current kernel parameters with sysdef or kmtune commands.
Use SAM to increase the kernel parameter:
nproc
Reboot
Thanks
Vijay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2003 10:44 PM
тАО12-11-2003 10:44 PM
Re: sh: The fork function failed. Too many processes already exist.
either the max number of processes has been reached, or (I think) it may be caused by reaching the max number of processes for one user. You can of course increase these values, but check alos that you do not have an application running amok, e.g. by blindly starting processes from crontab or the like.
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2003 10:45 PM
тАО12-11-2003 10:45 PM
Re: sh: The fork function failed. Too many processes already exist.
#ps -ef|grep
check what processes he is running.
If the values are low on the kernel then you need to increase teh values
nproc---number of system wide process limit
maxuprc--user wide processes limit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2003 10:51 PM
тАО12-11-2003 10:51 PM
Re: sh: The fork function failed. Too many processes already exist.
So try to stop some processes (if on your own desktop, kill things like xclock and xload to get some air. And if nothing else helps you could run processes with exec, but that would log you out the moment the process ends. Syntax would be 'exec
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2003 11:13 PM
тАО12-11-2003 11:13 PM
Re: sh: The fork function failed. Too many processes already exist.
we had a problem like this many years ago where an application was spawning more processes than the server could cope with. we increased parameters to run but this just delayed the inevitable. Check for any applications which may be generating lots of similar processes.
just a thought !
:-) John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2003 02:01 AM
тАО12-12-2003 02:01 AM
Re: sh: The fork function failed. Too many processes already exist.
look over your processes -
if you have a bunch that you want to kill,
kill 'ps -e | grep procname | awk '{print $2}'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2003 05:43 PM
тАО12-12-2003 05:43 PM