- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- error message about fork
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
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
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-20-2005 10:35 PM
12-20-2005 10:35 PM
error message about fork
I found the error message in syslog.log about fork , main focus message is list below.
Dec 21 09:49:58 cdgmrd2 prngd[2699]: Could not fork: Not enough space
Dec 21 09:59:39 cdgmrd2 su: - 3 firsthop-root
Dec 21 10:00:15 cdgmrd2 su: + 3 firsthop-root
Dec 21 10:00:06 cdgmrd2 su: - 3 firsthop-root
Dec 21 10:01:15 cdgmrd2 above message repeats 2 times
Dec 21 10:04:26 cdgmrd2 sshd[9246]: fatal: fork of unprivileged child failed
Dec 21 10:04:34 cdgmrd2 sshd[9248]: fatal: fork of unprivileged child failed
Dec 21 10:04:38 cdgmrd2 prngd[2699]: Could not fork: Not enough space
Dec 21 10:04:38 cdgmrd2 sshd[9252]: fatal: fork of unprivileged child failed
Dec 21 10:04:38 cdgmrd2 sshd[9255]: fatal: fork of unprivileged child failed
Dec 21 10:04:38 cdgmrd2 sshd[9257]: fatal: fork of unprivileged child failed
Dec 21 10:04:38 cdgmrd2 sshd[9259]: fatal: fork of unprivileged child failed
Dec 21 10:04:43 cdgmrd2 sshd[9261]: fatal: fork of unprivileged child failed
Dec 21 10:10:20 cdgmrd2 su: + 4 firsthop-root
Dec 21 10:13:08 cdgmrd2 prngd[2699]: Could not fork: Not enough space
Dec 21 10:19:57 cdgmrd2 sshd[9474]: fatal: fork of unprivileged child failed
Dec 21 10:13:59 cdgmrd2 prngd[2699]: Could not fork: Not enough space
Dec 21 10:21:25 cdgmrd2 sshd[9494]: error: openpty: Not enough space
Dec 21 10:21:25 cdgmrd2 sshd[9496]: error: session_pty_req: session 0 alloc failed
Dec 21 10:21:25 cdgmrd2 sshd[9496]: Disconnecting: fork failed: Not enough space
Dec 21 10:21:43 cdgmrd2 sshd[9501]: error: openpty: Not enough space
Dec 21 10:21:43 cdgmrd2 sshd[9503]: error: session_pty_req: session 0 alloc failed
Dec 21 10:21:43 cdgmrd2 sshd[9503]: Disconnecting: fork failed: Not enough space
Dec 21 10:22:28 cdgmrd2 prngd[2699]: Could not fork: Not enough space
Dec 21 10:22:46 cdgmrd2 su: - 1 firsthop-root
Dec 21 10:23:46 cdgmrd2 sshd[9525]: load_modules: can not open module /usr/lib/security/libpam_unix.1
Dec 21 10:24:10 cdgmrd2 prngd[2699]: Could not fork: Not enough space
Dec 21 10:24:00 cdgmrd2 sshd[9525]: load_modules: can not open module /usr/lib/security/libpam_unix.1
Dec 21 10:34:37 cdgmrd2 sshd[903]: error: fork: Not enough space
Dec 21 10:38:55 cdgmrd2 su: + 1 firsthop-root
Dec 21 10:36:31 cdgmrd2 sshd[903]: error: fork: Not enough space
Dec 21 10:39:37 cdgmrd2 sshd[9649]: fatal: fork of unprivileged child failed
Dec 21 10:36:55 cdgmrd2 prngd[2699]: Could not fork: Not enough space
Dec 21 10:41:16 cdgmrd2 above message repeats 2 times
Dec 21 10:47:58 cdgmrd2 prngd[2699]: Could not fork: Not enough space
Dec 21 10:50:51 cdgmrd2 sshd[9741]: error: openpty: Not enough space
Dec 21 10:50:31 cdgmrd2 prngd[2699]: Could not fork: Not enough space
Dec 21 10:50:51 cdgmrd2 sshd[9743]: error: session_pty_req: session 0 alloc failed
Dec 21 10:50:51 cdgmrd2 sshd[9743]: Disconnecting: fork failed: Not enough space
Dec 21 10:50:51 cdgmrd2 sshd[9743]: clnt_dg_create: out of memory
Dec 21 10:51:02 cdgmrd2 sshd[9748]: error: openpty: Not enough space
Dec 21 10:51:02 cdgmrd2 sshd[9750]: error: session_pty_req: session 0 alloc failed
Dec 21 10:51:02 cdgmrd2 sshd[9750]: Disconnecting: fork failed: Not enough space
Dec 21 10:51:02 cdgmrd2 sshd[9750]: clnt_dg_create: out of memory
Dec 21 10:51:21 cdgmrd2 sshd[9753]: error: openpty: Not enough space
Dec 21 10:51:21 cdgmrd2 sshd[9755]: error: session_pty_req: session 0 alloc failed
Dec 21 10:51:21 cdgmrd2 sshd[9755]: Disconnecting: fork failed: Not enough space
Dec 21 10:51:21 cdgmrd2 sshd[9755]: clnt_dg_create: out of memory
Dec 21 10:55:03 cdgmrd2 vmunix:
Dec 21 10:55:03 cdgmrd2 vmunix: Shutting down machine, please wait.
During this message happen i can not run any command ,when i type command it has message "fork failed: Not enough space" everytime.I have to reboot machine and after that it work fine but i want to know the cause of this problem.Does anyone have suggestion about this problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2005 10:42 PM
12-20-2005 10:42 PM
Re: error message about fork
You are out of memory.
swapinfo -tam
If allocated swap is all used up, get more memory.
If swap is very small, consider increasing it.
Check following kernel parameters:
nproc
nfile
maxuprc
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2005 10:43 PM
12-20-2005 10:43 PM
Re: error message about fork
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2005 01:20 AM
12-21-2005 01:20 AM
Re: error message about fork
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2005 01:28 AM
12-21-2005 01:28 AM
Re: error message about fork
Do a 'swapinfo -tam'. If you do not see a line marked "memory" in the first column, then you do not have pseudo-swap enabled. If not, change the kernel parameter 'swapmem_on' to one (1). This will cause 75% of you phyical memory to be counted for swap reservation purposes. You may find that your "can't fork (errno 12) errors vanish.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2005 01:45 AM
12-21-2005 01:45 AM
Re: error message about fork
Compare your swapinfo for disk swap to your RAM and adjust as needed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2005 03:03 AM
12-21-2005 03:03 AM
Re: error message about fork
I agree with others you need to increase your swap space
do a swapinfo -mat and see the swap & priotiy.
Rgds
HGN