* SUMMARY: Launching X copies of an app..?
@ 1999-04-15 13:17 Rick Beebe
0 siblings, 0 replies; only message in thread
From: Rick Beebe @ 1999-04-15 13:17 UTC (permalink / raw)
To: tru64-unix-managers
As usual the response from this list was fast and useful. Thank you.
The answers fell into two camps:
Dan Bernstein's tcpserver. It does access control and concurrency limiting
and can be found at http://www.pobox.com/~djb/ucspi-tcp.html.
This was suggested by
Christopher K Davis <ckd@ckdhr.com>
Simon Greaves <Simon.Greaves@usp.ac.fj>
"Degerness, Mandell ITSD:EX" <Mandell.Degerness@gems2.gov.bc.ca>
The somewhat embarrassing thing is that I've had the package on the machine
for quite a while--I use its tcpclient quite a bit. I'd forgotten about
tcpserver.
The other suggestion was xinetd from http://sources.isc.org/network/daemon/
which is an inetd replacement that adds, among other things, concurrency
limits.
That was suggested by
Richard Stevenson <Richard.Stevenson@vuw.ac.nz
John P Speno <speno@isc.upenn.edu>
And finally I got a very helpful pointer from Alan Davis (Davis@Tessco.Com):
> You may want to take a look at :
>
> http://www.unix.digital.com/internet/tuning.htm
>
> Alan Davis
> Tru64 Unix Consultant
There's a lot of good stuff on that page. It will take me a while to wade
through it.
I've decided to use tcpserver for now since it's already installed on the
machine. I'm a little reluctant to replace inetd because I'm only have
trouble with this one server. Thanks for all the help. My original message
follows my signature.
--
_______________________________________________________________________
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
_______________________________________________________________________
> 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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-04-15 13:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-04-15 13:17 SUMMARY: Launching X copies of an app..? Rick Beebe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox