I didn't post any code because i think this is a general problem: simple daemon that updates mysql db once per 10 sec using alarm signal.

That's like saying "I didn't post any code, because it's just a little CGI that does some stuff and prints HTML" ... the devil is in the details.

As a general rule: If you have a question about why some code doesn't do what you expect. Post the code (or the smallest sample program that demonstrates the problem).

In situations where your question concerns an err msg you are getting, the "general rule" becomes the golden rule: If you are getting an eror, from code you think should work, post a sample program that generates the error, and the exact text of the error, along with your question.


In reply to Re: Re: Re: malloc crash by hossman
in thread malloc crash by Nygeve

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.