talexb has asked for the wisdom of the Perl Monks concerning the following question:
I'm sporadically getting the following error when I run my web application:
I'm using Cache::SizeAwareFileCache to cache some data, and I think I'm running into some parallelization issues. I have a couple of processes running in parallel that try to cache objects with keys that may already exist. Sometimes I get the error shown above.
I'm not sure how to track this down, however, and was wondering if anyone here had any suggestions.
I'm using Log::Log4perl to do my logging .. not really sure that I want to add some logger statements inside any of the Cache modules to try and debug this.
Hmm .. maybe wrap the offending call in an eval and do a confess if a bad thing happened ..
Alex / talexb / Toronto
"Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Possible parallelization issues with Cache::SizeAwareFileCache
by talexb (Chancellor) on Oct 25, 2004 at 21:38 UTC | |
|
Re: Possible parallelization issues with Cache::SizeAwareFileCache
by fglock (Vicar) on Oct 25, 2004 at 21:25 UTC |