UsePrivilegeSeparation: "fatal: xrealloc: out of memory"

Gert Doering gert at greenie.muc.de
Thu Jun 27 18:17:47 EST 2002


Hi,

On Wed, Jun 26, 2002 at 06:32:20PM -0600, Jason R. Mastaler wrote:
> Jun 26 20:15:04 sclp3 sshd[6433]: Accepted password for jason from 128.165.148.66 port 41871 ssh2
> Jun 26 20:15:12 sclp3 jason[110]: sshd[6444]: fatal: xrealloc: out of memory (new_size 5566464 bytes)

I've seen this on some old FreeBSD systems (2.2.7) when using "-2 -C".

Protocol 1 works with compression, Protocol 2 works without, but if you
use -2 -C, sshd will grow to about 25 Mbyte of memory, and then ulimit
will strike.

I'm not sure where the bug is, but something in the old system is
triggering it.

(There's another weirdness.  DSA operations on FreeBSD 2.2.x with x<7
reliably trigger a core dump crash, so no "-2" on these OSes at all).

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             gert at greenie.muc.de
fax: +49-89-35655025                        gert.doering at physik.tu-muenchen.de



More information about the openssh-unix-dev mailing list