Hey,

I'm using spampd as a proxy for incoming SMTP connections to filter and tag spam before it gets to my exchange server. This works well, when it is working. However occasionaly it stops making the proxy connection. At least I think thats whats happening When it "hangs" I can still telnet to it and it accepts my connection but I don't get the banner from my actual SMTP server, in fact i don't get any banner at all.

The reason I'm asking here is because spampd is a perl script that uses Net::Server::PreForkSimple and I'm hoping someone will recognize this problem, or have some idea how i can at least force it to revive itself when it gets in this state.

When it begins behaving like this I see

Jan 8 18:43:50 SPAM2 spampd[19137]: WARNING!! Error in process_reques +t eval block: Child server process timed out!
in the logs. Restarting the process solves the problem and it works agian.


___________
Eric Hodges

In reply to spampd hangs occasionaly by eric256

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.