Closed
Bug 767270
Opened 13 years ago
Closed 13 years ago
disable kill_pigs-from-cron.pl
Categories
(Developer Services :: General, task)
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
Assignee | ||
Comment 1•13 years ago
|
||
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
Assignee | ||
Comment 3•13 years ago
|
||
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 → ---
Assignee | ||
Comment 4•13 years ago
|
||
And gone.
Status: REOPENED → RESOLVED
Closed: 13 years ago → 13 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 → ---
Comment 6•13 years ago
|
||
But the poor pigs
Assignee | ||
Comment 7•13 years ago
|
||
Will be reinstated (once puppet runs).
Status: REOPENED → RESOLVED
Closed: 13 years ago → 13 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
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.
Description
•