Android mirror cronjobs causing high process count
Bug #1268903 reported by
Ben Copeland
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro Android Infrastructure |
Fix Released
|
Critical
|
Paul Sokolovsky |
Bug Description
/mnt/upstream-
Today:
ps aux|grep cron-runner.sh|wc -l
37
Sunday 12/01/14:
ps aux|grep cron-runner.sh|wc -l
49
This will cause android.
Changed in linaro-android-infrastructure: | |
assignee: | nobody → Paul Sokolovsky (pfalcon) |
importance: | Undecided → Critical |
milestone: | none → 2014.01 |
Changed in linaro-android-infrastructure: | |
status: | New → In Progress |
To post a comment you must log in.
cron-runner.sh is a wrapper for git fetch/push operations. It is set to run every 4 hours so far, and each invocation normally takes <20min. So, I'm not sure so far what may have caused pile-up that was quoted above. Even big code drop in upstream repos shouldn't cause dozen of parallel runs.
Anyway, I can see 2 parallel runs now, and will try to figure out what are they/when were started. Then I'm going to kill everything and watch it over next few days. And we of course can/should add locking to avoid parallel runs (but first need to understand why they happened at all).