Re: [Vserver] Program running amok - is this a vserver issue?

From: Martin <>
Date: Tue 12 Sep 2006 - 23:19:38 BST
Message-Id: <>

On Tue, 2006-09-12 at 15:47 +0200, Raoul Bhatia [IPAX] wrote:
> i have come uppon an issue with an tcl script using sockets to make an
> ftp connection. unfortunatly the script is bytecode so i cannot tell too
> much about the actual work the program does.
> after some time the process starts to use 100% cpu. strace reveals this
> output:
> as far as i know the program normally runs just as expected.
> is this somehow a vserver related issue?

FWIW it looks like some sort of bug in an event loop which is repeatedly
putting threads to sleep, waking them (async I/O notification perhaps),
failing to read and then having them sleep again. I guess whatever is
triggering the -EAGAIN is not being cleared properly - hence the
problem. Might identifying what the file descriptors are and working
out why they might be giving -EAGAIN help? Perhaps combined with
ethereal to monitor network traffic if they are sockets.

Beyond that I think you're going to have to give a lot more details to
get anywhere with this.


 - Martin

Vserver mailing list
Received on Tue Sep 12 23:28:12 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 12 Sep 2006 - 23:28:37 BST by hypermail 2.1.8