[TYPO3-english] Locks? What is the concept? and why are they hurting my site?

Dmitry Dulepov dmitry.dulepov at typo3.org
Mon Dec 20 15:05:06 CET 2010


Hi!

Morten Kjems wrote:
> If it is any of those it must be: http://bugs.typo3.org/view.php?id=16749
>
> My problem is that the lockfiles don't get deleted not that Typo3 tries to
> delete non existing lockfiles.

1. Check if your host supports semaphores (see below how)
2. If yes, set locks to use semaphores.

How to test. Copy the code line below to the file with php extension to the 
server and call it in the browser:

<?php echo function_exists('sem_get') ? 'yes' : 'no' ?>

The script will say "yes" if semaphores are supported. Semaphores are more 
reliable and faster than files.

-- 
Dmitry Dulepov
TYPO3 core&security team member
Twitter: http://twitter.com/dmitryd
Read more @ http://dmitry-dulepov.com/


More information about the TYPO3-english mailing list