UsePrivilegeSeparation: "fatal: xrealloc: out of memory"
Jason R. Mastaler
jason-exp-1025829148.32b4c5 at mastaler.com
Thu Jun 27 10:32:20 EST 2002
I just upgraded to OpenSSH 3.4p1 from 2.5.2p2 to take advantage of
privilege separation. After installation, when a user tries to login
he gets dropped almost immediately. In the server's
/var/log/messages:
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)
The server is running BSD/OS 4.0, whose mmap(2) seems to indicate that
it supports anonymous (MAP_ANON) memory mapping. I've created
/var/empty and a sshd user and group.
Setting "UsePrivilegeSeparation no" in sshd_config clears up this
problem, but I'd rather not have to disable this. Any ideas?
Thanks.
--
(http://tmda.sourceforge.net/)
More information about the openssh-unix-dev
mailing list