kernel killing processes when out of swap

Dag-Erling Smørgrav des at des.no
Tue Apr 12 09:46:53 PDT 2005


"Steven Hartland" <killing at multiplay.co.uk> writes:
> Thanks for the feedback seems very strange that sshd was the first thing the
> kernel killed off; so unless it was actually at fault ( would be very strange )
> it would have been one of the smallest not largest processes.
> The box has runs several 200M+ process and more 100M+ where
> as sshd is usually 6M.
>
> So this leads me to the questions:
> 1. Any know issues ssh which could make it eat memory?
> 2. Is there possibly a bug with the "large process detection"?

There is no "large process detection".  The first process that tries
to fault in a new page after the system runs out of swap gets killed.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-hackers mailing list