Red Hat Bugzilla – Bug 1336940
Disable squid systemd unit start/stop timeouts
Last modified: 2016-11-03 17:17:56 EDT
There are problems with squid cache swap.state file when they are killed by systemd when the default timeout is reached. See Fedora Bug #855111. It was fixed on that bug by disabling the timeout on the unit file adding [Service] ... TimeoutSec=0 The problem can make the system to fill all the disk, and when using XFS (the EL 7 default) it can fill the entire root partition. At least ext4 has reserved blocks for root to make the system bootable and remote manageable. On one occasion I experienced a XFS corruption with this problem when the disk filled out in minutes. The system was unresponsive to shutdown commands. the next boot the disk was full, with no file using that space, an offline xfs_repair was needed to recover the disk space.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2016-2600.html