I recently installed Apache and mod_perl 1.99 on a re-deployed W2K server and ported our search code. Everything looked great. Performance is excellent when it's working. DB connections are down, so persistence seems to work. My problem is that the server goes comatose and my error logs fill up with the same error message over and over....

Mon Mar 15 16:08:45 2004 warn (OS 121)The semaphore timeout period has expired. : winnt_accept: Asynchronous AcceptEx failed.
Mon Mar 15 16:08:45 2004 warn (OS 64)The specified network name is no longer available. : winnt_accept: Asynchronous AcceptEx failed.
Mon Mar 15 16:08:45 2004 warn (OS 64)The specified network name is no longer available. : winnt_accept: Asynchronous AcceptEx failed.
Mon Mar 15 16:08:45 2004 warn (OS 64)The specified network name is no longer available. : winnt_accept: Asynchronous AcceptEx failed.
Mon Mar 15 16:08:45 2004 warn (OS 64)The specified network name is no longer available. : winnt_accept: Asynchronous AcceptEx failed.
Mon Mar 15 16:08:45 2004 warn (OS 64)The specified network name is no longer available. : winnt_accept: Asynchronous AcceptEx failed.
Mon Mar 15 16:08:54 2004 warn (OS 64)The specified network name is no longer available. : winnt_accept: Asynchronous AcceptEx failed.
Mon Mar 15 16:08:54 2004 warn (OS 64)The specified network name is no longer available. : winnt_accept: Asynchronous AcceptEx failed.

Unfortunately, this didn't show up until we went live and put a load on the machine. Now, serving 400,000-500,000 scripts a day produces error files that are 200-500KB. Today was even worse, 2.5MB of errors. Rebooting sometimes helps for a while, but still, the server definately dies for anywhere from a few seconds to a few minutes.

So, I have two questios:

1) Has anyone gotten around the problems with mod_perl in Windows? If so, how?

2) I installed a trial version of PerlEx today which appears to work perfectly with my modified mod_perl scripts by only adding the PerlEx::DBI call. Is PerlEx ready for prime time or will have different problems with it?

Thanks, Rod


In reply to Is mod_perl for Windoze not ready for prime time? by Anonymous Monk

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.