On Tue, Sep 21, 2010 at 5:48 AM, Michael Powell <[email protected]> wrote:
> Victor Sudakov wrote:
>
> [snip]
[...]
>
> The prefork mpm without threads and mod_php is a safe bet for a server that
> will not be hitting the wall, traffic volume-wise.
>

Yeah well php sucks in any case, for many reasons that are OT to this thread.

Perl / mod_perl on the other hand can work quite well with mod_worker
(threads) sharing many thing including all the non-mutable data, this
is because Perl in general is thread safe. Using mod_worker with
mod_perl can mean the difference between serving a few hundred
simultaneous request to a few thousand, on the same exact hardware.
Not all Perl modules are thread safe however, and in any case most
thread implementations in Unix, including FreeBSD, are a potentially
leaky by nature, but you can use the MaxRequestsPerChild directive
(and others) to fine-tune the growing of your processes/threads.


> -Mike
>
>
> _______________________________________________
> [email protected] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[email protected]"
>
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"

Reply via email to