PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > comp.info.servers.unix > Optimal settings for a high traffic site?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.info.servers.unix Web servers for UNIX platforms.

Optimal settings for a high traffic site?

Réponse
 
LinkBack Outils de la discussion
Vieux 25/05/2005, 21h24   #1
Rob
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Optimal settings for a high traffic site?

I have a dual 2.8Ghz Zeon/1.5GB RAM running Redhat 7.2 with Apache 2.0.
I get over 500,000 page loads per day. The site is a combination of
static and cgi pages. I'm trying to get the optimal settings for
MaxClients and Servers in the http.conf. Here are my current settings:

<IfModule prefork.c>
StartServers 128
MinSpareServers 64
MaxSpareServers 128
MaxClients 300
MaxRequestsPerChild 10000
</IfModule>

<IfModule worker.c>
StartServers 5
MaxClients 256
MinSpareThreads 100
MaxSpareThreads 200
ThreadsPerChild 100
MaxRequestsPerChild 0
</IfModule>

<IfModule perchild.c>
NumServers 5
StartThreads 5
MinSpareThreads 5
MaxSpareThreads 10
MaxThreadsPerChild 20
MaxRequestsPerChild 0
</IfModule>

Any on this is greatly appreciated.

Thanks

  Réponse avec citation
Vieux 25/05/2005, 23h16   #2
David Dorward
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Optimal settings for a high traffic site?

Rob wrote:

> I have a dual 2.8Ghz Zeon


Do you mean Xeon?

> /1.5GB RAM running Redhat 7.2


Yikes! That's old and unsupported. I hope you've been tracking security
updates for all the packages you use on it.

> with Apache 2.0. I get over 500,000 page loads per day. The site is a
> combination of static and cgi pages.


You should find you get a hefty performance boost if you port your CGI
scripts to mod_perl (or whatever is appropriate for the language you write
your CGI in). That will probably bring more benefit then twiddling around
with the number of Clients and Servers Apache deals with at once.


--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 14h12.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,09938 seconds with 10 queries