Launching X copies of an app..?

From: Rick Beebe <richard.beebe_at_yale.edu>
Date: Wed, 14 Apr 1999 17:11:52 -0400

I have a program that gets launched by inetd (a pop server). Occasionally,
either from nefarious origins or because of over-rumbunctious clients and a
somewhat overloaded server I get an enormous build-up of these processes.
Once it starts and I get more than 600 or so the machine gets slower and
slower which just exacerbates the problem. Last time it happened there were
over 2500 of these processes and it was taking 5 minutes for each of my
interactive commands to execute. I got the machine back by killing inetd and
eventually the pop processes died off.

What I would like is a handler daemon that will monitor the pop port like
inetd does but will only allow a user-specified number of servers to start
up. Before I tackle writing this I wondered if anyone knew if such a program
already existed.

I know that I can tell inetd to limit the number of processes it will fire
up in any single minute but rate of startup isn't really the problem.

-- 
  _______________________________________________________________________
    Rick Beebe                                           (203) 785-6416
    Manager, Systems & Network Engineering          FAX: (203) 785-3978
    ITS-Med Client & Technology Services         Richard.Beebe_at_yale.edu   
    Yale University School of Medicine                                 
    P.O. Box 208078, New Haven, CT 06520-8078
  _______________________________________________________________________
Received on Wed Apr 14 1999 - 21:26:33 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:39 NZDT