GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- "Can't Fork" On LP start
Operating System - HP-UX
1846787
Members
4368
Online
110256
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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-26-2003 07:28 PM
11-26-2003 07:28 PM
Hi,
When starting the lp daemon I get the massage "Can't Fork. Return code:1" but the lp daemon starts and the users can print freely.
Any ideas?
Thanks.
When starting the lp daemon I get the massage "Can't Fork. Return code:1" but the lp daemon starts and the users can print freely.
Any ideas?
Thanks.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2003 08:15 PM
11-26-2003 08:15 PM
Solution
Hi there,
From knowledge mine document about 'HP-UX LP spooler error messages' below is the explaination (the docID : HPUXERR03)
==========================================
can't fork.
An attempt to fork so that the parent can return to free the calling process failed.
==========================================
To resolve the problem, you can increase 'maxusers' kernel parameter, since this will increase the maxuprc kernel parameter. Cause the default formula is :
maxuprc = nproc -5
nproc = 20 + (maxusers*8)
Hope this information can help you.
Best Regards,
AW
From knowledge mine document about 'HP-UX LP spooler error messages' below is the explaination (the docID : HPUXERR03)
==========================================
can't fork.
An attempt to fork so that the parent can return to free the calling process failed.
==========================================
To resolve the problem, you can increase 'maxusers' kernel parameter, since this will increase the maxuprc kernel parameter. Cause the default formula is :
maxuprc = nproc -5
nproc = 20 + (maxusers*8)
Hope this information can help you.
Best Regards,
AW
now working, next not working ... that's unix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2003 08:23 PM
11-26-2003 08:23 PM
Re: "Can't Fork" On LP start
Hi,
could be that your system is near over-worked. If you try and execute:
# sar -v 2 20
you will see in the proc-sz columm the number of current processes and the number that is permitted. If the two figures are close to each other, cahnces are that you from time to time reach the limit for allowable number of processes. If the proc number is very low compared to sz it could be that you have reached another limit, namely the number of max processes for one user, maxuprc. Is that the case?
regards,
John K.
could be that your system is near over-worked. If you try and execute:
# sar -v 2 20
you will see in the proc-sz columm the number of current processes and the number that is permitted. If the two figures are close to each other, cahnces are that you from time to time reach the limit for allowable number of processes. If the proc number is very low compared to sz it could be that you have reached another limit, namely the number of max processes for one user, maxuprc. Is that the case?
regards,
John K.
it would be nice if you always got a second chance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2003 08:44 PM
11-26-2003 08:44 PM
Re: "Can't Fork" On LP start
The problem is two many proc's as you both stated.
I don't want to increase the No. of proc's because the system is way up to it's limit as it is.
I'll reset the system by the end of the day.
Thank you!
Noa.
I don't want to increase the No. of proc's because the system is way up to it's limit as it is.
I'll reset the system by the end of the day.
Thank you!
Noa.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP