Results 1 to 4 of 4

Thread: cPanel results in Segmentation faults

  1. #1
    Registered User
    Join Date
    May 2010
    Posts
    2

    Default cPanel results in Segmentation faults

    All of the sudden every script in /scripts results in a Segmentation fault.
    Even upgrading or a force upgrade is not possible due the segmentation faults.
    yum update results in: memory alloc (71900 bytes) returned NULL.
    And running perl commands also results in segmentation faults.

    How can I solve this?
    My cPanel version: 11.25.0-CURRENT_45139

  2. #2
    cPanel Staff cPanelJared's Avatar
    Join Date
    Feb 2010
    Location
    Houston, TX
    Posts
    1,462
    cPanel/WHM Access Level

    Root Administrator

    Default Wide variety of possible causes

    Segmentation faults can be caused by any number of things, and it sounds like this is affecting most operations on the server. The first thing to do is to check dmesg:

    Code:
    # dmesg
    In the output, look specifically for any memory- or hardware-related error or failure messages. Next, check to see if the system has any free RAM:

    Code:
    # free -m
    I would recommend that you submit a ticket so that we can look at the server directly. There really is a large number of things that can be wrong, and it is difficult to even speculate without logging into the server.
    For hands-on assistance, please reference our new support information page: Where should I go for support?
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists(Alt) - Documentation - Find cPanel hosting


    -- Jared Ryan, Technical Analyst, cPanel Technical Support

  3. #3
    cPanel Staff cPanelJamyn's Avatar
    Join Date
    Jan 2009
    Posts
    104

    Default

    Quote Originally Posted by Spike1506 View Post
    All of the sudden <snip> yum update results in: memory alloc (71900 bytes) returned NULL.<snip>
    This is likely an insufficient memory issue; I presume you're running on a VM (with associated dynamic memory allocation) so these issues can happen more often in those environments. If it exists, what does 'cat /proc/user_beancounters' return?

  4. #4
    Registered User
    Join Date
    May 2010
    Posts
    2

    Default

    Quote Originally Posted by cPanelJared View Post
    Segmentation faults can be caused by any number of things, and it sounds like this is affecting most operations on the server. The first thing to do is to check dmesg:

    Code:
    # dmesg
    In the output, look specifically for any memory- or hardware-related error or failure messages. Next, check to see if the system has any free RAM:

    Code:
    # free -m
    I would recommend that you submit a ticket so that we can look at the server directly. There really is a large number of things that can be wrong, and it is difficult to even speculate without logging into the server.
    dmesg does not show any hardware related issues to me.
    Only messages like: perl[19803]: segfault at 00007fffcb462ff0 rip 00002aeedfee2be4 rsp 00007fffcb462ff0 error 6
    setupvirtfs[19942]: segfault at 00007fffa2331ff8 rip 00002b5208d514c0 rsp 00007fffa2332008 error 6
    fixperl[20228]: segfault at 00007fff6834cff0 rip 00002b964303585a rsp 00007fff6834cfa0 error 6

    free -m results in:
    total used free shared buffers cached
    Mem: 1024 818 205 0 15 137
    -/+ buffers/cache: 664 359
    Swap: 2047 172 1875

    So the amount of memory is not a problem either.
    If I have to support a ticket what is the best place to do so?

    Quote Originally Posted by cpaneljamyn View Post
    This is likely an insufficient memory issue; I presume you're running on a VM (with associated dynamic memory allocation) so these issues can happen more often in those environments. If it exists, what does 'cat /proc/user_beancounters' return?
    That results in a "No such file or directory" error.

Similar Threads

  1. FreeBSD page faults from cpanel..
    By beddo in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 06-04-2009, 05:16 PM
  2. Cpanel wont start: Segmentation fault /usr/local/cpanel/etc/init/startcpsrvd
    By BianchiDude in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 04-25-2008, 01:46 PM
  3. Segmentation Faults in cpsrvd-ssl
    By Bdzzld in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 08-15-2006, 09:00 AM
  4. General Protection and Segmentation Faults in PHP
    By Bdzzld in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 02-17-2006, 04:11 AM
  5. Apache Segmentation Faults
    By kris1351 in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 11-27-2005, 05:17 PM

Tags for this Thread