Excessive memory usage by scripts causes swapping

Bug #961347 reported by Curtis Hovey
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself

Bug Description

loganberry had a swap alert caused by two processes (product-release-finder.py and update-pkgcache.py) on 2012-03-09

lifeless proposed that cron scripts could use ulimt to ensure that rogue processes cannot use more memory than we believe they should use. Lp's scripts are setup in lp:lp-production-crontabs which contains a crontab for each machine. The crontabs define global variables to execute the scripts. A new var might be added to ensure no process exceeds safe limits.

A comprehensive fix might also address the specific issues reported in bug #327423 and bug #702255

Tags: performance
Curtis Hovey (sinzui)
tags: added: performance product-release-finder regression
Revision history for this message
Curtis Hovey (sinzui) wrote :

The product-release-finder was optimised to do less work and is unlikely to be a factor with this bug.

tags: removed: product-release-finder regression
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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