Multiple processes and tie'd files
- From: Tuc <tuctboh@xxxxxxxxx>
- Date: Sat, 30 Aug 2008 18:29:39 -0700 (PDT)
Hi,
I'm running into an issue when using a file I've tied, and there
are multiple long term running processes. I first ran into it with
Squid as a redirection program (Never resolved it), and now with
MimeDefang.
When I tie to a DB_File, if one of the processes or even an
external process updates the file, the persistent processes aren't
seeing the update. I have to stop them and restart them for that to
happen. Sorta defeats the whole reason for using a tie'd file, I could
just put it into a hash.
I've tried using the "sync" method on the handle for the tie,
before and after every read, still with no luck.
Short of going to mysql (Which is like trying to swat a fly with
the supercollider) is there another option?
Thanks, Tuc
.
- Prev by Date: FAQ 7.20 Why doesn't "my($foo) = <FILE>;" work right?
- Next by Date: Re: subprocesses lifecycle
- Previous by thread: FAQ 7.20 Why doesn't "my($foo) = <FILE>;" work right?
- Next by thread: Re: Multiple processes and tie'd files
- Index(es):