Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Too many open files error

Discussion in 'General Discussion' started by Virtualcolombia1, Dec 27, 2017.

  1. Virtualcolombia1

    Virtualcolombia1 Registered

    Joined:
    Dec 27, 2017
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    colombia
    cPanel Access Level:
    Root Administrator
    Hello, can you help me solve this error?

    "
    Can't locate Cpanel/ExceptionMessage/Raw.pm: /usr/local/cpanel/Cpanel/ExceptionMessage/Raw.pm: Too many open files at /usr/local/cpanel/Cpanel/Exception/CORE.pm line 34.
    BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Exception/CORE.pm line 34.
    Compilation failed in require at /usr/local/cpanel/Cpanel/Exception.pm line 27.
    at /usr/local/cpanel/Cpanel/Exception.pm line 27.
    Cpanel::Exception::__ANON__(__CPANEL_HIDDEN__, __CPANEL_HIDDEN__..., ARRAY(0x6d19398), HASH(0x6d194d0)) called at /usr/local/cpanel/Cpanel/Transaction/File/Base.pm line 132
    Cpanel::Transaction::File::Base::new("Cpanel::Transaction::File::Raw", "path", "/etc/dbowners", "permissions", 416, "ownership", ARRAY(0x6d01498)) called at /usr/local/cpanel/Cpanel/Userdomains/CORE.pm line 425
    Cpanel::Userdomains::CORE::_create_transaction(Cpanel::Userdomains::CORE=HASH(0x63739a0), HASH(0x3644fe0)) called at /usr/local/cpanel/Cpanel/Userdomains/CORE.pm line 120
    Cpanel::Userdomains::CORE::update(Cpanel::Userdomains::CORE=HASH(0x63739a0), "force", 0) called at /usr/local/cpanel/Cpanel/Userdomains.pm line 25
    Cpanel::Userdomains::updateuserdomains() called at whostmgr/bin/whostmgr2.pl line 4732
    main::dotweaksettings() called at whostmgr/bin/whostmgr2.pl line 1181 "
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,888
    Likes Received:
    90
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    Please try below stuff:

    # cat /proc/sys/fs/file-max

    # echo “65535″ > /proc/sys/fs/file-max

    New output should be as follows:
    # cat /proc/sys/fs/file-max
    65535

    # sysctl -p /etc/sysctl.conf
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,442
    Likes Received:
    1,961
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Can you verify which option you are attempting to access when encountering that error message?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice