I thought I should update this based on what we learned post-mortem, in case anyone should stumble into this problem again: Our web server setup used to be on the same machine as the rest of the system. Then it moved to another machine, and we NFS-mounted the code base (read-only). Apparently, Apache::Cache creates some kind of temp file in a default location (apparently, because I haven't found the exact documentation of this and I'm guessing), which appears to be the same directory as the code which uses Apache::Cache. If it can't create this file, it chokes. The file remained there after we changed the directory to be read-only NFS-mounted (why it wasn't deleted when the web server exited, I dunno). Even though it was read-only, Apache::Cache was happy to see it, although it (apparently; boy, I hate having to use that word so much) never tried to write to it (which would have caused a different chokeage, I guess). As it turns out, we were rethinking our decision to use the NFS mount, because it meant our webserver would be unusable if the main machine had to go down. So we undid all that and use rsync to keep the source directory updated. Once we made the directory writeable, the problem vanished.
--
Jeff Boes
Database Engineer
Nexcerpt, Inc.
vox 269.226.9550 ext 24
fax 269.349.9076
 http://www.nexcerpt.com
...Nexcerpt...Connecting People With Expertise

In reply to Re: mod_perl, Apache::Cache problem by Mur
in thread mod_perl, Apache::Cache problem by Mur

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.