Hi

I have one server that keeps getting the following in the kernel log

Oct 11 06:53:01 sv15 kernel: [450894.445452] php[8330]: segfault at b6f80eae ip b66e83cf sp b6eef0b8 error 4 in libgcc_s.so.1[b66e1000+c000] Oct 11 07:09:01 sv15 kernel: [452139.494415] php[9193]: segfault at b6ff1e90 ip b6ff1e90 sp b6f603ac error 4 in librt-2.7.so[b770d000+7000] Oct 11 07:50:01 sv15 kernel: [455323.406069] php[11997]: segfault at b6ffee90 ip b6ffee90 sp b6f6d3ac error 4 in librt-2.7.so[b771a000+7000] Oct 11 11:02:01 sv15 kernel: [470337.829839] php[24896]: segfault at b6ff9eae ip b67613cf sp b6f680b8 error 4 in libgcc_s.so.1[b675a000+c000] Oct 11 12:34:01 sv15 kernel: [477695.672408] php[31177]: segfault at b6fdee90 ip b6fdee90 sp b6f4d3ac error 4 in librt-2.7.so[b76fa000+7000] Oct 11 13:52:01 sv15 kernel: [483949.558536] php[4415]: segfault at b6f7aeae ip b66e33cf sp b6ee90b8 error 4 in libgcc_s.so.1[b66dc000+c000] Oct 11 14:39:02 sv15 kernel: [487669.864284] php[7372]: segfault at b6fc2e90 ip b6fc2e90 sp b6f313ac error 4 in librt-2.7.so[b76de000+7000] Oct 11 14:45:02 sv15 kernel: [488118.957581] php[7697]: segfault at b6fb7eae ip b671f3cf sp b6f260b8 error 4 in libgcc_s.so.1[b6718000+c000] Oct 11 15:20:01 sv15 kernel: [490759.203976] php[10369]: segfault at b6f99e90 ip b6f99e90 sp b6f083ac error 4 in librt-2.7.so[b76b5000+7000] Oct 11 15:44:01 sv15 kernel: [492624.408128] php[11834]: segfault at b6fa9eae ip b77fd3cf sp b6f180b8 error 4 in libgcc_s.so.1[b77f6000+c000] Oct 11 16:00:02 sv15 kernel: [493914.185689] php[13155]: segfault at b6f62e90 ip b6f62e90 sp b6ed13ac error 4 in libltdl.so.3.1.6[b710a000+6000] Oct 11 17:27:01 sv15 kernel: [500667.344447] php[18831]: segfault at b6f81e90 ip b6f81e90 sp b6ef03ac error 4 in libtasn1.so.3.0.15[b756d000+f000] Oct 11 18:54:01 sv15 kernel: [507576.984756] php[24528]: segfault at b6f36e90 ip b6f36e90 sp b6ea53ac error 4 in libpam.so.0.81.12[b711c000+a000] Oct 11 18:54:01 sv15 kernel: [507576.985543] php[24526]: segfault at b6f73e90 ip b6f73e90 sp b6ee23ac error 4 in librt-2.7.so[b768f000+7000] Oct 11 19:01:01 sv15 kernel: [508158.695534] php[24932]: segfault at b6fc0eae ip b67283cf sp b6f2f0b8 error 4 in libgcc_s.so.1[b6721000+c000] Oct 11 19:39:01 sv15 kernel: [511060.100288] php[27663]: segfault at b6f80eae ip b66e83cf sp b6eef0b8 error 4 in libgcc_s.so.1[b66e1000+c000] Oct 11 19:53:02 sv15 kernel: [512127.175729] php[28532]: segfault at b6fffeae ip b67683cf sp b6f6e0b8 error 4 in libgcc_s.so.1[b6761000+c000]

Just wondering if you are able to assist with this, it is strange as I am oly getting it on 1 server and all 3 run the same versions etc..

Operating system Debian Linux 5.0 Webmin version 1.490
Virtualmin version 3.73 Pro Theme version 7.4
Kernel and CPU Linux 2.6.26-2-686 on i686

Status: 
Active

Comments

Joe's picture
Submitted by Joe on Sun, 10/11/2009 - 06:49 Pro Licensee

I doubt there is anything we can do about this one. We don't provide the PHP, Apache, or mod_fcgid packages on Debian Lenny. They're all from Debian standard packages, so if PHP is segfaulting, it's going to be an issue fixed by the Debian folks.

I'd suggest first making sure you have the latest version of everything in the stack, with apt-get.

Thanks Joe

I appreciate your comments and understand exactly what you are saying.

Sorry to re-open, but I'm facing exactly the same problem. Here's what I did:

  • Tested with 2 different servers (meaning hardware 64 bit)
  • Tested on Debian Lenny 5, Debian Etch 4, Ubuntu 9.10, Ubuntu 8.10
  • Launched many tests (hardware level like CPU, RAM, hardrives, etc.) they all run well.
  • Tested LAMP stacks on each config with no Webmin/Virtualmin at all
  • As soon as I launch the Virtualmin installer script my kern.log is becoming crazy about sgfault error

I can't even tell you on what file/process this is happening it looks like every single process generates a segfault.

And really, once again, this only happens as soon as I launch the install script. Each I install virtualmin, my server goes down a few hours latter, completely froozen because of the amount of segfaults.

I'm aware that this may not be caused by Virtualmin or Webmin, but this is the only common stuff that fires theses errors!

Any help on this would be much appreciated!

Here is my config on Lenny:

  • CPU: Intel Corei5 4x 2.66+ GHz 8 Mo L2 - FSB 1333 MHz
  • Arch: 64 bits
  • RAM: 8 Go DDR3
  • Hardrive: Intel SSD X25-M 2x 80 Go - SATA2
  • Kernel: 2.6.31.5-grsec-xxxx-grs-ipv4-32

Many thanks, Jérémy

jchatard - this sounds like a hardware issue. Often bad RAM can cause random process failure like that. I would suggest running "dmesg" and checking for any kernel messages about memory problems ..

OK, I have to admit that this is very strange.

And everything is just fine! No segfault anymore.

So I'm guessing my segfaults error where coming from one of the packages provided by the installer script!

Hope it helps! J2rémy

You might only see issues when the system is under load. Let us now if how it goes after a couple of days...

Joe's picture
Submitted by Joe on Fri, 12/18/2009 - 13:33 Pro Licensee

Whenever I see this kind of thing, I suspect bad memory. Could also be CPU overheating, which would exhibit under load, as Jamie mentioned. It's almost certainly hardware or kernel, though, since it is happening in multiple applications.