anacron runs updatedb at worst possible time

Bug #1182517 reported by Erik Walthinsen
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
anacron (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Ever morning I wake up and start working around 7:30-8:00am. Every morning I start with a computer that's painfully slow, with disk activity taking forever and programs glitching all over the place. Every morning my disk is grinding hard for an hour.

I tracked it down to the fact that anacron is running cron.daily/ at 7:30 in the morning. This contains things like updatedb, mlocate, apt, mandb, logrotate, and other operations that impose significant load on the system. The *actual* crontab attempts to run these at 2:25 in the morning, which to the best of my recollection has been roughly the same time for the last 15 years. It was chosen because that's when people *aren't* using the machine for actual work.

Please explain to me why it was decided that running processes that take a long time (hours possibly) and impose a radically high system load were supposed to be run at the exact same time most people actually start using their computers in the morning???

I consider the choice of 7:30 to be a fairly severe bug (albeit trivially fixed), as it prevents every system with anacron installed from actually behaving properly.

Tags: bot-comment
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1182517/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
affects: ubuntu → anacron (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in anacron (Ubuntu):
status: New → Confirmed
Revision history for this message
Morten Furbo (mfurbo) wrote :

Related to https://bugs.launchpad.net/ubuntu/+source/mlocate/+bug/1190696 which makes updatedb.mlocate consume all hdd io.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.