From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079040315681.tru64-unix-managers.marc@archive.invalid> From: Rick Beebe Date: Wed, 14 Apr 1999 21:11:52 +0000 To: tru64-unix-managers Subject: Launching X copies of an app..? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079040315681 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@yale.edu Yale University School of Medicine P.O. Box 208078, New Haven, CT 06520-8078 _______________________________________________________________________