View previous topic :: View next topic |
Author |
Message |
Sym Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Quake3/quake3_hossman.gif)
Joined: 05 Mar 2003 Posts: 114 Location: Bùsan
|
Posted: Mon Sep 15, 2003 7:21 am Post subject: Tuning di Apache |
|
|
Salve ragazzi Devo ottimizzare Apache, per ottenere delle performances dignitose su una macchine che deve soddisfare un sacco di chiamate...oltre ai vari parametri del file di configurazione, avete qualche buon configlio/guida da darmi? Grazie ![Smile :)](images/smiles/icon_smile.gif) _________________ "Dream on
Do you believe...all the things that you are seeing are true?
The Start's where the End's leading you
Do you believe...all's as twisted as one would perceive?
Seek the Answer and soon you'll believe" |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fedeliallalinea Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/161653968057192eb39329f.jpg)
Joined: 08 Mar 2003 Posts: 31484 Location: here
|
Posted: Mon Sep 15, 2003 7:26 am Post subject: Re: Tuning di Apache |
|
|
Sym wrote: | Salve ragazzi Devo ottimizzare Apache, per ottenere delle performances dignitose su una macchine che deve soddisfare un sacco di chiamate...oltre ai vari parametri del file di configurazione, avete qualche buon configlio/guida da darmi? Grazie ![Smile :)](images/smiles/icon_smile.gif) |
Che mi viene in mente e' fare anche un server proxy.... di piu' nin so. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cerri Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/7000506493e7cdb5c136c3.jpg)
Joined: 05 Mar 2003 Posts: 2957 Location: # init S
|
Posted: Mon Sep 15, 2003 7:33 am Post subject: |
|
|
Un sacco di chiamate = x.
x = ? _________________ Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Sym Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Quake3/quake3_hossman.gif)
Joined: 05 Mar 2003 Posts: 114 Location: Bùsan
|
Posted: Mon Sep 15, 2003 9:13 am Post subject: |
|
|
Non saprei di preciso cerri, però calcola che è una macchina che gestisce l'invio dei banner... _________________ "Dream on
Do you believe...all the things that you are seeing are true?
The Start's where the End's leading you
Do you believe...all's as twisted as one would perceive?
Seek the Answer and soon you'll believe" |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cerri Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/7000506493e7cdb5c136c3.jpg)
Joined: 05 Mar 2003 Posts: 2957 Location: # init S
|
Posted: Mon Sep 15, 2003 9:19 am Post subject: |
|
|
L'unico consiglio che mi sento di darti e di fare due macchine, una per i testi, e una per le immagini.
Occhio al filesystem, usa "noatime" per il fs dei files in questione.
Abbassa il log al minimo, o usa dei logger piu' performanti (ma il concetto e' che apache dovrebbe loggare il meno possibile). _________________ Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Drospy n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/1267386607437b4878ace68.jpg)
Joined: 29 Aug 2003 Posts: 42 Location: Cosenza, Italy
|
Posted: Mon Sep 15, 2003 9:44 am Post subject: |
|
|
[quote]
Salve ragazzi Devo ottimizzare Apache, per ottenere delle performances dignitose su una macchine che deve soddisfare un sacco di chiamate...oltre ai vari parametri del file di configurazione, avete qualche buon configlio/guida da darmi? Grazie
[/quote]
Ciao,
il consiglio è di non esagerare con la configurazione, cerca un buon rapporto parametri/chiamate, cioè non andare a configurare apache per poi utilizzare solo 1/4 della sua potenza, rischi di caricare la macchina e rallentare le prestazioni. Buon Lavoro. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cerri Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/7000506493e7cdb5c136c3.jpg)
Joined: 05 Mar 2003 Posts: 2957 Location: # init S
|
Posted: Mon Sep 15, 2003 9:59 am Post subject: |
|
|
Ovviamente, come ti hanno gia' giustamente detto, togli tutti i moduli che non usi... ma questo lo sapevi gia', vero?!?!?!? ![Very Happy :D](images/smiles/icon_biggrin.gif) _________________ Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Ginko Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/10943389714088c08ad7803.gif)
Joined: 01 May 2002 Posts: 371 Location: nearby my linux laptop
|
Posted: Mon Sep 15, 2003 11:48 am Post subject: |
|
|
Guardati la sezione Performance settings in /etc/apache/conf/apache.conf. In particolare
MaxKeepAliveRequests
KeepAliveTimeout
MinSpareServers
MaxSpareServers
StartServers
I valori da impostare variano veramente da sistema a sistema, i default sono accettabili per piccoli-medi server.
Saluti
--Gianluca |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Sym Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Quake3/quake3_hossman.gif)
Joined: 05 Mar 2003 Posts: 114 Location: Bùsan
|
Posted: Mon Sep 15, 2003 12:09 pm Post subject: |
|
|
Risolto ragazzi, su una macchina del genere la direttiva KeepAlive impostata su On non aveva molto senso. Ciao e grazie ![Smile :)](images/smiles/icon_smile.gif) _________________ "Dream on
Do you believe...all the things that you are seeing are true?
The Start's where the End's leading you
Do you believe...all's as twisted as one would perceive?
Seek the Answer and soon you'll believe" |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|