in reply to Re: Re: Script caching?
in thread Script caching?

Even if the script is written as vanilla CGI, if it's being run on apache with mod_perl, there are a couple ways that it could be set up to optimize performance by caching CGI scripts to avoid having to reload and recompile them every time they're referenced.

By default, apache request-handling processes kill themselves after handling 50 requests, at which point their cached data is lost and the replacement process reloads everything. I suspect that the two anomalous log entries were the result of a process which had previously handled requests for your old script and didn't notice that there was a new version. By now, though, it is long dead and you shouldn't see any artifacts of the old version in the future.

Replies are listed 'Best First'.
Re: Re: Re: Re: Script caching?
by Dr. Mu (Hermit) on May 17, 2002 at 16:13 UTC
    Oh, if only this were true. Like the boogey man, this one doesn't seem to want to die and has reared its ugly head with other clients. Unfortunately, I discovered too late that I should be recording $$ (the process ID) in the log file, so I could ask my hosting service to kill it.