Landscape client unable to contact server, does not clean pending messages, and consumes all inodes

Bug #2004591 reported by Mark Cunningham
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Landscape Client
Fix Released
Medium
Kevin Nasto

Bug Description

A client has reported that they had a few machines with an excessive number of message files in the /var/lib/landscape/client/messages/ directory, which consumed all the inodes in the machines, and caused a full disk condition. This seems to have been the result of the client machines having an issue contacting the Landscape server for an indeterminate/extended amount of time.

The request here is to add a disk capacity sanity check into the landscape-client to prevent this kind of thing in the future. Perhaps both a check of disk space used as well as an inode usage check. If this gets over some threshold (yet to be determined), the Landscape client should change behavior accordingly.

One potential suggestion could be to stop creating new messages or rotate/compress the old messages into a bundle for later transport. Conversely perhaps there could be just a check on the count of pending messages, and if this gets over some threshold (also yet to be determined) new messages could be stopped, pending messages could be purged and a resync action initiated. New messages could be started normally again after the resync action completes.

description: updated
Revision history for this message
Kevin Nasto (silverdrake11) wrote :
Changed in landscape-client:
assignee: nobody → Kevin Nasto (silverdrake11)
importance: Undecided → Medium
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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