[EMAIL PROTECTED] (Christian Jaeger) writes:

> after rebooting a vserver running sarge, tcpserver (qmail) eats 100%
> cpu. this only happens when rebooting it from inside (using reboot
> -f), not when I "vserver foo restart" manually from the host.
>
> strace shows this (looping):
> rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0
> rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0
> accept(0, 0xbffff878, [16])             = -1 EBADF (Bad file descriptor)

I guess, 'tcpserver' closes standard input (fd 0) after creating the
sockets. When fd 0 is closed at program startup, the newly created
socket will get fd 0 and be closed.

Can you try to add a

| exec </dev/null

somewhere in the vshelper or in your proxy script?




Enrico
_______________________________________________
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver

Reply via email to