in reply to Re^5: apache/perl caching problem
in thread apache/perl caching problem
"...Is your script a standard CGI script?..."
Umm, as opposed to...??? Yes, I'm using CGI if that was your question. I'm sorry, I'm afraid you're a little over my head here. Everything I've learned about perl was on my own and doesn't extend much farther than coding and installing modules.
"...You might verify this by having your script log its start time, process ID, version and the full path and modification time of the file loaded. Log this every time your script handles a request..."
Is this different than the access logs? I was able to find an apache .pid file, but that simply contains the number "3067" and isn't changing.
I'm checking out CGI::Log and CGI::LogCarp. Is something like that what you were referring to? Sorry if this is a stupid question: if I modify my code to include logging and I have a problem with my code caching, how would I be able to log my old script that doesn't log but is still in the cache?
I don't know if this is helpful information, but I've been working on this site for well over a year. The problem started slowly at first. Gradually over time, this has been increasing. Now, I'm getting more of my old script versions than of the current versions. This site is the intranet and internal home page of my company of approximately 180 employees, so it gets a lot of hits throughout the day.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: apache/perl caching problem
by ig (Vicar) on May 03, 2010 at 21:12 UTC | |
by ksublondie (Friar) on May 04, 2010 at 18:37 UTC | |
by ig (Vicar) on May 04, 2010 at 21:05 UTC | |
by ksublondie (Friar) on May 04, 2010 at 23:24 UTC | |
by ig (Vicar) on May 05, 2010 at 07:54 UTC | |
|