Re: Preventing SSH timeouts . Some clarification needed

Glynn Clements <[email protected]> Thu, 10 Jun 2010 14:03:30 +0100
Newsgroups org.kernel.vger.linux-admin
Message-ID <[email protected]>
query wrote:

> okay..Thanks for the clarification . Since the host sometimes
> continues to remain busy for around 2 hours ,

Busy to the point that ssh/sshd doesn't get *any* CPU time for 2
hours? Either you're misunderstanding something, or that's a seriously
misconfigured server.

In general, processes which need a lot of CPU cycles should have a
lower priority than those which need little. The relative "importance"
of processes doesn't matter here. A system where the key process gets
95% CPU while support processes get the other 5% is preferable to one
where the key process gets 100% CPU and support processes are
suspended for long periods.

-- 
Glynn Clements <[email protected]>