Howdy bros. I have a multi-threaded script using, Parallel::ForkManager, LWP, and DBI/DBD-MySQL, to get the html from blog posts. I have not posted the code because it's completely ordinary: load URL list, loop thru, fork inside loop, get html, connect db, stick html into db, disconnect db. I am running on windoze, activeperl 5.8.8 build 820.
I am randomly crashing wirh Free to wrong pool 225b28 not 51129d98 at c:/perl/lib/constant.pl line -1 One difference between my case and others I've found on Super Search and Google is that my error is popping-up in /per/lib/constant.pl. The others seem to say "on global descruct."
Anyway the posts I found on this say it is because the windoze implementation of perl fork kind of sucks. On the other hand most of the posts on this subject are old. I did find this one thing where a guy thinks the problem is with LWP somewhere.
So basically I am posting to check if anyone knows any more about this or of a way to debug or fix. It's a real pain in the posterior.
Thx......Steve
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.