After I posted Perl 5.8.2 thread is much worse, I tried more, and more bugs are found.
This morning, I actually agreed with Aristotle in a private conversation that, it might be too strong for me to say .2 is worse, instead just say .2 is as problematic as .1
The impression I had earlier was that:
- detach() is now unfortunately broken
- however a possible workaround is to remove detach(). In .1, without detach, memory leaks quickly led to core dump. In .2 as the memory leak is removed, it is now safe without detach()
However today that script I posted in my previous post, core dumped twice, without detach(). Each time it survives 2 hours. As I monitoring, the memory usage increased slowly indicating a memory leak, but much tamed than before.
Now it is absolutely justified to say it is worse, as both alternatives are broken, with or without detach():
- With detach(), core dumps right the way (which was not the case in .1)
- Without detach(), survives for hours but not too long. (better than .1, but from a production system point view, surviving for 2 hours is the same as surviving for 10 seconds)
I have reported both problems to p5p, hope still can catch the code freeze for .3 (well obviously also hope there will be a fix before .3 time frame).
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.