texerasmo
19-04-2006, 10:19
12:02:22 up 16:18, 2 users, load average: 2.89, 4.16, 4.55
56 processes: 53 sleeping, 3 running, 0 zombie, 0 stopped
CPU states: cpu user nice system irq softirq iowait idle
total 24.6% 0.0% 0.8% 0.0% 6.2% 0.0% 68.3%
cpu00 48.8% 0.0% 1.6% 0.0% 0.0% 0.0% 49.6%
cpu01 0.0% 0.0% 0.0% 0.0% 24.8% 0.0% 75.2%
cpu02 49.6% 0.0% 1.8% 0.0% 0.0% 0.0% 48.6%
cpu03 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 100.0%
Mem: 2061424k av, 578440k used, 1482984k free, 0k shrd, 141720k buff
202260k active, 215288k inactive
Swap: 2618512k av, 0k used, 2618512k free 185600k cached
Ho la macchina in questo stato questi valori mi preccupano un po
load average: 2.89, 4.16, 4.55.
Sulla macchina gira solamente un database è è lui che mi manda in affanno la cpu
25255 postgres 25 0 6332 6332 4204 R 16.2 0.3 0:05 3 postmaster
25264 postgres 25 0 6316 6316 4204 R 15.9 0.3 0:03 2 postmaster
25262 postgres 25 0 6316 6316 4204 R 14.9 0.3 0:03 2 postmaster
25259 postgres 25 0 6324 6324 4204 R 13.9 0.3 0:05 0 postmaster
25257 postgres 25 0 6312 6312 4204 R 12.0 0.3 0:04 2 postmaster
25265 postgres 23 0 5384 5384 4204 R 5.2 0.2 0:01 1 postmaster
25267 postgres 23 0 6284 6284 4172 R 2.5 0.3 0:00 3 postmaster
25269 postgres 23 0 6280 6280 4172 R 2.4 0.3 0:00 0 postmaster
25270 postgres 23 0 6284 6284 4172 R 2.3 0.3 0:00 3 postmaster
oltre ad un intervento hardware come potrei ottimizzare la macchina? o meglio il db? potrebbero essere delle query molto pesanti?
Con una indicizzazione potrei migliorare la situazione?
Grazie
56 processes: 53 sleeping, 3 running, 0 zombie, 0 stopped
CPU states: cpu user nice system irq softirq iowait idle
total 24.6% 0.0% 0.8% 0.0% 6.2% 0.0% 68.3%
cpu00 48.8% 0.0% 1.6% 0.0% 0.0% 0.0% 49.6%
cpu01 0.0% 0.0% 0.0% 0.0% 24.8% 0.0% 75.2%
cpu02 49.6% 0.0% 1.8% 0.0% 0.0% 0.0% 48.6%
cpu03 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 100.0%
Mem: 2061424k av, 578440k used, 1482984k free, 0k shrd, 141720k buff
202260k active, 215288k inactive
Swap: 2618512k av, 0k used, 2618512k free 185600k cached
Ho la macchina in questo stato questi valori mi preccupano un po
load average: 2.89, 4.16, 4.55.
Sulla macchina gira solamente un database è è lui che mi manda in affanno la cpu
25255 postgres 25 0 6332 6332 4204 R 16.2 0.3 0:05 3 postmaster
25264 postgres 25 0 6316 6316 4204 R 15.9 0.3 0:03 2 postmaster
25262 postgres 25 0 6316 6316 4204 R 14.9 0.3 0:03 2 postmaster
25259 postgres 25 0 6324 6324 4204 R 13.9 0.3 0:05 0 postmaster
25257 postgres 25 0 6312 6312 4204 R 12.0 0.3 0:04 2 postmaster
25265 postgres 23 0 5384 5384 4204 R 5.2 0.2 0:01 1 postmaster
25267 postgres 23 0 6284 6284 4172 R 2.5 0.3 0:00 3 postmaster
25269 postgres 23 0 6280 6280 4172 R 2.4 0.3 0:00 0 postmaster
25270 postgres 23 0 6284 6284 4172 R 2.3 0.3 0:00 3 postmaster
oltre ad un intervento hardware come potrei ottimizzare la macchina? o meglio il db? potrebbero essere delle query molto pesanti?
Con una indicizzazione potrei migliorare la situazione?
Grazie