ehask71

Well-Known Member
Jul 13, 2007
62
5
58
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.

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

This is frustrating
 

ehask71

Well-Known Member
Jul 13, 2007
62
5
58
Tampa, Florida, United States
cPanel Access Level
Root Administrator
When I step back to root:

[[email protected] 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>
[[email protected] cron]# php -r "echo ini_get('memory_limit');"
2048M[[email protected] cron]#

This is the default value in the main php.ini for ea70
 

Jcats

Well-Known Member
PartnerNOC
May 25, 2011
807
158
168
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
 

ehask71

Well-Known Member
Jul 13, 2007
62
5
58
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"
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463
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.