Take care of open and unlinked files (optimize descriptors and disk space usage)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Won't Fix
|
Medium
|
Fuel Library (Deprecated) |
Bug Description
We need to introduce periodic restarts for openstack services, mysql, corosync, and may be some other services as well.
(too bad Openstack services and Corosync do not understand 'kill -HUP' and became dead instead of HUPed :-) )
Please check http://
Solution:
Introduce SIGHUP support for all OSt services which missing it (https:/
W/a (kludge) suggested:
make '/etc/logrotate
Note:
1) restarting will bring service accessibility outages for a very short amount of time.
2) Corosync gracefull restarting might be a *big* problem - it might hang for a long time (up to a half of a hour, or even hang for ever), but if it had killed -9, would cause the stonish-ng to consider such node as a failed one, thus immediately fenced (for now we do not have fencing yet, but we will in the nearest future)...
Note: to estimate the size (in bytes) of the disk space was held by deleted files at the 'node-foo' you can use:
ssh node-foo "lsof +L1 -s | awk '/\d+/ {print $7}' | awk '{sum+=$1} END {print sum}'"
description: | updated |
Changed in fuel: | |
importance: | Undecided → Medium |
milestone: | none → 5.0 |
Changed in fuel: | |
importance: | Medium → High |
assignee: | nobody → Fuel OSCI Team (fuel-osci) |
Changed in fuel: | |
assignee: | Fuel OSCI Team (fuel-osci) → Fuel Linux Hardening Team (fuel-linux) |
description: | updated |
tags: |
added: oslo removed: library |
Changed in fuel: | |
assignee: | Fuel Linux Hardening Team (fuel-linux) → Fuel Hardening Team (fuel-hardening) |
Changed in fuel: | |
assignee: | Fuel Hardening Team (fuel-hardening) → Fuel for Openstack (fuel) |
tags: | added: to-be-covered-by-tests |
Changed in fuel: | |
assignee: | Fuel for Openstack (fuel) → Fuel Library Team (fuel-library) |
Should it be exposed as openstack bugs?