Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 11 of 11
  1. #1
    Member
    Join Date
    Oct 2003
    Posts
    130

    Default MemoryError on x86_64

    Since upgrade to WHM 11.8 we got the following error :

    Upgrade to latest version or Update server software

    Waiting for yum to finish....Traceback (most recent call last):
    File "/usr/bin/yum", line 28, in ?
    import yummain
    File "/usr/share/yum-cli/yummain.py", line 26, in ?
    import cli
    File "/usr/share/yum-cli/cli.py", line 25, in ?
    from optparse import OptionParser
    File "/usr/lib64/python2.4/optparse.py", line 1004, in ?
    class OptionGroup (OptionContainer):
    MemoryError

    Strange.
    It's a DualCore Opteron (2x2220) server with 2 GB RAM.
    OS: CentOS5 x86_64
    cPanel: 11.8.0-RELEASE_16295

    /scripts/upcp --force isn't able to fix that problem.
    /scripts/checkperlmodules looks alright
    Tested 97, 97 ok, 0 failed.

    Update system software

    Tree::MultiNode is up to date (1.0.10).
    Could not eval '
    package ExtUtils::MakeMaker::_version;
    no strict;
    BEGIN { eval {
    require version;
    "version"->import;
    } }

    local $VERSION;
    $VERSION=undef; do {
    use version;our $VERSION = qv('0.0.11');
    }; $VERSION
    ' in /usr/lib/perl5/site_perl/5.8.8/Unix/PID.pm: Undefined subroutine &version::qv called at /usr/lib/perl5/site_perl/5.8.8/x86_64-linux/version.pm line 31, line 5.
    Could not eval '
    package ExtUtils::MakeMaker::_version;
    no strict;
    BEGIN { eval {
    require version;
    "version"->import;
    } }

    local $VERSION;
    $VERSION=undef; do {
    use version;our $VERSION = qv('0.0.11');
    }; $VERSION
    ' in /usr/lib/perl5/site_perl/5.8.8/Unix/PID.pm: Undefined subroutine &version::qv called at /usr/lib/perl5/site_perl/5.8.8/x86_64-linux/version.pm line 31, line 5.
    Could not eval '
    package ExtUtils::MakeMaker::_version;
    no strict;
    BEGIN { eval {
    require version;
    "version"->import;
    } }

    local $VERSION;
    $VERSION=undef; do {
    use version;our $VERSION = qv('0.0.11');
    }; $VERSION
    ' in /usr/lib/perl5/site_perl/5.8.8/Unix/PID.pm: Undefined subroutine &version::qv called at /usr/lib/perl5/site_perl/5.8.8/x86_64-linux/version.pm line 31, line 5.
    Running install for module 'Unix::PID'
    Running make for D/DM/DMUEY/Unix-PID-v0.0.11.tar.gz

    CPAN: checksum security checks disabled because Digest::SHA not installed.
    Please consider installing the Digest::SHA module.

    Unix-PID-v0.0.11/
    Unix-PID-v0.0.11/Changes
    Unix-PID-v0.0.11/Makefile.PL
    Unix-PID-v0.0.11/MANIFEST
    Unix-PID-v0.0.11/META.yml
    Unix-PID-v0.0.11/PID.pm
    Unix-PID-v0.0.11/README
    Unix-PID-v0.0.11/t/
    Unix-PID-v0.0.11/t/1.t
    Out of memory!
    Callback called exit.
    END failed--call queue aborted at /scripts/realperlinstaller line 144.


    Digest::SHA is properly installed. So just an out of memory error.
    Never seen before. What could be the problem.

  2. #2
    Member
    Join Date
    Nov 2006
    Posts
    101

    Default

    I've got the exact same problem...

    =================
    Intel Core 2 Duo E6700 (2.66 GHz)
    1GB RAM

    Server Load 0.17
    Memory Used 52.9 %
    Swap Used 2.00 %
    ==================

    ^^^ --- Averages 99.9% of the time.

  3. #3
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,768
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Your best option is to open a support ticket at http://cpanel.net/support/

  4. #4
    cPanel Partner NOC cPanel Partner NOC Badge jackal's Avatar
    Join Date
    Feb 2002
    Posts
    708

    Default

    Did anyone find a solution to this?

  5. #5
    Member
    Join Date
    Jun 2004
    Location
    amsterdam
    Posts
    267

    Default

    The best way is to have 2 gb or more on memory in 64-bit

  6. #6
    cPanel Partner NOC cPanel Partner NOC Badge jackal's Avatar
    Join Date
    Feb 2002
    Posts
    708

    Default

    We have 8 gig on the server.

  7. #7
    Member
    Join Date
    Aug 2007
    Posts
    7

    Default

    I had exactly the same problem on my double Quad Core Xeon with 4 GB with CentOS 5 installed and I revolved it increasing WHM > Tweak Settings > The maximum memory a cPanel process can use before it is killed off > 256

    See http://forums.cpanel.net/showthread....t+of+memory%21

    After that I updated the system without any glitch.

    Seems like the x86_64 systems need more memory to operate.

    Hope this helps,
    --
    Roberto González Rocha
    Extrema Sistemas de Informacion SL

  8. #8
    Member
    Join Date
    Jan 2004
    Posts
    123

    Default

    Concise, accurate, and to the point.

    Thanks for posting; setting to 256 has resolved the issue on the first CentOS5 x64 box we've deployed.

  9. #9
    Member
    Join Date
    Oct 2003
    Posts
    130

    Default

    Quote Originally Posted by cpanelkenneth View Post
    Your best option is to open a support ticket at http://cpanel.net/support/
    It was not. They told me it is a hardware problem.
    I did not believe them and I'm right. Just a simple
    settings problem. New in WHM/cPanel 11.

    Thanks a lot to rgrocha

    Solved.

  10. #10
    Member
    Join Date
    Mar 2004
    Location
    Sydney
    Posts
    211

    Default

    Quote Originally Posted by rgrocha View Post

    Seems like the x86_64 systems need more memory to operate.
    Increasing to 256M is a hell of alot of RAM for the control panel! Has anyone raised a bug about this yet?

    I too have the issue(on x86_64) and have resorted to allowing 256M. Not ideal in my mind...

  11. #11
    Member
    Join Date
    Jul 2004
    Posts
    37

    Default

    Quote Originally Posted by rgrocha View Post
    Irevolved it increasing WHM > Tweak Settings > The maximum memory a cPanel process can use before it is killed off > 256
    Cpanel/WHM on Centrix Xen VM, I needed to increase this (I just set it to 512MB) to fix this problem.

    Thanks and warm regards.

Similar Threads & Tags
Similar threads

  1. Any issues with x86_64?
    By ffeingol in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 06-13-2008, 12:01 AM
  2. Easyapache + X86_64
    By TSS-grunt in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 03-12-2007, 09:30 PM
  3. Execute MemoryError
    By kinsky in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 01-31-2007, 06:55 PM
  4. buildapache for x86_64
    By flash7 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 10-13-2006, 03:07 AM
  5. i386 or x86_64
    By Mysteerie in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-01-2005, 06:21 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube