talexb has asked for the wisdom of the Perl Monks concerning the following question:
I'm seeing problems in Cache::Cache when I have multiple instances of a script running on a grid engine trying to cache identical objects at (more or less) the same time. The error I get is
I presume that this is the result of a race condition.Can't use an undefined value as an ARRAY reference at /usr/lib/perl5/site_perl/5.8.0/Cache/FileBackend.pm line 586
Any thoughts? I've done a Super Search on this, going back halfway through the database, and didn't turn up anything useful.
Update At about 1335EDT, requested moderation to change all titles from 'thread' to process. Don't know what I was thinking -- too soon after lunch, perhaps.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Is Cache::Cache process safe? (process was thread)
by merlyn (Sage) on May 08, 2006 at 22:57 UTC | |
|
Re: Is Cache::Cache thread safe?
by perrin (Chancellor) on May 08, 2006 at 16:49 UTC | |
by talexb (Chancellor) on May 08, 2006 at 17:01 UTC | |
by perrin (Chancellor) on May 08, 2006 at 17:15 UTC | |
by talexb (Chancellor) on May 08, 2006 at 17:23 UTC | |
|
Re: Is Cache::Cache process safe? (process was thread)
by cowboy (Friar) on May 08, 2006 at 18:35 UTC |