LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 11-11-2006, 07:38 AM   #1
masterross
Member
 
Registered: Nov 2005
Distribution: Slack 10.2, CentOS 4.x
Posts: 83

Rep: Reputation: 17
Apache probs?


hi there,

my Server is:

CentOS 4.4x
Kernel 2.6.16.18
Dual Xeon 3.2GHz
4GB RAM

Apache v1.3.37
PHP 4.4.4
MySQL 4.1.21
eAceelerator v0.9.5

httpd.conf:

Timeout 300
KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 4
MinSpareServers 15
MaxSpareServers 20
StartServers 15
MaxClients 200
MaxRequestsPerChild 500

--------------------------------------------

the prob is that recently apache child dont exit and the apache just freeze.
i'm using vBulletin board with torrent mod.


in error_log i have these:

Code:
[Sat Nov 11 06:50:03 2006] [warn] child process 20334 still did not exit, sending a SIGTERM
[Sat Nov 11 06:50:03 2006] [warn] child process 20335 still did not exit, sending a SIGTERM
[Sat Nov 11 06:50:03 2006] [warn] child process 20336 still did not exit, sending a SIGTERM
[Sat Nov 11 06:50:03 2006] [warn] child process 20338 still did not exit, sending a SIGTERM
[Sat Nov 11 06:50:03 2006] [warn] child process 20339 still did not exit, sending a SIGTERM
[Sat Nov 11 06:50:03 2006] [warn] child process 20340 still did not exit, sending a SIGTERM
*** glibc detected *** double free or corruption (!prev): 0x080cb688 ***
*** glibc detected *** double free or corruption (!prev): 0x080cb688 ***
*** glibc detected *** double free or corruption (!prev): 0x080cb688 ***
*** glibc detected *** double free or corruption (!prev): 0x080cb688 ***
*** glibc detected *** double free or corruption (!prev): 0x080cb688 ***
*** glibc detected *** double free or corruption (!prev): 0x080cb688 ***
*** glibc detected *** double free or corruption (!prev): 0x080cb688 ***
*** glibc detected *** double free or corruption (!prev): 0x080cb688 ***
*** glibc detected *** double free or corruption (!prev): 0x080cb688 ***
*** glibc detected *** double free or corruption (!prev): 0x080cb688 ***
*** glibc detected *** double free or corruption (!prev): 0x080cb688 ***
*** glibc detected *** double free or corruption (!prev): 0x080cb688 ***
[Sat Nov 11 06:50:03 2006] [warn] child process 20341 still did not exit, sending a SIGTERM
[Sat Nov 11 06:50:04 2006] [warn] child process 20346 still did not exit, sending a SIGTERM
*** glibc detected *** double free or corruption (!prev): 0x080cb688 ***
[Sat Nov 11 06:50:04 2006] [warn] child process 20360 still did not exit, sending a SIGTERM
[Sat Nov 11 06:50:04 2006] [warn] child process 20436 still did not exit, sending a SIGTERM
[Sat Nov 11 06:50:04 2006] [warn] child process 20453 still did not exit, sending a SIGTERM
[Sat Nov 11 06:50:04 2006] [warn] child process 20488 still did not exit, sending a SIGTERM
*** glibc detected *** double free or corruption (!prev): 0x080cb688 ***
[Sat Nov 11 06:50:04 2006] [warn] child process 20787 still did not exit, sending a SIGTERM

any coments?
 
Old 11-12-2006, 06:26 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,310
Blog Entries: 54

Rep: Reputation: 2860Reputation: 2860Reputation: 2860Reputation: 2860Reputation: 2860Reputation: 2860Reputation: 2860Reputation: 2860Reputation: 2860Reputation: 2860Reputation: 2860
glibc detected *** double free or corruption
When did this start happening? Can you trace back what changed recently wrt upgrades/installations? Is there an env var called "MALLOC_CHECK_" in use on the box? Try setting it to "2" (generate error, don't kill). Do you run only stock software or custom compiled as well? In any case I'd search each apps bug tracker for similar problems. If nothing turns up you could try disabling stuff to determine where the problem lies. It could be the problem already was there but that an upgrade of say Glibc made the problems visible. Check for instance if you can run PHP with Zend Optimizer but w/o acellerator, etc, etc. I've seen at least one report pointing to it.
 
Old 11-12-2006, 10:42 AM   #3
masterross
Member
 
Registered: Nov 2005
Distribution: Slack 10.2, CentOS 4.x
Posts: 83

Original Poster
Rep: Reputation: 17
hi,

thanks for reply

i think wasnt error before update
the problem is that it was big update
here is the log:

Code:
Oct 15 04:05:50 Updated: libgcc.i386 3.4.6-3
Oct 15 04:05:50 Updated: hwdata.noarch 0.146.23.EL-1
Oct 15 04:06:14 Updated: glibc-common.i386 2.3.4-2.25
Oct 14 20:06:21 Updated: glibc.i686 2.3.4-2.25
Oct 14 20:06:23 Updated: bash.i386 3.0-19.3
Oct 14 20:06:23 Updated: libselinux.i386 1.19.1-7.2
Oct 14 20:06:23 Updated: chkconfig.i386 1.3.13.4-1
Oct 14 20:06:24 Updated: e2fsprogs.i386 1.35-12.4.EL4
Oct 14 20:06:25 Updated: openssl.i686 0.9.7a-43.14
Oct 14 20:06:25 Updated: popt.i386 1.9.1-18_nonptl
Oct 14 20:06:26 Updated: grep.i386 2.5.1-32.2
Oct 14 20:06:26 Updated: sed.i386 4.1.2-5.EL4
Oct 14 20:06:26 Updated: audit-libs.i386 1.0.14-1.EL4
Oct 14 20:06:27 Updated: libstdc++.i386 3.4.6-3
Oct 14 20:06:27 Updated: newt.i386 0.51.6-9.rhel4
Oct 14 20:06:28 Updated: rpm-libs.i386 4.3.3-18_nonptl
Oct 14 20:06:28 Updated: openldap.i386 2.2.13-6.4E
Oct 14 20:06:29 Updated: dbus.i386 0.22-12.EL.7
Oct 14 20:06:29 Updated: findutils.i386 1:4.1.20-7.el4.1
Oct 14 20:06:30 Updated: device-mapper.i386 1.02.07-4.0.RHEL4
Oct 14 20:06:31 Updated: centos-release.i386 6:4-4.2
Oct 14 20:06:32 Updated: binutils.i386 2.15.92.0.2-21
Oct 14 20:06:33 Updated: lvm2.i386 2.02.06-6.0.RHEL4
Oct 14 20:06:34 Updated: net-tools.i386 1.60-37.EL4.8
Oct 14 20:06:35 Updated: tar.i386 1.14-10.RHEL4
Oct 14 20:06:35 Updated: gzip.i386 1.3.3-16.rhel4
Oct 14 20:06:35 Updated: dbus-glib.i386 0.22-12.EL.7
Oct 14 20:06:35 Updated: bind-libs.i386 20:9.2.4-16.EL4
Oct 14 20:06:36 Updated: gpm.i386 1.20.1-71.RHEL4
Oct 14 20:06:37 Updated: sqlite.i386 3.3.3-1.2
Oct 14 20:06:38 Updated: OpenIPMI-libs.i386 1.4.14-1.4E.13
Oct 14 20:06:38 Updated: file.i386 4.10-2.EL4.4
Oct 14 20:06:38 Updated: python-sqlite.i386 1.1.7-1.2
Oct 14 20:06:41 Updated: groff.i386 1.18.1.1-3.EL4
Oct 14 20:06:41 Updated: audit.i386 1.0.14-1.EL4
Oct 14 20:06:41 Updated: cups-libs.i386 1:1.1.22-0.rc1.9.11
Oct 14 20:06:43 Updated: net-snmp-libs.i386 5.1.2-11.EL4.7
Oct 14 20:06:43 Updated: psmisc.i386 21.4-4.1
Oct 14 20:06:44 Updated: iproute.i386 2.6.9-3.EL4.3.centos4
Oct 14 20:06:46 Updated: glibc-headers.i386 2.3.4-2.25
Oct 14 20:06:48 Updated: glibc-devel.i386 2.3.4-2.25
Oct 14 20:06:48 Updated: cpio.i386 2.5-9.RHEL4
Oct 14 20:06:48 Updated: make.i386 1:3.80-6.EL4
Oct 14 20:06:49 Updated: iputils.i386 20020927-18.EL4.3
Oct 14 20:06:49 Installed: libgssapi.i386 0.8-1
Oct 14 20:06:50 Installed: nfs-utils-lib.i386 1.0.6-3
Oct 14 20:06:54 Updated: libstdc++-devel.i386 3.4.6-3
Oct 14 20:06:54 Updated: parted.i386 1.6.19-4.EL
Oct 14 20:06:55 Updated: cpp.i386 3.4.6-3
Oct 14 20:06:57 Updated: gcc.i386 3.4.6-3
Oct 14 20:06:57 Updated: lockdev.i386 1.0.1-6.2
Oct 14 20:06:57 Updated: libtool-libs.i386 1.5.6-4.EL4.1.c4.4
Oct 14 20:06:58 Updated: numactl.i386 0.6.4-1.28
Oct 14 20:06:58 Updated: libf2c.i386 3.4.6-3
Oct 14 20:06:59 Updated: wireless-tools.i386 1:28-0.pre16.3.3.EL4
Oct 14 20:07:05 Updated: valgrind.i386 1:3.1.1-1.EL4
Oct 14 20:07:10 Updated: valgrind-callgrind.i386 0.10.1-2.EL4
Oct 14 20:07:13 Updated: gcc-g77.i386 3.4.6-3
Oct 14 20:07:19 Updated: libtool.i386 1.5.6-4.EL4.1.c4.4
Oct 14 20:07:19 Updated: lockdev-devel.i386 1.0.1-6.2
Oct 14 20:07:20 Updated: gcc-c++.i386 3.4.6-3
Oct 14 20:07:22 Updated: systemtap.i386 0.5.8-1.EL4
Oct 14 20:07:23 Updated: OpenIPMI.i386 1.4.14-1.4E.13
Oct 14 20:07:23 Updated: man.i386 1.5o1-9.rhel4
Oct 14 20:07:24 Updated: rpm-build.i386 4.3.3-18_nonptl
Oct 14 20:07:24 Updated: gpm-devel.i386 1.20.1-71.RHEL4
Oct 14 20:07:24 Updated: bind-utils.i386 20:9.2.4-16.EL4
Oct 14 20:07:24 Updated: sysreport.noarch 1.3.15-6
Oct 14 20:07:24 Updated: dmraid.i386 1.0.0.rc11-3_RHEL4_U4
Oct 14 20:07:25 Updated: dbus-devel.i386 0.22-12.EL.7
Oct 14 20:07:27 Updated: openldap-devel.i386 2.2.13-6.4E
Oct 14 20:07:31 Updated: rpm-devel.i386 4.3.3-18_nonptl
Oct 14 20:07:31 Updated: newt-devel.i386 0.51.6-9.rhel4
Oct 14 20:07:31 Updated: ntsysv.i386 1.3.13.4-1
Oct 14 20:07:31 Updated: openssh-clients.i386 3.9p1-8.RHEL4.17
Oct 14 20:07:35 Updated: openssl-devel.i586 0.9.7a-43.14
Oct 14 20:07:36 Updated: e2fsprogs-devel.i386 1.35-12.4.EL4
Oct 14 20:07:36 Updated: libselinux-devel.i386 1.19.1-7.2
Oct 14 20:07:38 Updated: umb-scheme.i386 3.2-36.EL4
Oct 14 20:07:43 Updated: emacs-common.i386 21.3-19.EL.4
Oct 14 20:07:44 Updated: pciutils.i386 2.1.99.test8-3.2
Oct 14 20:07:45 Updated: gdb.i386 6.3.0.0-1.132.EL4
Oct 14 20:07:50 Updated: rpmdb-CentOS.i386 2:4.4-0.20060823
Oct 14 20:07:51 Updated: selinux-policy-targeted.noarch 1.17.30-2.140
Oct 14 20:07:51 Updated: redhat-rpm-config.noarch 8.0.32.1-4
Oct 14 20:07:51 Updated: cvs.i386 1.11.17-9.RHEL4
Oct 14 20:07:52 Updated: strace.i386 4.5.14-0.EL4.1
Oct 14 20:07:52 Updated: rsh.i386 0.17-25.4
Oct 14 20:07:53 Updated: apr.i386 0.9.4-24.5.c4.2
Oct 14 20:07:53 Updated: finger.i386 0.17-26.EL4.1
Oct 14 20:07:53 Updated: dos2unix.i386 3.1-21.2
Oct 14 20:07:53 Updated: lsof.i386 4.72-1.4
Oct 14 20:07:53 Updated: ltrace.i386 0.4-1.7.EL4
Oct 14 20:07:54 Updated: crash.i386 4.0-2.30
Oct 14 20:07:55 Updated: mailx.i386 8.1.1-36.EL4
Oct 14 20:07:55 Updated: pciutils-devel.i386 2.1.99.test8-3.2
Oct 14 20:08:01 Updated: libgcj-devel.i386 3.4.6-3
Oct 14 20:08:11 Updated: man-pages.noarch 1.67-9.EL4
Oct 14 20:08:12 Updated: emacs-leim.i386 21.3-19.EL.4
Oct 14 20:08:14 Updated: redhat-logos.noarch 1.1.26-1.centos4.4
Oct 14 20:08:16 Updated: comps.i386 2:4.4CENTOS-0.20060823
Oct 14 20:08:16 Updated: pam-devel.i386 0.77-66.17
Oct 14 20:08:18 Updated: coreutils.i386 5.2.1-31.4
Oct 14 20:08:20 Updated: pam.i386 0.77-66.17
Oct 14 20:08:25 Updated: python.i386 2.3.4-14.3
Oct 14 20:08:26 Updated: util-linux.i386 2.12a-16.EL4.20
Oct 14 20:08:27 Updated: rpm.i386 4.3.3-18_nonptl
Oct 14 20:08:27 Updated: procps.i386 3.2.3-8.4
Oct 14 20:08:28 Updated: rpm-python.i386 4.3.3-18_nonptl
Oct 14 20:08:28 Updated: rhnlib.noarch 1.8.7-4
Oct 14 20:08:28 Updated: python-urlgrabber.noarch 2.9.8-2
Oct 14 20:08:29 Updated: python-elementtree.i386 1.2.6-4.2.1
Oct 14 20:08:29 Updated: nscd.i386 2.3.4-2.25
Oct 14 20:08:30 Updated: nss_ldap.i386 226-13
Oct 14 20:08:30 Updated: autofs.i386 1:4.1.3-187
Oct 14 20:08:32 Updated: nfs-utils.i386 1.0.6-70.EL4
Oct 14 20:08:33 Updated: diskdumputils.i386 1.3.15-1
Oct 14 20:08:35 Updated: python-devel.i386 2.3.4-14.3
Oct 14 20:08:36 Updated: authconfig.i386 4.6.10-rhel4.3
Oct 14 20:08:36 Updated: at.i386 3.1.8-80_EL4
Oct 14 20:08:36 Updated: openssh-server.i386 3.9p1-8.RHEL4.17
Oct 14 20:08:38 Updated: xorg-x11-libs.i386 6.8.2-1.EL.13.37.2
Oct 14 20:08:41 Updated: gtk2.i386 2.4.13-19
Oct 14 20:08:43 Updated: libgcj.i386 3.4.6-3
Oct 14 20:08:43 Updated: xorg-x11-font-utils.i386 6.8.2-1.EL.13.37.2
Oct 14 20:08:44 Updated: hotplug.i386 3:2004_04_01-7.7
Oct 14 20:08:45 Updated: udev.i386 039-10.15.EL4
Oct 14 20:08:46 Updated: mkinitrd.i386 4.2.1.8-1
Oct 14 20:08:47 Updated: initscripts.i386 7.93.25.EL-1.centos4
Oct 14 20:08:48 Updated: openssh.i386 3.9p1-8.RHEL4.17
Oct 14 20:08:48 Updated: xorg-x11-Mesa-libGL.i386 6.8.2-1.EL.13.37.2
Oct 14 20:08:49 Updated: hal.i386 0.4.2-4.EL4
Oct 14 20:08:51 Updated: cups.i386 1:1.1.22-0.rc1.9.11
Oct 14 20:08:51 Updated: netdump.i386 0.7.16-2
Oct 14 20:08:53 Updated: emacs.i386 21.3-19.EL.4
Oct 14 20:08:53 Updated: dhclient.i386 7:3.0.1-58.EL4
Oct 14 20:08:54 Updated: oprofile.i386 0.8.1-23
Oct 14 20:08:55 Updated: xorg-x11-xfs.i386 6.8.2-1.EL.13.37.2
Oct 14 20:08:56 Updated: up2date.i386 4.4.69-25.centos4.7
Oct 14 20:08:58 Updated: gcc-java.i386 3.4.6-3
Oct 14 20:08:59 Updated: vsftpd.i386 2.0.1-5.EL4.5
Oct 14 20:08:59 Updated: yum.noarch 2.4.3-1.c4
Oct 14 20:09:56 Erased: centos-yumconf
Oct 23 18:20:44 Updated: tzdata.noarch 2006m-2.el4
i'll try to trace the prob
 
Old 11-17-2006, 07:52 AM   #4
Cyberdusk
LQ Newbie
 
Registered: Nov 2006
Posts: 1

Rep: Reputation: 0
Today I faced the same problem on my config. The specs are very similar: CentOS 4.4, recent Apache and PHP 4.4.4 + eAccelerator.

It can be fixed by adding:
export MALLOC_CHECK_=1

in the beginning of /etc/init.d/httpd . After the change restart the server.

Last edited by Cyberdusk; 01-04-2011 at 02:31 AM.
 
  


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,PHP, MYSQL - Slackware 10.2 Probs Tiepo Slackware 4 06-10-2006 08:01 PM
Shared Connection & Apache probs Goblin82 Linux - Networking 9 02-19-2005 01:31 PM
Apache + Phpbb2 + cookies probs Newbi0e Linux - Networking 0 04-06-2004 07:09 AM
Probs starting Apache 2.0... cockblocker Linux - Software 5 08-03-2003 10:19 PM
Apache probs in RedHat 8 -> 9 upgrade Jim Miller Linux - Distributions 0 07-15-2003 12:49 PM


All times are GMT -5. The time now is 07:42 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration