Pada hari Minggu, tanggal 11/12/2005 pukul 18:34 +0000, Alvaro Lopez
Ortega menulis:
> Hi Mohammad,
> 
>  > * Put the managers into a one static table for all threads so it
>  >   will not be re-created all the time.
> 
>    The idea is to allocate FastCGI managers per thread.  In this way,
>    it is consistent (connections never change of thread) and we don't
>    need semaphores to protect the static table.

The problem is that the FastCGI server only accept one connection at a
time. If the FCGI server is connected to a cherokee thread, then when
the next new thread  try to connect to it, then the new thread will be
blocked. (However PHP supports multi connection)

That is why if you succesfully load a fcgi page then do a refresh, the
new session will be stalled because an empty manager table is re-created
for that thread, then try to connect to a connected server.

_______________________________________________
Cherokee mailing list
[email protected]
http://www.alobbs.com/cgi-bin/mailman/listinfo/cherokee

Reply via email to