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.

Unable to downgrade or upgrade package

Discussion in 'General Discussion' started by mak_the_admin, Nov 2, 2010.

  1. mak_the_admin

    mak_the_admin Member

    Joined:
    Aug 10, 2007
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    When trying to upgrade or downgrade package gets below error.
    =========================================================
    Out of memory during "large" request for 4198400 bytes, total sbrk() is 111990784 bytes at /usr/local/cpanel/Whostmgr/Packages.pm line 673, <$package_fh> chunk 1.
    Whostmgr::Packages::load_package('itplanetbackup.tar') called at /usr/local/cpanel/Whostmgr/Packages.pm line 567
    Whostmgr::Packages::fetch_package_list('want', 'creatable', 'test_without_user', 'HASH(0x94374dc)', 'test_with_less_packages', 'HASH(0x94374ac)') called at whostmgr/bin/whostmgr line 5648
    main::selectupgrade() called at whostmgr/bin/whostmgr line 780
    ========================================================

    When trying to edit reseller previlleges gets blank page.

    Thank you.
     
  2. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Check maxmem

    What is the value of maxmem= in /var/cpanel/cpanel.config? This is the same value as The maximum memory a cPanel process can use before it is killed off in Main >> Server Configuration >> Tweak Settings. By default, it will be 256. Try increasing it to 512, or even to 756 or more.

    If you directly edit /var/cpanel/cpanel.config instead of using Tweak Settings, make sure to run the following command after saving the change to the file:

    Code:
    # /usr/local/cpanel/whostmgr/bin/whostmgr2 --updatetweaksettings
    Then try again to edit the package and view the reseller privileges.
     
Loading...

Share This Page