-- devnull@xxxxxxxxxxxxxx <devnull@xxxxxxxxxxxxxx> |
--- Begin Message ---
- To: users@xxxxxxxxxxxxxxxx
- Subject: Re: [users@httpd] high load average on Apache 1.3 hosting 8000 conc. users forum
- From: Jean Bonnot <hbofbxft@xxxxxxxxxxxxx>
- Date: Mon, 30 Jan 2006 10:48:21 +0100
- Delivered-to: devnull@xxxxxxxxxxxxxx
- Delivered-to: mailing list users@xxxxxxxxxxxxxxxx
- In-reply-to: <1138576073.9069.91.camel@xxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact users-help@xxxxxxxxxxxxxxxx; run by ezmlm
- References: <1138574356.9069.86.camel@xxxxxxxxxxxxxxxxxxxxx> <e498c1660601291454x3ec8fc8bg92b7c5e03bee6be9@xxxxxxxxxxxxxx> <1138576073.9069.91.camel@xxxxxxxxxxxxxxxxxxxxx>
- Reply-to: users@xxxxxxxxxxxxxxxx
- User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; fr-FR; rv:1.7.12) Gecko/20050915
devnull@xxxxxxxxxxxxxx a écrit :Usually, any php-forum has an option to make it storing generated pages as html-static. In that case, pages are regenerated only when a user make something new in it. This act nearly as a cache. In that case, your webserver will serves only "static pages" : your php, wich is I think a module dynamycally linked in your apache, will made is job only when he has to do it: not regenerating the same page again and again. Try to make a ration on how much time php regenerate the same page (how much people are seeing it) and how much times the page is changed (someone reply in a forum) ?Mainly VBulletin is a php script. I don't serve much static html files. How can php be tuned to optimize its performance?(The ration might be worst on the thread list indexes).After that, you should enable a mod expire on your graphic content and/or html pages or delegatethis part on another server.Try to see if you can enable mod_deflate and or mod_gzip but serving only pre-gzipped files: Iremember this was an option but I didn't see it for a long time.Usually, when looking for an enhanced way to serve static content, you should take a look at http://www.lighttpd.net/ or http://www.acme.com/software/thttpd/ or boa or even zeus.. With apache, you can achieve nearly these enhanced performances server when playing with kqueue, poll/epoll, threaded based server. The worst multiplexing model being select-prefork one. I have nothing against apache and I respect it's developper's great work but it's too general toserve high loads web servers.Continuing to descend low in the system, you should look more carefully at your tcp-stacks buffers but it's depend on your system. But if you don't know what's this, forget this asap. ;-)JB. --------------------------------------------------------------------- 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
--- End Message ---
--------------------------------------------------------------------- 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