Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Tuning di Apache
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Sym
Tux's lil' helper
Tux's lil' helper


Joined: 05 Mar 2003
Posts: 114
Location: Bùsan

PostPosted: Mon Sep 15, 2003 7:21 am    Post subject: Tuning di Apache Reply with 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 :)
_________________
"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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31484
Location: here

PostPosted: Mon Sep 15, 2003 7:26 am    Post subject: Re: Tuning di Apache Reply with quote

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 :)

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
View user's profile Send private message
cerri
Bodhisattva
Bodhisattva


Joined: 05 Mar 2003
Posts: 2957
Location: # init S

PostPosted: Mon Sep 15, 2003 7:33 am    Post subject: Reply with quote

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
View user's profile Send private message
Sym
Tux's lil' helper
Tux's lil' helper


Joined: 05 Mar 2003
Posts: 114
Location: Bùsan

PostPosted: Mon Sep 15, 2003 9:13 am    Post subject: Reply with quote

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
View user's profile Send private message
cerri
Bodhisattva
Bodhisattva


Joined: 05 Mar 2003
Posts: 2957
Location: # init S

PostPosted: Mon Sep 15, 2003 9:19 am    Post subject: Reply with quote

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
View user's profile Send private message
Drospy
n00b
n00b


Joined: 29 Aug 2003
Posts: 42
Location: Cosenza, Italy

PostPosted: Mon Sep 15, 2003 9:44 am    Post subject: Reply with quote

[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
View user's profile Send private message
cerri
Bodhisattva
Bodhisattva


Joined: 05 Mar 2003
Posts: 2957
Location: # init S

PostPosted: Mon Sep 15, 2003 9:59 am    Post subject: Reply with quote

Ovviamente, come ti hanno gia' giustamente detto, togli tutti i moduli che non usi... ma questo lo sapevi gia', vero?!?!?!? :D
_________________
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
View user's profile Send private message
Ginko
Guru
Guru


Joined: 01 May 2002
Posts: 371
Location: nearby my linux laptop

PostPosted: Mon Sep 15, 2003 11:48 am    Post subject: Reply with quote

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
View user's profile Send private message
Sym
Tux's lil' helper
Tux's lil' helper


Joined: 05 Mar 2003
Posts: 114
Location: Bùsan

PostPosted: Mon Sep 15, 2003 12:09 pm    Post subject: Reply with quote

Risolto ragazzi, su una macchina del genere la direttiva KeepAlive impostata su On non aveva molto senso. Ciao e grazie :)
_________________
"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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum