🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.masscomp
1 messages
1 total messages Started by Tahsin Choudhuri Thu, 08 Jun 1989 07:55
<exiting> processes
#202
Author: Tahsin Choudhuri
Date: Thu, 08 Jun 1989 07:55
38 lines
2326 bytes
I am running a Masscomp 5400 RTU 4.0 with 8 Meg. RAM and  20 Meg swap.
I am developing an application  which uses large shared memory (500K - 800K)
and lots of forked processes (10-40). 

The applicaion runs fine with 10 forked processes and all 10 gets killed
when program is exited. Now in order run with 40 forked processes and
800K shared memory, I changed 3 parameters in my UNIX configuration file
as follows:
	procs= 75 to 100  maxproc= 25 to 60  shmmax= (600*1024) to (1000*1024)

(where for e.g. 75 to 100 means, procs WAS 75, I set it to 100)

After this change, I made a new kernel. Now, when I run version of application
which ran OK  with 10 forked processes before, it still runs OK but when
I exit, instead of getting killed, ps -ef shows all 10 processes are hanging
and listed as <exiting>. Only by rebooting I am able to get rid of them. 
The application uses "kill (pid,SIGKILL);" to kill all the processes.

Note, I didn't even re-compile my application to fire 40 processes,
only the kernel has been changed. So, the same program that works OK under
old kernel, does NOT kill processes under the new kernel with only the above
changes.

Can anybody familiar with RTU provide any explanation as to 
whats happening. Besides the above, are there other parameters
also need to be changed ? Any help would be greatly appreciated, 
tech support at Masscomp haven't been able to solve this for last 2 weeks!
Please email directly if possible, thanks.

--
Tahsin 	Choudhuri, MN10-2515  ARPA: tahsin%rd-atlas@src.honeywell.com
Honeywell Inc. ResD MN 55422  UUCP: uunet!hi-csc!rd-atlas!tahsin

The MASSCOMP USERS' SOCIETY newsgroup is comp.sys.masscomp.
Articles to: masscomp@soma.bcm.tmc.edu or uunet!soma.bcm.tmc.edu!masscomp
Administrative stuff: masscomp-request@soma.bcm.tmc.edu
Stan Barber, Moderator
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads