allora in pratica mi servirebbe una mano a configurare
apache2.conf
il problema e questo ho su un server
Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny3
ora su questo server ho 3 siti dei quali
il primo
media di 80mila pagine visitate al giorno
e un forum con invision power board
il secondo
media di 60mila pagine visitate al giorno
e un blog con wordpress
il terzo
media di 5mila pagine visitate al giorno
e un sito fatto in php e html da me
ora con queste tipo di visite giornaliere
quasi in totale 140-150 mila al giorno
ho messo nel conf questo
ora in pratica su i primi due siti molti utenti dicono cheCodice:# # Timeout: The number of seconds before receives and sends time out. # Timeout 300 # # KeepAlive: Whether or not to allow persistent connections (more than # one request per connection). Set to "Off" to deactivate. # KeepAlive Off # # MaxKeepAliveRequests: The maximum number of requests to allow # during a persistent connection. Set to 0 to allow an unlimited amount. # We recommend you leave this number high, for maximum performance. # MaxKeepAliveRequests 100 # # KeepAliveTimeout: Number of seconds to wait for the next request from the # same client on the same connection. # KeepAliveTimeout 2 ## ## Server-Pool Size Regulation (MPM specific) ## # prefork MPM # StartServers: number of server processes to start # MinSpareServers: minimum number of server processes which are kept spare # MaxSpareServers: maximum number of server processes which are kept spare # MaxClients: maximum number of server processes allowed to start # MaxRequestsPerChild: maximum number of requests a server process serves <IfModule mpm_prefork_module> ServerLimit 2048 StartServers 20 MinSpareServers 5 MaxSpareServers 20 MaxClients 2000 MaxRequestsPerChild 0 </IfModule> # worker MPM # StartServers: initial number of server processes to start # MaxClients: maximum number of simultaneous client connections # MinSpareThreads: minimum number of worker threads which are kept spare # MaxSpareThreads: maximum number of worker threads which are kept spare # ThreadsPerChild: constant number of worker threads in each server process # MaxRequestsPerChild: maximum number of requests a server process serves <IfModule mpm_worker_module> StartServers 20 MaxClients 2000 MinSpareThreads 25 MaxSpareThreads 75 ThreadsPerChild 25 MaxRequestsPerChild 0 </IfModule>
i siti sono lenti ora io ho cercato di modificare questi conf
ma non sono riuscito ad avere un mix ottimale
se c'è qualcuno che puoi risolvermi questo problema lo ringrazio anticipatamente
aspetto e spero![]()


LinkBack URL
About LinkBacks


Rispondi Citando

Segnalibri