• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Forwarded to devs Out of memory php error on Let's Encrypt keep-secured.php crontab job

Bitpalast

Plesk addicted!
Plesk Guru
TITLE:
Out of memory php error on Let's Encrypt keep-secured.php crontab job
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:
CentOS 7.6
Plesk Onyx 17.8, latest MUs
PROBLEM DESCRIPTION:
/usr/local/psa/admin/bin/php -dauto_prepend_file=sdk.php '/usr/local/psa/admin/plib/modules/letsencrypt/scripts/keep-secured.php'

not running because of "out of memory" php error on a machine with only 800 domains.​
STEPS TO REPRODUCE:
Nothing special, simply run
/usr/local/psa/admin/bin/php -dauto_prepend_file=sdk.php '/usr/local/psa/admin/plib/modules/letsencrypt/scripts/keep-secured.php'
either manually or from cronjobs.

However, not reproducible on other machines with practically identical setup. Some of our systems service more domains, e.g. 1000. Until now, the issue does not occur on them.​
ACTUAL RESULT:
Out of memory​
EXPECTED RESULT:
Running script​
ANY ADDITIONAL INFORMATION:
Can be solved by changing the default /usr/local/psa/admin/conf/php.ini RAM value to a higher value. We also realized that the script runtime on the machine in question was 960 seconds after the problem was fixed. With the default value of max script execution time of only 600 seconds in the same php.ini this would not have been possible to successfully execute either.

My suggestion is to consider higher default RAM and max execution time entries in the panel .php ini file to avoid issues with the keep-secured.php script.
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:
Confirm bug
 
Peter, we know this issue: EXTLETSENC-644. Now it is under developer's investigation.

So far, you really need to increase memory and runtime limits.
 
Back
Top