Re: Apache 2.2.8 hangs on Solaris 9: Deadlock?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Krist van Besien wrote:
On Tue, Apr 15, 2008 at 1:42 PM, Laurent Blume <laurent@xxxxxxxxxx> wrote:

 I'll look for how to change the mutexes I can change. Any other hint
 will be welcome.
You could indeed use:
AcceptMutex pthread

However, your problem might be PHP. Running PHP in a multithreaded
apache is not recommended. The reason is that PHP is "glue", that uses
a lot of other libraries on your system. It is hard to verify that all
the libraries used by PHP are thread safe.

One option to seriously consider is keeping the worker MPM you desire, but
to configure PHP through fastcgi (e.g. you could try out the new
mod_proxy_fcgi, or use an appropriate module).

This allows your fcgi php processes to be happily single-thread-forked,
leaving them outside of the server's process space, and still enjoy worker
mpm for your non-generated content.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux