[ic] On restart of IC in rpc mode, 2 IC processes are not stopped

John Beima interchange-users@icdevgroup.org
Tue Jan 14 03:35:01 2003


> > 
> > If you count the number of processes it increases by two each time.
> > This continues in this fashion unless I do a killall and then restart
> > IC.  You can probably figure out on a development server that IC would
> > be restarted a lot and this leaves a lot of processes which are not
> > doing anything.
> > 
> > Any ideas?
> ...
> 
> I can confirm this behavior with IC 4.8.6, FreeBSD and Perl 5.8! But I 
> can't increase the number of the processes with several restarting of 
> the IC server.
> 
> Joachim


Actually the cause of this one is a rather interesting one. We have tracked down
the beginnings of it, but have been too busy to do anymore.

What is happening is when a request comes in, Interchange wakes up 2 process not
1 and hands the request to both. The first serve completes it and exits the
second one chokes.

Then the regular house cleaning kills it. However since when you do a shutdown
the house cleaning doesn't seem to be run process are left alive.

They are not dead. In most cases if you issue a kill -48 the process shuts
itself down cleanly...

This only seems to happen in RPC mode. With one or more CPUs. It is very easy to
recreate...

We started working on it in late November and early December, but then things
went nuts... We will be looking into it more in February...


John Beima
support@affordable-web-pages.com