-sh: fork failed - too many processes in sco unix 5.0.5


 
Thread Tools Search this Thread
Operating Systems SCO -sh: fork failed - too many processes in sco unix 5.0.5
# 1  
Old 07-13-2010
Question -sh: fork failed - too many processes in sco unix 5.0.5

Dear experts,

I have done a re-installation of sco unix openserver 5.0.5 and managed to create users. The problem am facing is that of one user logging in more than 5 times. How can i overcome this problem. the system give the error below.
-sh: fork failed - too many processes in sco unix 5.0.5. how do i change the parameters to accept more users.

Regards,

Njoroge Joseph
# 2  
Old 07-13-2010
Do you have a backup of the previous installation?
The files /etc/conf/cf.d/stune and /etc/conf/cf.d/mtune contain changes to kernel attributes, either restore these files and re-link the kernel, or run:
scoadmin->hardware-kernel manager->Tune Parameters
then relink the kernel and re-boot.
This User Gave Thanks to jgt For This Post:
# 3  
Old 07-14-2010
Thanks JGT,

I tried to do some amendment on tunable parameters but didn't achieve. The scenerio is:-
1.) One user cannot login more than 4 times.
2.) whenever i try to print big reports the print job disappears but small print jobs prints.
3.) sometimes when trying to login system responds with systems does not close the session completely.
Which parameters am i supposed to change on tunable parameters. am running foxplus 2.1.1

regards
Njoroge Joseph
Smilie

---------- Post updated at 12:35 PM ---------- Previous update was at 09:36 AM ----------

Thanks JGT,

I tried to do some amendment on tunable parameters but didn't achieve. The scenerio is:-
1.) One user cannot login more than 4 times.
2.) whenever i try to print big reports the print job disappears but small print jobs prints.
3.) sometimes when trying to login system responds with systems does not close the session completely.
Which parameters am i supposed to change on tunable parameters. am running foxplus 2.1.1

regards
Njoroge Joseph
# 4  
Old 07-14-2010
The maximum number of files per user is a count of all the files open by a user regardless of the number of sessions.
If an application needs a 100 files, and the user signs on 4 times, then you must set the number of files per user greater than 400.
How are you printing, the error that you describe sounds like an early version of VisionFS.
There are several patches for Foxplus, have you installed them?
ftp://ftp.sco.com/pub/SLS/ app336c, and app336c.ltr
# 5  
Old 07-14-2010
JGT,

To be precise, the systems am running in this box are copies of another unix box which is running okay under user called Info. I just transfered all the systems to the new installation. Suprisingly, another user called casual prints okay. What could have caused this. Also the delay in logging in whereby it end up giving the error fork failed - too many processes

Regards,
Njoroge Joseph
# 6  
Old 07-14-2010
What hardware is this running on.
Are the mtune and stune files the same on both machines.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Making processes using fork

Can anyone help me with this? Create a parent process that gets from the command line n arguments arg1, arg2, ... , argn. The parent will create n/3 son processes, each of them will create a file with the name argi by concatenate the files argi+1 and argi+2. How can i concatenate those... (1 Reply)
Discussion started by: bunicu01
1 Replies

2. AIX

Fork Function Failed on 4GB ?

Hello, I am running Oracle Database and after a while I keep getting this message whenever I execute any command. I cannot execute any command even shutdown, whenever I execute any command , I get this message /usr/bin/ksh: 0403-031 The fork function failed. There is not enough memory... (7 Replies)
Discussion started by: filosophizer
7 Replies

3. Programming

Creating more processes with fork()

Hello people I need help How to make ONE process to create MORE (not one) processes with fork(). I tried several codes but do not work. Thanks (8 Replies)
Discussion started by: nekoj
8 Replies

4. Shell Programming and Scripting

fork processes

Hi, How to count how many processes opened by fork function in perl. Thanks (10 Replies)
Discussion started by: Anjan1
10 Replies

5. Programming

fork(), parent and child processes???

Hi friends, I have a small question regarding unix system call fork, I hope you will solve my problem. Here is the small program $ cat fork1.c #include <stdio.h> #include <unistd.h> #include <sys/types.h> int main() { int pid; int x = 0; x = x + 1; pid = fork(); if(pid < 0) {... (2 Replies)
Discussion started by: gabam
2 Replies

6. Programming

Fork thread, Assertion failed. X11.

Hi all. I wrote a program with the Motif Widget Toolkit. It has a button and a scrollbar. When the user hits the button the callback creates a new fork() thread. The new thread sleeps for a while and then changes the position of the scrollbar. It does this in an endless loop. I need the... (2 Replies)
Discussion started by: mghis
2 Replies

7. Shell Programming and Scripting

fork() and child processes

Hello, How many child processes are actually created when running this code ? #include <signal.h> #include <stdio.h> int main () { int i ; setpgrp () ; for (i = 0; i < 10; i++) { if (fork () == 0) { if ( i & 1 ) setpgrp () ; printf ("Child id: %2d, group: %2d\n",... (1 Reply)
Discussion started by: green_dot
1 Replies

8. Programming

fork() and child processes

Hello, How many child processes are actually created when running this code ? #include <signal.h> #include <stdio.h> int main () { int i ; setpgrp () ; for (i = 0; i < 10; i++) { if (fork () == 0) { if ( i & 1 ) setpgrp () ; printf ("Child id: %2d, group: %2d\n", getpid(),... (0 Replies)
Discussion started by: green_dot
0 Replies

9. UNIX for Dummies Questions & Answers

Cannot fork , too many process - SCO Unix 5.05

I need a help... I have a HP Netserver LH 6000 U with Hardware Raid . Sco 5.0.5 installed with Oracle database. Total number of users, normally logged in are around 60 nos. The system is very slow ( takes 6 hours for processing one Lakh bills) during the Billing process. Also it is... (1 Reply)
Discussion started by: saleeshpl
1 Replies

10. Shell Programming and Scripting

Endless loop - Fork function failed?

I need a quick script that will serve as a sort of "real time monitor" for watching some log files. I am using Bourne shell in HP-UX 10.20. I have basically created a script that never ends, unless of course I manually terminate it. Here's the script (it's called qhistory): clear echo "REAL... (3 Replies)
Discussion started by: cdunavent
3 Replies
Login or Register to Ask a Question