John wrote:
On Mon, May 21, 2007 at 09:01:36AM -0500, Craig Votava wrote:
Folks-
Has anybody come up with a solution to this problem?
According to the changelog for POE 0. this has been fixed.
I think I posted in this thread or another similar what worked for me
(recompling
On Mon, May 21, 2007 at 09:01:36AM -0500, Craig Votava wrote:
Folks-
Has anybody come up with a solution to this problem?
I think I posted in this thread or another similar what worked for me
(recompling libevent).
This may not have been it as I still have the following behavior:
- If
Are the previous comments hinting at the story?
# This is the select loop itself. We do a Bad Thing here by polling
# for socket activity, but it's necessary with ActiveState's Tk.
#
# -- We should really stop the poller when there are no handles to
# watch and resume it as needed.
Any
Craig Votava wrote:
Are the previous comments hinting at the story?
The problem occurs for me, but I am not using ActiveState. I dug around
a little in the code and could not find where the looping is occurring
(I focused on where the select statements were). I was going to try and
dig
I recompiled glibc (didn't reduce cpu usage) and then recompiled
libevent. That seems to have fixed it. I will work some more with it.
John
Folks-
Anybody have any thoughts on this? I haven't heard
a whisper yet. Do others see the same thing?
Thanks
-Craig
On Apr 27, 2007, at 11:15 AM, Craig Votava wrote:
Folks-
When I use POE and Tk together, I see the
process using up a constant 50% of my CPU,
even when there's nothing going
I see the same thing on my system, using:
POE 0.9989
Tk 804.27
Perl 5.8.8 (ActivePerl build 819)
The process is eating a whole CPU. Since I have a dual processor setup,
the script is pegged at 50% CPU utilization.
--Mark Swayne
Craig Votava wrote:
Folks-
When I use POE and Tk
POE::Loop::TkActiveState is using select with a timeout of 0. That doesn't
look right to me.
my $hits = select(
my $rout = $loop_vectors[MODE_RD],
my $wout = $loop_vectors[MODE_WR],
my $eout = $loop_vectors[MODE_EX],
0,
);
David
On 5/2/07, John R. [EMAIL
Folks-
When I use POE and Tk together, I see the
process using up a constant 50% of my CPU,
even when there's nothing going on.
Am I doing something wrong, or is there a
good explanation for this? Is there any
way to reduce this?
Attached is a small test program.
Thanks
-Craig