> I have built an HTTP server sort of.
<snip>
> At the moment when I have 2 sustained sessions active everything freezes.
> Well, the kernel still runs fine, all my delays work, but, no tcp
> data gets
> through to the clients. I really can't figure out why this is. The
> sustained sessions flush properly i think.
The first place I would look is in your sockets. Specifically, it is
absolutely vital to remember at all times that non-blocking sockets need
VERY special attention. If you're using a Socketfactory, only use the
published API to pass data. print(), read(), <>, and any other IO besides
sysread() and syswrite() is a nono... because only sysread/syswrite are
non-buffered. The others use buffers that perl (and thus POE) can't be
aware of in a non-blocking situation.
*IF* you are doing any of these things, then it's VERY likely this is your
problem.
Otherwise, good luck w/ your bug hunt!
L8r,
Rob