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

Joachim Leidinger interchange-users@icdevgroup.org
Tue Jan 14 02:59:02 2003


Ron Phipps wrote:
> I'm running IC on Redhat 7.3 all errata up to date, Perl 5.6.1, mysql,
> dual Xeon P4, 2GB ram.  The IC services is running in RPC mode, I have
> tested with both MaxServers set to 0 and no MaxServers setting within
> the RPC block in interchange.cfg.  Below are the relevant portions of my
> interchange.cfg:
> 
> Variable  TRAFFIC  rpc
> 
> ifdef TRAFFIC =~ /rpc/i
> Message RPC traffic settings.
> PreFork             Yes
> StartServers        5  
> MaxRequestsPerChild 100
> HouseKeeping        2
> PIDcheck            120
> MaxServers          0
> Endif
> 
> When the service starts ps shows:
> 
> 19452 ?        S      0:00 interchange
> 19462 ?        S      0:00 interchange
> 19464 ?        S      0:00 interchange
> 19466 ?        S      0:00 interchange
> 19468 ?        S      0:00 interchange
> 19470 ?        S      0:00 interchange
> 19472 ?        S      0:00 interchange
> 
> I then issue a restart with this command:
> 
> interchange -r -u
> 
> After the restart I see this in ps:
> 
> 19464 ?        S      0:00 interchange
> 19466 ?        S      0:00 interchange
> 19470 ?        S      0:00 interchange
> 19472 ?        S      0:00 interchange
> 19728 ?        S      0:00 interchange
> 19736 ?        S      0:00 interchange
....
> After another restart I see this in ps:
> 
> 19464 ?        S      0:00 interchange
> 19466 ?        S      0:00 interchange
> 19470 ?        S      0:00 interchange
> 19472 ?        S      0:00 interchange
> 19738 ?        S      0:00 interchange
> 19740 ?        S      0:00 interchange
> 20043 ?        S      0:00 interchange
> 20051 ?        S      0:00 interchange
> 20053 ?        S      0:00 interchange
> 20055 ?        S      0:00 interchange
> 20057 ?        S      0:00 interchange
> 20059 ?        S      0:00 interchange
> 20061 ?        S      0:00 interchange
> 
> 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


-- 
Hans-Joachim Leidinger
leidinger@bpanet.de

Black Point Arts Internet Solutions GmbH
Berner Strasse 117
60437 Frankfurt
Tel. 069-952-181-30
Fax. 069-952-181-41

Vertretungsberechtigt: Dirk Estenfeld
Handelsregister: HRB 50093 Frankfurt am Main
USt.-IdNr. de210106871

Besuchen Sie uns im Internet unter
--> http://www.bpanet.de

Wollen auch Sie Ihre Kunden schnell und unkompliziert über Neuigkeiten
informieren?
--> http://www.sendaround.de