LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-31-2003, 09:59 PM   #1
gabriele_101
Member
 
Registered: Oct 2001
Location: CAMBRIDGE, MA USA
Distribution: RH9 Kernel 2.4.20-18.9
Posts: 69

Rep: Reputation: 15
Angry HELP PLEASE! Apache Segmentation Fault


My apache 2.0 error log looks like this:

Code:
[Thu Jul 31 21:37:52 2003] [notice] child pid 9683 exit signal Segmentation fault (11)
[Thu Jul 31 21:37:53 2003] [notice] child pid 9684 exit signal Segmentation fault (11)
[Thu Jul 31 21:37:53 2003] [notice] child pid 9685 exit signal Segmentation fault (11)
[Thu Jul 31 21:37:55 2003] [info] server seems busy, (you may need to increase StartServers,\
or Min/Max\SpareServers), spawning 8 children, there are 4 idle, and 4 total children
[Thu Jul 31 21:42:54 2003] [notice] child pid 9686 exit signal Segmentation fault (11)
[Thu Jul 31 21:42:54 2003] [notice] child pid 9687 exit signal Segmentation fault (11)
[Thu Jul 31 21:42:54 2003] [notice] child pid 9688 exit signal Segmentation fault (11)
[Thu Jul 31 21:42:54 2003] [notice] child pid 9689 exit signal Segmentation fault (11)
[Thu Jul 31 21:42:54 2003] [notice] child pid 9690 exit signal Segmentation fault (11)
[Thu Jul 31 21:42:54 2003] [notice] child pid 9691 exit signal Segmentation fault (11)
[Thu Jul 31 21:42:54 2003] [notice] child pid 9692 exit signal Segmentation fault (11)
[Thu Jul 31 21:42:54 2003] [notice] child pid 9693 exit signal Segmentation fault (11)
[Thu Jul 31 21:42:54 2003] [notice] child pid 9694 exit signal Segmentation fault (11)
[Thu Jul 31 21:42:54 2003] [notice] child pid 9695 exit signal Segmentation fault (11)
[Thu Jul 31 21:42:54 2003] [notice] child pid 9696 exit signal Segmentation fault (11)
[Thu Jul 31 21:42:54 2003] [notice] child pid 9697 exit signal Segmentation fault (11)
[Thu Jul 31 21:42:54 2003] [notice] child pid 9716 exit signal Segmentation fault (11)
[Thu Jul 31 21:42:55 2003] [notice] child pid 9717 exit signal Segmentation fault (11)
[Thu Jul 31 21:42:55 2003] [notice] child pid 9718 exit signal Segmentation fault (11)
[Thu Jul 31 21:42:57 2003] [info] server seems busy, (you may need to increase StartServers,\
or Min/Max\SpareServers), spawning 8 children, there are 4 idle, and 4 total children
[Thu Jul 31 21:47:56 2003] [notice] child pid 9719 exit signal Segmentation fault (11)
[Thu Jul 31 21:47:56 2003] [notice] child pid 9720 exit signal Segmentation fault (11)
[Thu Jul 31 21:47:56 2003] [notice] child pid 9721 exit signal Segmentation fault (11)
...
And it goes on and on and on.

I've searched high and low and what I see people saying is that it's most likely a memory hardware problem. But I only see it in apache, it's causing performance issues, and the memory checks out OK at startup.

I really don't know if I can afford to try new memory configurations if that is the problem.

How else can I test my RAM?

I have an Abit IS7 MoBo that takes PC3200 RAM (DDR 400) but I'm using PC2700 RAM in stead (could not afford the PC3200 yet). I don't know enough to fiddle with the BIOS settings for the RAM and the docs from ABIT are absolutely useless unless you're an expert in hardware.

I've posted already to the Linux - Hardware forum, but no one answered!!!! SOMEONE HELP PLEASE!!!

Thank you.

-G

Last edited by gabriele_101; 07-31-2003 at 10:04 PM.
 
Old 07-31-2003, 10:30 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
I don't think it's faulty hardware :)

Maybe your apache doesn't match your
glibc or something like that. What distro/
version are you running, where did your
apache come from, how did you install it?
What other modules did you get for it?

Cheers,
Tink

P.S.: If you really think it's the RAM, go
to www.mondoresue.org and download mindi.iso,
burn it and boot of it ... it has memtest as one
of the tools on boot.
 
Old 08-01-2003, 12:46 AM   #3
gabriele_101
Member
 
Registered: Oct 2001
Location: CAMBRIDGE, MA USA
Distribution: RH9 Kernel 2.4.20-18.9
Posts: 69

Original Poster
Rep: Reputation: 15
Thanks for the reply. As for what versions:

Apache: Server version: Apache/2.0.40
Server built: May 20 2003 10:15:29

It's the run-of-the-mill apache installed when doing a RH 9 install.

I've updated the kernel to 2.4.20-18.9, but I have to admit I don't know how to check my glibc (or any other rpm installed libs/programs) version or anything of the sort. (man rpm is useless).

I cannot be sure if there is something in specific that is causing the error, but is seems to happen when running either perl CGI or PHP script. Server side includes and normal page feeds don't seem to cause it. I'll be taking the whole thing off-line tomorrow to verify that statement.

I will also attempt installing 2.0.47 tomorrow to see if it will remedy the problems, and since there are some severe security issues with versions prior to 2.0.47 and the bug fix list is rather long. Unfortunately the only seg-fault fix mentioned has to do with memory mapped NFS files (and I don't mount any NFS partitions on this server).

Thank you for the mindi.iso link, I may try that too if the apache update leaves me in the same place.
 
Old 08-01-2003, 12:52 AM   #4
gabriele_101
Member
 
Registered: Oct 2001
Location: CAMBRIDGE, MA USA
Distribution: RH9 Kernel 2.4.20-18.9
Posts: 69

Original Poster
Rep: Reputation: 15
Found the magic rpm command:
Code:
rpm -qa
-G
 
Old 08-01-2003, 12:56 AM   #5
gabriele_101
Member
 
Registered: Oct 2001
Location: CAMBRIDGE, MA USA
Distribution: RH9 Kernel 2.4.20-18.9
Posts: 69

Original Poster
Rep: Reputation: 15
Latest update, if that helps at all. I ran:

Code:
rpm -qa | egrep -i 'php|glib|http|perl' | sort
Code:
asp2php-0.76.2-5
asp2php-gtk-0.76.2-5
gimp-perl-1.2.3-16
glib-1.2.10-10
glib2-2.2.1-1
glib2-devel-2.2.1-1
glibc-2.3.2-27.9
glibc-common-2.3.2-27.9
glibc-debug-2.3.2-27.9
glibc-devel-2.3.2-27.9
glibc-kernheaders-2.4-8.10
glibc-profile-2.3.2-27.9
glibc-utils-2.3.2-27.9
glib-devel-1.2.10-10
groff-perl-1.18.1-20
Gtk-Perl-0.7008-31
httpd-2.0.40-21.3
httpd-devel-2.0.40-21.3
httpd-manual-2.0.40-21.3
ImageMagick-perl-5.4.7-10
libghttp-1.0.9-7
libghttp-devel-1.0.9-7
mod_perl-1.99_07-5
openssl-perl-0.9.7a-5
perl-5.8.0-88
perl-Archive-Tar-0.22-29
perl-Bit-Vector-6.1-33
perl-BSD-Resource-1.20-3
perl-CGI-2.81-88
perl-Compress-Zlib-1.16-11
perl-CPAN-1.61-88
perl-Crypt-SSLeay-0.45-7
perl-Date-Calc-5.3-3
perl-DateManip-5.40-30
perl-DBD-MySQL-2.1021-3
perl-DBD-Pg-1.21-2
perl-DB_File-1.804-88
perl-DBI-1.32-5
perl-Devel-Symdump-2.03-12
perl-Digest-HMAC-1.01-11
perl-Digest-SHA1-2.01-10
perl-File-MMagic-1.16-3
perl-Filter-1.29-3
perl-Filter-Simple-0.78-11
perl-Frontier-RPC-0.06-36
perl-HTML-Parser-3.26-17
perl-HTML-Tagset-3.03-28
perl-Inline-0.44-3
perl-libwww-perl-5.65-6
perl-libxml-enno-1.02-29
perl-libxml-perl-0.07-28
perl-Net-DNS-0.31-3
perl-NKF-1.71-10
perl-Parse-RecDescent-1.80-12
perl-Parse-Yapp-1.05-30
perl-PDL-2.3.4-4
perl-RPM2-0.48-4
perl-SGMLSpm-1.03ii-11
perl-suidperl-5.8.0-88
perl-TermReadKey-2.20-7
perl-Text-Kakasi-1.05-5
perl-TimeDate-1.1301-5
perl-Time-HiRes-1.38-3
perl-URI-1.21-7
perl-XML-Dumper-0.4-25
perl-XML-Encoding-1.01-23
perl-XML-Grove-0.46alpha-25
perl-XML-Parser-2.31-15
perl-XML-Twig-3.09-3
php-4.2.2-17.2
php-devel-4.2.2-17.2
php-imap-4.2.2-17.2
php-ldap-4.2.2-17.2
php-manual-4.2.2-17.2
php-mysql-4.2.2-17.2
php-odbc-4.2.2-17.2
php-pgsql-4.2.2-17.2
php-snmp-4.2.2-17.2
redhat-config-httpd-1.0.1-18
Not sure if that's useful

-G
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apache segmentation fault kloppster Linux - Software 6 07-19-2004 01:56 PM
Apache segmentation fault with with default index files paijm021 Linux - Software 13 04-22-2004 08:51 AM
Apache: child pid XXX exit signal Segmentation fault (11) gabriele_101 Linux - Hardware 1 07-23-2003 06:12 PM
Apache CGI Segmentation Fault Jon- Linux - Software 1 07-15-2003 09:16 AM
Apache Segmentation Fault.... morbo Linux - General 2 12-14-2001 03:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration