Re: Apache 2 on FreeBSD 5.3

From: Claus Guttesen (cguttesen_at_yahoo.dk)
Date: 02/04/05

  • Next message: Sergej Kandyla: "Re: My disk I/O testing methods for FreeBSD 5.3 ..."
    Date: Fri, 4 Feb 2005 11:32:10 +0100 (CET)
    To: Vladimir Vrzic <random@beotel.yu>, freebsd-performance@freebsd.org
    
    

    > On a FreeBSD 5.3 web server with a very high load, I
    > recently switched
    > from Apache 1.3 and PHP 4.3 to using 2.0 with the
    > prefork MPM and PHP 5.
    > I noticed a drop in perfomance. What is currently
    > the best (in terms of
    > performance) choice for Apache w/ PHP on FreeBSD?
    > Which MPM should I
    > use? Does worker MPM use KSE on FreeBSD 5 and does
    > it perform better
    > than prefork? What about perchild and threadpool? Or
    > maybe I should go
    > back to Apache 1.3? Are there any sysctl or kernel
    > tunings that I should
    > use?

    It is not recommend to use apache 2 with PHP. That's
    at least what the folks at php says. We use 1.3 and
    are satisfied with the performance.

    Have you tried to set the following in
    /usr/local/etc/apache/httpd.conf?

    KeepAlive Off
    MaxClients (size of one process) / (avail. RAM)

    regards
    Claus

    _______________________________________________
    freebsd-performance@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-performance
    To unsubscribe, send any mail to "freebsd-performance-unsubscribe@freebsd.org"


  • Next message: Sergej Kandyla: "Re: My disk I/O testing methods for FreeBSD 5.3 ..."

    Relevant Pages

    • Re: Apache 2 on FreeBSD 5.3
      ... >performance) choice for Apache w/ PHP on FreeBSD? ... Which MPM should I ... Does worker MPM use KSE on FreeBSD 5 and does it perform better ...
      (freebsd-performance)
    • Re: What FreeBSD users really want
      ... dogged by turn of the century hassle with our FreeBSD. ... Fundamental thing like system installer is still phenomenally arcane. ... PHP is by far the most popular computing language in the world. ... have a shell called PHP shell. ...
      (freebsd-questions)
    • Re: [PHP] php with threaded MPM problem ?
      ... The test was trying to load mod_php between graceful restarts, ... php extensions you are using. ... PHP itself works fine with MPM, ...
      (php.general)
    • Re: [: -le: argument expected
      ... is getting php5 to build the apache module. ... PHP anywhere. ... it is important to use the prefork MPM. ...
      (freebsd-stable)
    • Re: [: -le: argument expected
      ... is getting php5 to build the apache module. ... PHP anywhere. ... it is important to use the prefork MPM. ...
      (freebsd-stable)