- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: fork error messages
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
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-23-2006 01:35 AM
05-23-2006 01:35 AM
fork error messages
/etc/profile[31]: The fork function failed. Too many processes already exist.
/etc/profile[48]: The fork function failed. Too many processes already exist.
/etc/profile[83]: The fork function failed. Too many processes already exist.
.profile[11]: The fork function failed. Too many processes already exist.
.profile[13]: The fork function failed. Too many processes already exist.
.profile[14]: The fork function failed. Too many processes already exist.
.profile[15]: The fork function failed. Too many processes already exist.
.profile[37]: The fork function failed. Too many processes already exist.
After that I have no other option than to reboot the server, after that everything goes fine
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2006 01:39 AM
05-23-2006 01:39 AM
Re: fork error messages
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2006 01:40 AM
05-23-2006 01:40 AM
Re: fork error messages
The nproc kernel parameter needs to be increased.
You can check usage via glance - process tables
hth
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2006 01:48 AM
05-23-2006 01:48 AM
Re: fork error messages
You are exceeding the maxiumum number of processes allowed either for a particular user or system-wide.
You can use 'sar -v' or 'glance' to monitor the value of 'nproc' --- the kernal parameter that governs the overall ceiling for the maximum number of processes running at any one time.
It is more likely that 'maxuprc' has been exceeded. This kernel tunable control the maximum number of processes allowed per user.
I assume that you are running some version of 11i. Therefore, use 'kmtune -l' to list your current values for kenerl parameters.
The manpages for 11.23 have additional information on each kernel tunable. This 11.11 document offers the same for that release:
http://docs.hp.com/en/TKP-90202/TKP-90202.pdf
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2006 01:50 AM
05-23-2006 01:50 AM
Re: fork error messages
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2006 09:01 AM
05-23-2006 09:01 AM
Re: fork error messages
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2006 09:31 AM
05-23-2006 09:31 AM
Re: fork error messages
You could simply use a loop like
count=0
while [ 10000 -ge $count ]
do
sleep 60
date >> /tmp/proclist.$$
ps -ef >> /tmp/proclist.$$
done
This will collect statistics for quite some time, but might help You finding out if there is anything spawning vast amount of processes fast.
Florian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2006 09:52 AM
05-23-2006 09:52 AM
Re: fork error messages
When I have problems with a fork, I use a spoon.