Hello,
when my server runs certbot renew automtaticaly at night, apache is killed sometimes. The server has about 30+ Domains and certificates and sometimes its running smooth, sometimes not. Server resources (CPU, RAM) are far away from limits.
It produced this output:
In the syslog I can see that certbot is started and my server monitoring shows apache is down short time later. Nothing helpful in apache logs, letsencrypt.log looks like this:
2019-01-17 03:52:39,470:DEBUG:certbot.main:certbot version: 0.28.0
2019-01-17 03:52:39,471:DEBUG:certbot.main:Arguments: [’-q’]
2019-01-17 03:52:39,471:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#apache,PluginEntryPoint#manual,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
2019-01-17 03:52:39,494:DEBUG:certbot.log:Root logging level set at 30
2019-01-17 03:52:39,495:INFO:certbot.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2019-01-17 03:52:39,506:DEBUG:certbot.plugins.selection:Requested authenticator <certbot.cli._Default object at 0x7fef0c1d2278> and installer <certbot.cli._Default object at 0x7fef0c1d2278>
2019-01-17 03:52:39,521:INFO:certbot.renewal:Cert not yet due for renewal
2019-01-17 03:52:39,521:DEBUG:certbot.plugins.selection:Requested authenticator apache and installer apache
2019-01-17 03:52:39,522:DEBUG:certbot.plugins.selection:Selecting plugin: * apache
Description: Apache Web Server plugin - Beta
Interfaces: IAuthenticator, IInstaller, IPlugin
Entry point: apache = certbot_apache.entrypoint:ENTRYPOINT
Initialized: <certbot_apache.override_debian.DebianConfigurator object at 0x7fef0c219780>
2019-01-17 03:52:39,523:DEBUG:certbot.plugins.storage:Plugin storage file /etc/letsencrypt/.pluginstorage.json was empty, no values loaded
2019-01-17 03:52:39,532:INFO:certbot.renewal:Cert not yet due for renewal
2019-01-17 03:52:39,533:DEBUG:certbot.plugins.selection:Requested authenticator apache and installer apache
2019-01-17 03:52:39,533:DEBUG:certbot.plugins.selection:Selecting plugin: * apache
Description: Apache Web Server plugin - Beta
Interfaces: IAuthenticator, IInstaller, IPlugin
Entry point: apache = certbot_apache.entrypoint:ENTRYPOINT
(I cut off about 30+ renew statements which are all the same beside the “Initialized: <certbot_apache.override_debian.DebianConfigurator object at 0xalphanumeric-string”)
Initialized: <certbot_apache.override_debian.DebianConfigurator object at 0x7fef0c1c9f28>
2019-01-17 03:52:39,715:DEBUG:certbot.plugins.storage:Plugin storage file /etc/letsencrypt/.pluginstorage.json was empty, no values loaded
2019-01-17 03:52:39,716:DEBUG:certbot.renewal:no renewal failures
My web server is (include version):Apache 2.4.29
The operating system my web server runs on is (include version): Ubuntu 18.04
I can login to a root shell on my machine: Yes
I’m using a control panel to manage my site: No
Any idea what I could improve in order to keep my server up and running without being killed by certbot auto renew?