New issue
Advanced search Search tips

Issue 684128 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

Investigate why docs update script hangs on VM

Project Member Reported by lazyboy@chromium.org, Jan 23 2017

Issue description

The update script in the VM: updates-docs-full.sh sometimes hangs and it doesn't let further updates to kick in. This is because the script locks a file while it is running, and cron trying to update docs while the previous run didn't complete would not go through. In such an instance, I had to manually kill the hung script & lock file:  https://crbug.com/682376 

1) I do not have any idea why the script hangs. There might be a genuine bug in update_cache.py. Investigate what might be going on here.
2) We might want to considering timeouts: if a previous run of the script didn't finish in some given time, then give up.
3) Using the file lock (flock) is great to ensure we don't try to write to the datastore file while another one is in-flight, but it might not be the best way... Investigate some other options.
 
Cc: karandeepb@chromium.org

Sign in to add a comment