Signal 11 revisited
January 19, 2009 Posted by KP
Just after I moved to a new server, I saw the familiar signal 11 messages again:
kernel: pid 89410 (httpd), uid 80: exited on signal 11
It didn’t happen frequently - only several times per day. I didn’t take it too seriously until I saw disk read error messages two days later:
kernel: ad4: FAILURE - READ_DMA status=51 error=40 LBA=60551103
kernel: g_vfs_done():ad4s1g[READ(offset=2011037696, length=131072)]error = 5
kernel: ad4: FAILURE - READ_DMA status=51 error=40 LBA=60551103
kernel: g_vfs_done():ad4s1g[READ(offset=2011103232, length=131072)]error = 5
kernel: ad4: FAILURE - READ_DMA status=51 error=40 LBA=60551103
kernel: g_vfs_done():ad4s1g[READ(offset=2011103232, length=65536)]error = 5
Now the problems are clear, I’m not as lucky as last time, hard disk has to be replaced. I lived with the bad disk for two days, I only saw it when doing a big backup, I almost wanted to live with it - so much trouble to rebuild the system as I don’t use raid.
My ISP took down the server and reinstalled the system (one hour), then I started to install bind, apache, php, mysql, postfix, pure-ftpd and restore backup (total two hours), some websites didn’t work immediately, I realized the disk errors are very serious, it made the backups incomplete. I had to put good files together from different backups.
Finally, after four hours, the system is up and running again. Guest what? I saw the freaking signal 11 error again!! OK, don’t panic, let me adjust the PHP modules first according to this guide, just download the script and put it under /usr/local/etc/php/ and run:
# ./fixphpextorder.sh extensions.ini
I’m keeping my figures crossed, please, please don’t let me see signal 11 message again.
Update: I’m still seeing this error, removed some PHP modules from extensions.ini, but can’t eliminate it. Combined another strange problem, I think there are other hardware problems with this server. I may have to move again.
Related Posts:
Filed Under: FreeBSD General