The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Excessive apache segmentation fault

Discussion in 'EasyApache' started by webmentors, Feb 26, 2008.

  1. webmentors

    webmentors Member

    Joined:
    Dec 7, 2004
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    I've been noticing that in the error_log file (/etc/httpd/logs/error_log) Apache crashes every 2 or 3 minutes similar with the following error messages.

    [Tue Feb 26 13:19:35 2008] [notice] child pid 26473 exit signal Segmentation fault (11)
    [Tue Feb 26 13:19:35 2008] [notice] child pid 28385 exit signal Segmentation fault (11)
    [Tue Feb 26 13:19:36 2008] [notice] child pid 26633 exit signal Segmentation fault (11)
    [Tue Feb 26 13:19:36 2008] [notice] child pid 28373 exit signal Segmentation fault (11)
    [Tue Feb 26 13:19:36 2008] [notice] child pid 28383 exit signal Segmentation fault (11)

    I suspect the problem to be related to PHP but I do not know how to track which PHP script or function is causing this.

    i have upgraded to the latest PHP (4.4.8) and Apache (1.3.41) in the 4.x and 1.3.x series but to no avail. Any suggestions are appreciated.

    FYI, here is the configuration

    OS RedHat ES 3
    Apache 1.3.41 built with Easyapache 3
    PHP v 4.48 compiled as a DSO
    MySQL 4.0.23
    Zend Optimiser disabled (by commenting it out in /usr/local/Zend/php.ini

    This is the compiled in module for PHP

    [PHP Modules]
    bcmath, calendar, ctype, curl, ftp, gd, imap, mysql, overload, pcre
    posix, session, sockets, standard, tokenizer, xml, zlib


    Compiled-in modules:
    http_core.c
    mod_env.c
    mod_log_config.c
    mod_mime.c
    mod_negotiation.c
    mod_status.c
    mod_info.c
    mod_include.c
    mod_autoindex.c
    mod_dir.c
    mod_cgi.c
    mod_asis.c
    mod_imap.c
    mod_actions.c
    mod_userdir.c
    mod_alias.c
    mod_rewrite.c
    mod_access.c
    mod_auth.c
    mod_proxy.c
    mod_expires.c
    mod_headers.c
    mod_so.c
    mod_setenvif.c
    mod_ssl.c
    mod_frontpage.c
    suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec


    Compile settings for apache

    Server version: Apache/1.3.41 (Unix)
    Server built: Feb 26 2008 04:28:19
    Cpanel::Easy::Apache v3.2.0 rev3920
    Server's Module Magic Number: 19990320:18
    Server compiled with....
    -D EAPI
    -D HAVE_MMAP
    -D HAVE_SHMGET
    -D USE_SHMGET_SCOREBOARD
    -D USE_MMAP_FILES
    -D HAVE_FCNTL_SERIALIZED_ACCEPT
    -D HAVE_SYSVSEM_SERIALIZED_ACCEPT
    -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
    -D DYNAMIC_MODULE_LIMIT=64
    -D HARD_SERVER_LIMIT=256
    -D HTTPD_ROOT="/usr/local/apache"
    -D SUEXEC_BIN="/usr/local/apache/bin/suexec"
    -D DEFAULT_PIDLOG="logs/httpd.pid"
    -D DEFAULT_SCOREBOARD="logs/httpd.scoreboard"
    -D DEFAULT_LOCKFILE="logs/httpd.lock"
    -D DEFAULT_ERRORLOG="logs/error_log"
    -D TYPES_CONFIG_FILE="conf/mime.types"
    -D SERVER_CONFIG_FILE="conf/httpd.conf"
    -D ACCESS_CONFIG_FILE="conf/access.conf"
    -D RESOURCE_CONFIG_FILE="conf/srm.conf"

    result of ulimit -a
    core file size (blocks, -c) 0
    data seg size (kbytes, -d) unlimited
    file size (blocks, -f) unlimited
    max locked memory (kbytes, -l) 4
    max memory size (kbytes, -m) unlimited
    open files (-n) 1024
    pipe size (512 bytes, -p) 8
    stack size (kbytes, -s) 10240
    cpu time (seconds, -t) unlimited
    max user processes (-u) 7168
    virtual memory (kbytes, -v) unlimited
     
  2. propho

    propho Registered

    Joined:
    Mar 31, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    You check your memory usage? any php caching modules installed? Running out of memory can cause this as well as php cachers.

    VERY OLD THREAD DOH!
     
Loading...

Share This Page