Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: error message "Free to wrong pool 2227b8 not 3d5a2aa0" being returned

by jdhedden (Deacon)
on Jul 15, 2006 at 01:34 UTC ( [id://561380]=note: print w/replies, xml ) Need Help??


in reply to error message "Free to wrong pool 2227b8 not 3d5a2aa0" being returned

I was not able to reproduce your error. I tried the following code with ActivePerl 5.8.8 on WinXP SP2, and it ran without any errors or warnings:
use LWP::Simple; use Parallel::ForkManager; @links=( ["http://feeds.feedburner.com/Evolution101.xml","evo.xml"], ["http://feeds.wnyc.org/radiolab.xml","rl.xml"], ); my $pm = new Parallel::ForkManager(30); foreach my $linkarray (@links) { $pm->start and next; my ($link, $fn) = @$linkarray; if (getstore($link,$fn) != RC_OK) { warn "Cannot get $fn from $link" } $pm->finish; } $pm->wait_all_children;

Remember: There's always one more bug.
  • Comment on Re: error message "Free to wrong pool 2227b8 not 3d5a2aa0" being returned
  • Download Code

Replies are listed 'Best First'.
Re^2: error message "Free to wrong pool 2227b8 not 3d5a2aa0" being returned
by eyepopslikeamosquito (Archbishop) on Jul 15, 2006 at 03:49 UTC
      First I'll have to apologise for the code snippet because it just serve as sample. My real code was trying to do the same thing on an array of 100,000 items and such, the loop will be running for 100K+ times.

      Also, the problem is that this error pops up randomly -- sometime it happen at loop 400, 300 etc...

      Another thing is that I tried this on 3 PC and seems that 2 of them are working fine.

      This really puzzled me. And yeas, I am using the latest perl libwww as I had discovered about the HTTP::Header.pm sort bug before before submitting question here.

      I'll be trynig to run it on Linux platform to see if this problem exist. Anyway I just ran into another problem now -- cannot fork resource temporary unavailable. Man this parallel thing is really killing me. I'll try to see if I can resolve them before posting for help again ...

      Thanks for all the response !

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://561380]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-04-23 12:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found