OpenVZ Forum


Home » General » Support » * SOLVED * fork problem with SUSE10 kernel
* SOLVED * fork problem with SUSE10 kernel [message #2565] Mon, 10 April 2006 09:02 Go to next message
smsprog is currently offline  smsprog
Messages: 25
Registered: April 2006
Junior Member
virt:~ # vzctl exec 101 /etc/init.d/sshd restart
Shutting down SSH daemon/etc/init.d/sshd: fork: Cannot allocate memory
/etc/init.d/sshd: fork: Cannot allocate memory

virt:~ # cat /vz/root/101/var/log/messages
...
Apr 10 12:46:39 virt1 sshd[15716]: fatal: daemon() failed: Cannot allocate memory
Apr 10 12:46:39 virt1 startproc: startproc: exit status of parent of /usr/sbin/sshd: 255
...


virt:~ # uname -a
Linux virt 2.6.16-026test007-15-smp #1 SMP Tue Apr 4 17:47:08 MSD 2006 i686 i686 i386 GNU/Linux

All other params are default.

[Updated on: Mon, 10 April 2006 09:20]

Report message to a moderator

Re: fork problem with SUSE10 kernel [message #2567 is a reply to message #2565] Mon, 10 April 2006 09:09 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Which OS template do you use for VE 101?

Have you checked /proc/user_beancounters for this VE? Probably some UBC parameters hit their limits -- if this is the case, increase them accordingly.

PS please do not use russian here as this is international support forum, so other people can read what we say and benefit from it.


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: fork problem with SUSE10 kernel [message #2571 is a reply to message #2567] Mon, 10 April 2006 09:22 Go to previous message
smsprog is currently offline  smsprog
Messages: 25
Registered: April 2006
Junior Member
You are right, the problem was in overriding the number of processes (65 is to low). Big thanx Smile.

[Updated on: Mon, 10 April 2006 09:33]

Report message to a moderator

Previous Topic: * SOLVED * Device eth0 has different MAC address than expected
Next Topic: *SOLVED* one vps on own partition
Goto Forum:
  


Current Time: Wed Oct 16 07:03:52 GMT 2024

Total time taken to generate the page: 0.04924 seconds