left over shells/processes

Doug White dwhite at gumbysoft.com
Thu May 29 19:05:59 PDT 2003


On Fri, 30 May 2003, jason fiddian wrote:

>  i feel i'm missing something simple here.
> we have a freebsd 4.6 server that approx 20 users telnet into to
> access a retail application.  if a user closes their telnet session
> without logging out correctly it leaves behind the shell and any
> processes attached to it.
> how can we kill these leftover shells & processes if this occurs?

Is your app handling SIGHUP? If not, the app will stay running, as well as
its parents.

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite at gumbysoft.com          |  www.FreeBSD.org


More information about the freebsd-hackers mailing list