perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mailinglisten <t.luettg...@pressestimmen.de>
Subject RE: httpd stalling.
Date Mon, 20 Sep 2004 10:10:00 GMT
On So, 2004-09-19 at 14:22, Gerald Richter wrote:

> Maybe it helps to switch to the MySQL lock meachnisem, instead of using
> semaphores, because it works a little different when aquiring locks

I made similar experiences with the semaphore locking method.
It caused two different problems for me:

* deadlocks like the ones you experienced
* if two users concurrently use the site, the results appear
  simultaneously; i.e. the one with the faster access has to wait
  till the other one has finished. This was a big problem for us.

Now, I switched to "sessions in files, use files for locking"
and the problems vanished. Cannot say what mysql locking will
do, I never used a database for session storage.

Greetings,
Torsten


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message