[TYPO3-dev] Problem with Unlink lockfile

Dmitry Dulepov dmitry.dulepov at gmail.com
Mon Nov 19 07:41:06 CET 2012


Hi!

Georg Schönweger wrote:
> What are the side-effects when i switch to lockingMethod "disable"?

You risk that multiple requests try to generate the page. This may create 
corrupted output and waste server resources.

I'd try "flock" if your files are not on NFS. "simple" was made to avoid 
issues with NFS, where "flock" does not work. Another good one is 
"semaphore", which is faster than "flock" but (1) it needs a PHP extension, 
which is not always available and (2) sometimes it causes a small memory leak.

-- 
Dmitry Dulepov
TYPO3 core & security teams member

Simplicity will save the world.




More information about the TYPO3-dev mailing list