We welcome a solution when one is found! The chickens among us
would, if using Solaris, rather use the PostgreSQL-based queue storage
module instead :)
That brings a number of advantages:
- Queue processing is faster for larger queues, since unlike the
file-based storage which scans the entire queue directory tree on each
run, this one only picks up messages due for processing
- Message archival is built in.
On Sep 04, 2008, at 00:02, Jason Pollock wrote:
Jason Pollock wrote:
I have noticed the same problem. With fcntl locks, the lock isn't
associated with a file descriptor, it's associated with the file,
so if someone opens the file, checks the lock and closes the file
in the same process, the lock is released.
Since it's a required lock, perhaps Solaris mandatory locking would
be a better way to deal with the problem than a dict?
http://sunsite.uakom.sk/sunworldonline/swol-04-1998/swol-04-insidesolaris.html
Closer reading seems to indicate that that won't work either. Nuts.
_______________________________________________
Devel mailing list
Devel@mbuni.org
http://lists.mbuni.org/mailman/listinfo/devel
_______________________________________________
Devel mailing list
Devel@mbuni.org
http://lists.mbuni.org/mailman/listinfo/devel