Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: POE process getting too busy

1 view
Skip to first unread message

Tod McQuillin

unread,
Aug 15, 2012, 8:46:06 PM8/15/12
to Markus Jansen, p...@perl.org
On Wed, 15 Aug 2012, Markus Jansen wrote:

> 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.

This sounds very familiar to me.

I encountered a similar problem on solaris and was able to make it stop by
putting the following line of code at the beginning of my POE program:

BEGIN { eval "sub POE::Kernel::USE_SIGNAL_PIPE () { 0 }" }

There seems to be a problem with the signal pipe on some platforms, but I
haven't yet done more research to track down what's going wrong.
--
Tod

Markus Jansen

unread,
Aug 21, 2012, 6:09:53 AM8/21/12
to Tod McQuillin, p...@perl.org
Hi,

thanks a lot for the immediate answer, I also changed the code immediately, and started another long-term test run.
Just found the process 99% busy again - the good news is that the signal pipe does not seem to be the culprit :-).

Any other suggestions are highly welcome ...

Thanks & best regards,
Markus

Markus Jansen

unread,
Aug 26, 2012, 6:27:17 PM8/26/12
to Rocco Caputo, POE Mailing List
Hi Rocco,

thanks for your hints - would it help to start a debuggable run, e.g. with enbugger and trepan,
to find out where the problem happens?

Best regards,
Markus

-----Original Message-----
From: Rocco Caputo [mailto:rca...@pobox.com]
Sent: den 25 augusti 2012 10:37
To: POE Mailing List
Subject: Re: POE process getting too busy

Since this problem is platform-specific, the best I can manage without access to the machine is advice.

Web searches imply that Solaris may be broken, the program may have run out of file descriptors, an OS upgrade may have broken compatibility with an older build of Perl, or some other issue:

https://community.emc.com/thread/111914
http://dbaspot.com/solaris/242660-high-cpu-utilization-solaris-10-a.html
http://www.mail-archive.com/dov...@dovecot.org/msg04283.html
http://developerweb.net/viewtopic.php?id=5481
http://www.symantec.com/business/support/index?page=content&pmv=print&impressions=&viewlocale=&id=TECH163245
http://wesunsolve.net/bugid/id/6404383

--
Rocco Caputo <rca...@pobox.com>
0 new messages