Fins ara a la feina ja m’havia acostumat a veure systems loads del voltant de 30-40 o més, sense massa temps per mirar que passava i total la màquina seguia anant, a patades, però funcionant.
Avui m’he sorprès. Al intentar accedir al servidor he vist que estava caigut… bastant estrany, potser duia un parell de dies així. He aconseguit fer un ssh i això és el que n’ha sortit:
markus@myth:~$ top
top - 13:58:07 up 8 days, 1:02, 1 user, load average: 34.75, 37.21, 21.36
Tasks: 3927 total, 6 running, 3921 sleeping, 0 stopped, 0 zombie
Cpu(s): 2.8% us, 3.8% sy, 0.0% ni, 92.5% id, 0.6% wa, 0.3% hi, 0.0% si
Mem: 1034648k total, 1013128k used, 21520k free, 40324k buffers
Swap: 979956k total, 716424k used, 263532k free, 164316k cached
Impressionant! Quasi 4000 processos, la cpu tranquil·la i el system load pels núvols... Després d'un ps aux normal he tret aquest:
markus@myth:~$ ps aux | grep exim4 | wc -l
3857
Putu exim! A la bassa…
markus@myth:~$ sudo killall -9 exim4
Password:
markus@myth:~$ ps aux | grep exim4 | wc -l
1
Ara que està tranquil mirem que pot haver passat:
markus@myth:~$ less /var/log/exim4/mainlog
2007-03-25 07:36:39 1HVLPD-0005vn-9G <= <> R=1HT1rH-0006ME-0R U=Debian-exim P=local S=1527
2007-03-25 07:36:39 1HT1rH-0006ME-0R Completed
2007-03-25 07:36:39 1HVLPD-0005vn-9G ** markus@kusw3.com R=smarthost T=remote_smtp_smarthost: SMTP error from remote mail
server after MAIL FROM:<> SIZE=2588: host gmail-smtp.l.google.com [66.249.93.109]: 530 5.5.1 Authentication Required a1sm6599873ugf
2007-03-25 07:36:39 1HVLPD-0005vn-9G Frozen (delivery error message)
2007-03-25 07:37:02 1HVLPa-0005wL-5X <= markus@myth U=markus P=local S=742
2007-03-25 07:37:02 1HVLPa-0005wL-5X ** markus@kusw3.com R=smarthost T=remote_smtp_smarthost: SMTP error from remote mail
server after MAIL FROM: SIZE=1780: host gmail-smtp.l.google.com [66.249.93.109]: 530 5.5.1 Authentication Required k28
sm6593670ugd
2007-03-25 07:37:03 1HVLPa-0005wQ-Vp <= <> R=1HVLPa-0005wL-5X U=Debian-exim P=local S=1689
2007-03-25 07:37:03 1HVLPa-0005wL-5X Completed
uH?? Que fa la cosa aquesta enviat a través de google al compte markus@kusw3.com. Sembla que l’error està per aquí… Ara tot torna a la normalitat.
markus@myth:~$ top
top - 14:01:55 up 8 days, 1:06, 1 user, load average: 4.37, 29.75, 23.19
Tasks: 57 total, 2 running, 55 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.3% us, 0.0% sy, 0.0% ni, 98.7% id, 0.7% wa, 0.3% hi, 0.0% si
Mem: 1034648k total, 329540k used, 705108k free, 41272k buffers
Swap: 979956k total, 54128k used, 925828k free, 167340k cached
markus@myth:~$ top
top - 14:19:09 up 8 days, 1:23, 1 user, load average: 0.21, 1.10, 7.71
Tasks: 57 total, 2 running, 55 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0% us, 0.0% sy, 0.0% ni, 99.3% id, 0.3% wa, 0.3% hi, 0.0% si
Mem: 1034648k total, 343752k used, 690896k free, 44908k buffers
Swap: 979956k total, 54128k used, 925828k free, 178460k cached
markus@myth:~$ sudo /etc/init.d/apache2 start
Password:
* Starting apache 2.0 web server… [ ok ]
Reboot de l’apache que havia quedat KO, per això no servia les meves webs.
Ara toca mirar la configuració del exim haviam que collons està fotent… Ja ho explicaré…