Operating System - HP-UX
1838290 Members
3553 Online
110125 Solutions
New Discussion

Limiting the number of servers inetd spawns

 
Keith Kibler
New Member

Limiting the number of servers inetd spawns

Is there a way to limit the number of servers spawned by inetd? I have a server running as nowait (looks multithreaded to the client app), but I want to limit the number that can be running at any one time to 5.

I noticed on BSD there is a max-child argument attached to the nowait (nowait/5 would mean a max of 5 servers started - the rest of the requests would queue).

Does HPUX have something like this (I am running HPUX 11.11).
2 REPLIES 2
Ivan Krastev
Honored Contributor

Re: Limiting the number of servers inetd spawns

Inetd have param "-p proc_limit" - see man inetd for details.


regards,
ivan

Keith Kibler
New Member

Re: Limiting the number of servers inetd spawns

Ivan - thanks for the reply, but man inetd(1M) on my system does not show a -p parameter. I have -c, -k -l -s, but no -p.

Keith