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!

EA4 Php70 CLI out of memory errors

Discussion in 'EasyApache' started by ehask71, Apr 2, 2018.

  1. ehask71

    ehask71 Well-Known Member

    Joined:
    Jul 13, 2007
    Messages:
    62
    Likes Received:
    5
    Trophy Points:
    58
    Location:
    Tampa, Florida, United States
    cPanel Access Level:
    Root Administrator
    Ok I noticed a bunch of crons stopped working between last month and this month.

    If I login to a user account and run the cron it results in "Out of Memory" that's it and some are simple scripts lol that do a small query and generate an invoice.

    I know the limit is set to 3000 .... in ini for shits and giggles.

    [portalhighoctane@xemnu cron]$ /usr/bin/php -i|grep memory_limit
    Out of memory
    [portalhighoctane@xemnu cron]$ php -r "echo ini_get('memory_limit');"
    Out of memory
    [portalhighoctane@xemnu cron]$

    This is frustrating
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. ehask71

    ehask71 Well-Known Member

    Joined:
    Jul 13, 2007
    Messages:
    62
    Likes Received:
    5
    Trophy Points:
    58
    Location:
    Tampa, Florida, United States
    cPanel Access Level:
    Root Administrator
    When I step back to root:

    [root@xemnu cron]# /usr/bin/php -i|grep memory_limit
    <tr><td class="e">memory_limit</td><td class="v">2048M</td><td class="v">2048M</td></tr>
    [root@xemnu cron]# php -r "echo ini_get('memory_limit');"
    2048M[root@xemnu cron]#

    This is the default value in the main php.ini for ea70
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    720
    Likes Received:
    123
    Trophy Points:
    168
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    Running Cloudlinux?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. ehask71

    ehask71 Well-Known Member

    Joined:
    Jul 13, 2007
    Messages:
    62
    Likes Received:
    5
    Trophy Points:
    58
    Location:
    Tampa, Florida, United States
    cPanel Access Level:
    Root Administrator
    No Cent 6.9
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    720
    Likes Received:
    123
    Trophy Points:
    168
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    Can you attach or provide the output from the txt file:

    Code:
    /usr/local/bin/ea_current_to_profile --output=profile.txt
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. ehask71

    ehask71 Well-Known Member

    Joined:
    Jul 13, 2007
    Messages:
    62
    Likes Received:
    5
    Trophy Points:
    58
    Location:
    Tampa, Florida, United States
    cPanel Access Level:
    Root Administrator
    This is from root

    {
    "tags" : [
    "Apache 2.4",
    "PHP 5.5",
    "PHP 5.6",
    "PHP 7.0"
    ],
    "version" : "1.0",
    "pkgs" : [
    "ea-apache24",
    "ea-apache24-config",
    "ea-apache24-config-runtime",
    "ea-apache24-mod_bwlimited",
    "ea-apache24-mod_cgi",
    "ea-apache24-mod_deflate",
    "ea-apache24-mod_expires",
    "ea-apache24-mod_headers",
    "ea-apache24-mod_mpm_prefork",
    "ea-apache24-mod_proxy",
    "ea-apache24-mod_proxy_fcgi",
    "ea-apache24-mod_proxy_http",
    "ea-apache24-mod_proxy_wstunnel",
    "ea-apache24-mod_ruid2",
    "ea-apache24-mod_security2",
    "ea-apache24-mod_ssl",
    "ea-apache24-mod_unique_id",
    "ea-apache24-tools",
    "ea-apr",
    "ea-apr-util",
    "ea-cpanel-tools",
    "ea-documentroot",
    "ea-libcurl",
    "ea-libmcrypt",
    "ea-libnghttp2",
    "ea-libxml2",
    "ea-modsec-sdbm-util",
    "ea-nghttp2",
    "ea-openssl",
    "ea-php-cli",
    "ea-php-cli-lsphp",
    "ea-php55",
    "ea-php55-libc-client",
    "ea-php55-pear",
    "ea-php55-php-bcmath",
    "ea-php55-php-calendar",
    "ea-php55-php-cli",
    "ea-php55-php-common",
    "ea-php55-php-curl",
    "ea-php55-php-devel",
    "ea-php55-php-exif",
    "ea-php55-php-fileinfo",
    "ea-php55-php-fpm",
    "ea-php55-php-ftp",
    "ea-php55-php-gd",
    "ea-php55-php-imap",
    "ea-php55-php-litespeed",
    "ea-php55-php-mcrypt",
    "ea-php55-php-mysqlnd",
    "ea-php55-php-pdo",
    "ea-php55-php-posix",
    "ea-php55-php-sockets",
    "ea-php55-php-xml",
    "ea-php55-runtime",
    "ea-php56",
    "ea-php56-libc-client",
    "ea-php56-pear",
    "ea-php56-php-bcmath",
    "ea-php56-php-calendar",
    "ea-php56-php-cli",
    "ea-php56-php-common",
    "ea-php56-php-curl",
    "ea-php56-php-devel",
    "ea-php56-php-exif",
    "ea-php56-php-fileinfo",
    "ea-php56-php-fpm",
    "ea-php56-php-ftp",
    "ea-php56-php-gd",
    "ea-php56-php-iconv",
    "ea-php56-php-imap",
    "ea-php56-php-intl",
    "ea-php56-php-litespeed",
    "ea-php56-php-mbstring",
    "ea-php56-php-mcrypt",
    "ea-php56-php-mysqlnd",
    "ea-php56-php-pdo",
    "ea-php56-php-posix",
    "ea-php56-php-sockets",
    "ea-php56-php-xml",
    "ea-php56-php-zip",
    "ea-php56-runtime",
    "ea-php70",
    "ea-php70-libc-client",
    "ea-php70-pear",
    "ea-php70-php-bcmath",
    "ea-php70-php-calendar",
    "ea-php70-php-cli",
    "ea-php70-php-common",
    "ea-php70-php-curl",
    "ea-php70-php-devel",
    "ea-php70-php-exif",
    "ea-php70-php-fileinfo",
    "ea-php70-php-fpm",
    "ea-php70-php-ftp",
    "ea-php70-php-gd",
    "ea-php70-php-imap",
    "ea-php70-php-intl",
    "ea-php70-php-litespeed",
    "ea-php70-php-mbstring",
    "ea-php70-php-mcrypt",
    "ea-php70-php-mysqlnd",
    "ea-php70-php-pdo",
    "ea-php70-php-posix",
    "ea-php70-php-sockets",
    "ea-php70-php-xml",
    "ea-php70-php-zip",
    "ea-php70-runtime"
    ],
    "name" : "profile.txt",
    "desc" : "Auto Generated profile"
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

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

    Can you verify if Shell Fork Bomb Protection is enabled via "WHM >> Shell Fork Bomb Protection"? If so, can you verify if disabling this option solves the out of memory errors?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. ehask71

    ehask71 Well-Known Member

    Joined:
    Jul 13, 2007
    Messages:
    62
    Likes Received:
    5
    Trophy Points:
    58
    Location:
    Tampa, Florida, United States
    cPanel Access Level:
    Root Administrator
    That fixed it Michael
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    cPanelMichael likes this.
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