Closed Bug 767270 Opened 13 years ago Closed 13 years ago

disable kill_pigs-from-cron.pl

Categories

(Developer Services :: General, task)

x86
macOS
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: glob, Assigned: fox2mike)

Details

kill_pigs-from-cron.pl looks for httpd processes with an RSS greater than 100400 and kills them. bugzilla already uses Apache::SizeLimit to limit the memory usage of its mod_perl workers. please disable kill_pigs-from-cron.pl
I don't see this enabled in cron..atleast in prod. Was this bug for stage? or?
Assignee: server-ops-devservices → shyam
(In reply to Shyam Mani [:fox2mike] from comment #1) > I don't see this enabled in cron..atleast in prod. Was this bug for stage? > or? i saw it in root/bin on web1.stage, and assumed it was actively in use. if you can't find it in cron, we're good.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
Ashish found this :p [06:21:26] < ashish> | fox2mike: /etc/cron.d/dot-watchdog:*/1 * * * * root /root/bin/kill_pigs-from-cron.pl I've removed it from puppet's cron resource. Will make sure it's gone on the webheads before I close this out.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
And gone.
Status: REOPENED → RESOLVED
Closed: 13 years ago13 years ago
Resolution: --- → FIXED
i'm sorry, this was a bad idea. what i forgot what apache::sizelimit doesn't kill a worker while it's processing a request - the memory usage is checked once it has completed work, and the worker will be restarted if its over the limit. this means a run-away never-ending process won't be killed. please reinstate kill-pigs to its former glory.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
But the poor pigs
Will be reinstated (once puppet runs).
Status: REOPENED → RESOLVED
Closed: 13 years ago13 years ago
Resolution: --- → FIXED
Component: Server Operations: Developer Services → General
Product: mozilla.org → Developer Services
You need to log in before you can comment on or make changes to this bug.