Bug#930446: popularity-contest: unable to submit report, impossible to debug
On Thu, Jun 20, 2019 at 11:09:10AM +0200, Stefan Fritsch wrote:
> Hi Bill,
> I have some new info:
Thanks for coming back to me!
> When submission fails, popcon-upload dies with a timeout. There should
> probably be a randomized sleep to distribute the server load better. I
> think there could be a lot more popcon submissions if this is done.
What is the time in /etc/cron.d/popularity-contest ?
(something like 33 5 * * *)
Does it work better if you change it to some other time ?
What cron ae you using
> Also, popcon-upload should log errors to syslog.
> The fallback to email only happens if "$MODE" = "--crond". But if the
> script is called via cron.daily it gets called without parameters and
> this never happens. Is this intentional?
This is to avoid sending the email twice. The problem is that there is
no way to know if the email was received.
The script is normally called by /etc/cron.d/popularity-contest with
Imagine a large red swirl here.