On Wed, 2007-08-08 at 22:26 +0200, Dr.Ruud wrote:

> You might be able to change this to creating (and filling) the files in
> a tmp directory, and move them to the processing directory once they are
> finished. Then there is no need to have those 0-bytes flag files. A bit
> like how a maildir works.

In most systems I have worked on the /tmp directory is a different file
system.  Sometimes the time taken to move the file from one file system
to another is significant enough to cause problems on a fully loaded
system.

This solution may break on systems under excessive load.

-- 
Ken Foskey
FOSS developer


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to