[Letsencrypt-devel] bug in certbot cron script

Kasper Sandberg kontakt at sandberg-consult.dk
Tue Jun 7 22:59:42 UTC 2016


Hello.

not subscribed to list.

certbot cron script spawns A LOT of these:
root     12639  0.0  0.1  42240  2592 ?        S    00:55   0:00
/usr/sbin/CRON -f
root     12640  0.0  0.0   4336   804 ?        Ss   00:55   0:00 /bin/sh
-c perl -e 'sleep int(rand(3600))'; certbot -q renew
root     12641  0.0  0.2  19332  3432 ?        S    00:55   0:00 perl -e
sleep int(rand(3600))
root     12649  0.0  0.1  42240  2592 ?        S    00:56   0:00
/usr/sbin/CRON -f
root     12650  0.0  0.0   4336   800 ?        Ss   00:56   0:00 /bin/sh
-c perl -e 'sleep int(rand(3600))'; certbot -q renew
root     12651  0.0  0.2  19332  3376 ?        S    00:56   0:00 perl -e
sleep int(rand(3600))

I believe this is why:
* */12 * * * root perl -e 'sleep int(rand(3600))'; certbot -q renew

I suggest changing this into something like:
1 */12 * * * root perl -e 'sleep int(rand(3600))'; certbot -q renew



-- 
Kasper Sandberg
Sandberg Enterprises
+45 51944242
http://www.sandbergenterprises.dk




More information about the Letsencrypt-devel mailing list