Μεγάλο load σε VPS και optimization

Harris Kosmidhs hkosmidi at softnet.tuc.gr
Sat Jun 16 13:01:33 EEST 2007


V13 wrote:
> On Tuesday 12 June 2007, Harris Kosmidhs wrote:
>> Η ερώτησή μου είναι πώς μπορώ να ελέγξω τί τρώει τόσα resources ή σε
>> ποια σημεία μπορεί να γίνει optimization.
> 
>   An prosekseis tha deis oti xrhsimopoieis 1.2GB swap kai exeis 400M free 
> memory, 260M buffers kai 890M cached. Kanontas kapoies prakseis prokyptei oti 
> exeis synoliko RSS peripoy 1.4GB, kati to opoio einai arketo. 
> 

Den 3ero akribos ti einai to RSS alla 8a to ca3o molis bro xrono.


> a) Des ta cummulative times sto top kai des an kapoio exei poly. An nai, tote 
> ta paidia aytoy (ta opoia mporei na mhn yparxoyn pleon) exoyn kanei doyleia.
> 

Px blepo ena httpd pou trexei 3 lepta. Polu mou fainetai...Alla pos
mporo na do to sugkekrimeno proccess ti request e3uphretei. Einai se
state S (sleep den einai auto?)

> b) Des to I/O soy kai prosekse gia processes se 'D' katastasi, opos h python 
> se ayto poy esteiles. Ena process poy den troei katholoy CPU alla einai 
> monima se 'D' katastasi soy anebazei to load se 1.
> 

Se D den blepo px tora tipota (me load 4).

>   To oti exeis load peripoy 4 shmainei oti 4 processes theloyn na kanoyn kati 
> alla perimenoyn to systima. Kata kanona to 'perimene' einai apo CPU h apo 
> disko.
> 

Nai to 3ero. Logiko omos den einai se ena server me 20 domain paano ?
Email, Mailing list, mysql ktl?

Harris

PS: px o hellug.gr pou e3uphretei thn LGU me pollous subscribers kai
polla mail ti load shkonei sunh8os?




More information about the Linux-greek-users mailing list