Apache segmentation fault

Discussion in 'Apache' started by mapcorp, Nov 9, 2009.

  1. #1
    Hi,
    my apache server is logging lots of segmentation fault errors.
    I would like to know the cause so I configured apache to core dumps but I doesn'y do it.

    I did put the line:
    CoreDumpDirectory /tmp

    increse the ulimit for cores ulimit -c unlimited
    restart the server

    my apache is 2.2.14 on linux kernel 2.6.28-16

    the apache error I'm getting is like that :

    
    [Mon Nov 09 10:45:37 2009] [notice] child pid 28381 exit signal Segmentation fault (11)
    [Mon Nov 09 10:45:59 2009] [notice] child pid 28254 exit signal Segmentation fault (11)
    
    Code (markup):
    Thanks
     
    mapcorp, Nov 9, 2009 IP
  2. jcy1978

    jcy1978 Greenhorn

    Messages:
    43
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    18
    #2
    Are you able to login to the host via SSH or do you only have FTP access to it?

    If you can login via SSH, try posting the load average on the server (just type <w> and press enter from the prompt) and give the output of "df -m" (to confirm that there's drive space free on the server), and "free -m" (to see how much free drive space is free on the server).

    Good luck!
     
    jcy1978, Nov 10, 2009 IP
  3. mapcorp

    mapcorp Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hi,
    memory and space are nor the problem.....

    
    root@www3:~# uptime
     18:04:17 up  7:27,  2 users,  load average: 0.02, 0.04, 0.00
    root@www3:~# free
                 total       used       free     shared    buffers     cached
    Mem:      11412008     365828   11046180          0      91900      99040
    -/+ buffers/cache:     174888   11237120
    Swap:      1466360          0    1466360
    root@www3:~# df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/mapper/www3-root
                           38G   30G  6.7G  82% /
    tmpfs                 5.5G     0  5.5G   0% /lib/init/rw
    varrun                5.5G   68K  5.5G   1% /var/run
    varlock               5.5G     0  5.5G   0% /var/lock
    udev                  5.5G  148K  5.5G   1% /dev
    tmpfs                 5.5G     0  5.5G   0% /dev/shm
    /dev/sda5             228M   28M  189M  13% /boot
    
    Code (markup):
     
    mapcorp, Nov 10, 2009 IP