Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

user cannot log on-cannot fork (5.0.6) 1

Status
Not open for further replies.

inq1

Technical User
Apr 30, 2003
45
US
I have a user (actually me) that cannot get logged in. It started yesterday and as I try at different times I get different messages. I hoped that the reboot last night would clear it up, but no.
I logged in and it takes a minute or so and the first line message is: /etc/profile[46]: cannot fork: too many processes
It hangs for awhile
the next line is: .profile[44]: cannot fork: too many processes.
It hangs for awhile
the next line is: $ I do a pwd and I am in my home directory
I type the command to log into the application thru the GUI and then I get: ksh:cannot fork: too many proccesses
after hanging for awhile, back to the dollar sign
I have to log in under another user name. So far it is just me with the problem. What can I do please?
 
You are out of processes. Check Line 44 of your .profile as that is where it is reporting it. Check scoadmin kernel manager for User setting MAXUP (maximum number of processes available to user)
 
Line 44 of my .profile is: ;;
line 46 of /etc/profile is: }

I looked in sco admin and cannot find MAXUP

also, why is this just happening to my login?
Thanks
 
To find your actual number of process (in ksh):
Code:
echo $(($(ps -u $LOGNAME | wc -l)-1))
This number have to be compared with MAXUP.
To find the total number of process (in ksh):
Code:
echo $(($(ps -e | wc -l)-1))
This number have to be compared with MAX_PROC.
To take a look at the kernel parameters:
Code:
scoadmin hardw
Tune Parameters ...
The MAXUP parameter is here:
7 User and group configuration
The MAX_PROC parameter is here:
11 Table limits

Hope This Help
PH.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top