- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Fork function failed.
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
01-06-2003 08:42 AM
01-06-2003 08:42 AM
Fork function failed.
"The fork function failed. Too many processes already exist."
I've called HP support and they've asked me to change a few configurable kernel parameters. As of now, nproc is 1024; maxuser = 124; and maxuprc = 200. This was changed a week ago. But today, I had the same problem again. When this happens, my only choice is to do a transfer of control to reboot everything, once that's done everything seems to be fine. Any input will be appreciated. Thanks.
Kirk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2003 08:51 AM
01-06-2003 08:51 AM
Re: Fork function failed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2003 08:52 AM
01-06-2003 08:52 AM
Re: Fork function failed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2003 08:57 AM
01-06-2003 08:57 AM
Re: Fork function failed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2003 09:03 AM
01-06-2003 09:03 AM
Re: Fork function failed.
16:57:54 text-sz ov proc-sz ov inod-sz ov file-sz ov
16:57:55 N/A N/A 556/1024 0 2800/2800 0 1532/5110 0
16:57:56 N/A N/A 556/1024 0 2800/2800 0 1532/5110 0
16:57:57 N/A N/A 556/1024 0 2800/2800 0 1532/5110 0
16:57:58 N/A N/A 556/1024 0 2800/2800 0 1532/5110 0
16:57:59 N/A N/A 556/1024 0 2800/2800 0 1532/5110 0
16:58:00 N/A N/A 556/1024 0 2800/2800 0 1532/5110 0
16:58:01 N/A N/A 556/1024 0 2800/2800 0 1532/5110 0
16:58:02 N/A N/A 556/1024 0 2800/2800 0 1532/5110 0
16:58:03 N/A N/A 556/1024 0 2800/2800 0 1532/5110 0
16:58:04 N/A N/A 556/1024 0 2800/2800 0 1532/5110 0
The proc-sz column shows the system-wide number of processes that are running. Is this close to your limit of 1024?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2003 09:21 AM
01-06-2003 09:21 AM
Re: Fork function failed.
12:08:50 text-sz ov proc-sz ov inod-sz ov file-sz ov
12:08:51 N/A N/A 143/1064 0 1356/1356 0 424/2328 0
12:08:52 N/A N/A 143/1064 0 1356/1356 0 424/2328 0
12:08:53 N/A N/A 143/1064 0 1354/1356 0 424/2328 0
12:08:54 N/A N/A 143/1064 0 1354/1356 0 424/2328 0
12:08:55 N/A N/A 143/1064 0 1354/1356 0 424/2328 0
12:08:56 N/A N/A 143/1064 0 1354/1356 0 424/2328 0
12:08:57 N/A N/A 143/1064 0 1354/1356 0 424/2328 0
12:08:58 N/A N/A 143/1064 0 1354/1356 0 424/2328 0
12:08:59 N/A N/A 143/1064 0 1354/1356 0 424/2328 0
12:09:00 N/A N/A 143/1064 0 1354/1356 0 424/2328 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2003 09:32 AM
01-06-2003 09:32 AM
Re: Fork function failed.
The important part to remember from your output is whether it is from a time when the system was producing the errors or at a time when the system was less busy. Based on your error, I'd say that nproc needs to be increased yet.
Hope this helps!
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2003 09:35 AM
01-06-2003 09:35 AM
Re: Fork function failed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2003 09:39 AM
01-06-2003 09:39 AM
Re: Fork function failed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2003 09:59 AM
01-06-2003 09:59 AM
Re: Fork function failed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2003 10:05 AM
01-06-2003 10:05 AM
Re: Fork function failed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2003 11:06 AM
01-06-2003 11:06 AM
Re: Fork function failed.
1. Start glance
2. Look at the System Tables Report (shortcut to this is the "t" key)
Are any of these paramters at 80% utilization or higher? If so, you should consider making a backup of your current kernel and increasing the affected values by at least 10 or 20% and rebooting.
After the reboot, repeat the steps above to see what the utilization levels are. Continue to monitor them, especially during peak processing hours when the errors have been happening.
Hope this helps!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2003 12:51 PM
01-06-2003 12:51 PM
Re: Fork function failed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2003 01:06 PM
01-06-2003 01:06 PM
Re: Fork function failed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2003 01:15 PM
01-06-2003 01:15 PM
Re: Fork function failed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2003 04:48 AM
01-07-2003 04:48 AM
Re: Fork function failed.
If you get it on your terminal, then also look in your /var/adm/syslog/syslog.log file for a similar/related message of the *same time*.
If syslog.log says "... proc: table is full", then the cause is a too low nproc. It is says something else (please post message) then the cause is probably a too low maxuprc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2003 05:19 AM
01-07-2003 05:19 AM
Re: Fork function failed.
Finding the program that leavs the zombies will be hard "detective" work. Maybe doing some 'ps -ef' and sending to a file will help you backtrack the PID and PPID when you find the zombies.
Good luck and do assign points.
Regards,
Tron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2003 06:27 AM
01-07-2003 06:27 AM
Re: Fork function failed.
Then try to identify what causes the "fork bomb". It could be a script that restarts itself, a bad loop or even a typo.
We experienced this a little while ago: one of our developpers cd'd to a directory containing copybooks and typed "
Unfortunately, all the files in the directory contained many asterisks (comments) and had execute permissions. So the shell expanded the first "*" into execute "all files in this directory" and so on.
We removed execute permissions on the files in text directories and haven't had the problem since.
Hope this helped in your diagnostic efforts.