Hi POE experts,

I have discovered an annoying phenomenon, where after some while (days, weeks) 
a process (which is part of a multi-server POE network)
all of a sudden goes berzerk by using all resources of its CPU.
The good news is that the process itself remains fully functional, but from a 
system usage/load perspective, the situation is quite intolerable.

The problem shows up with POE 1.354 running with Perl 5.10 under Solaris 10.
Typical truss output (unless real work is done) is an endless loop of the 
following pattern (repeated once for clarity):

pollsys(0xFFBFF260, 4, 0xFFBFF3C8, 0x00000000)  = 1
time()                                          = 1345049722
read(10, 0x028BDE2B, 5)                         Err#11 EAGAIN
time()                                          = 1345049722
read(10, 0x028BDE2B, 5)                         Err#11 EAGAIN
pollsys(0xFFBFF260, 4, 0xFFBFF3C8, 0x00000000)  = 1
time()                                          = 1345049722
read(10, 0x028BDE2B, 5)                         Err#11 EAGAIN
time()                                          = 1345049722
read(10, 0x028BDE2B, 5)                         Err#11 EAGAIN

The problem does *not* occur on an earlier code version using POE 1.312, but 
showed up on POE versions earlier than 1.354.

No special POE loop is explicitly used.
The POE 1.312 version working properly does not have access to any XS POE 
modules (since compiled via PAR).

There are signs that the process malbehaviour might be triggered by another 
process with a connection not shut down properly or the like.
Killing the other process then results in the wanted behaviour again:

pollsys(0xFFBFEC70, 3, 0xFFBFEDD8, 0x00000000) (sleeping...)
<do_something>
pollsys(0xFFBFEC70, 3, 0xFFBFEDD8, 0x00000000) (sleeping...)


Any hints how to get the problem cured, or to further debug the code, are very 
appreciated.

Best regards,
        Markus



MARKUS JANSEN Dipl.-Ing.

Ericsson Deutschland GmbH
EDD/IFT/E
Ericsson Allee 1
52134, Herogenrath, Germany
Phone +49 2407 575 5157
Fax +49 2407 575 14761
Mobile +49 172 2742003
[email protected]
www.ericsson.com


http://www.ericsson.com/

Ericsson GmbH. Sitz: Düsseldorf. Registergericht: Amtsgericht Düsseldorf, HRB 
33012. Geschäftsführer: Stefan Koetz. Aufsichtsratsvorsitzender: Anders Olin

This Communication is Confidential. We only send and receive email on the basis 
of the terms set out at 
www.ericsson.com/email_disclaimer<http://www.ericsson.com/email_disclaimer>.



<<inline: Picture (Metafile) 1.jpg>>

Reply via email to