ISISComputingGroup / IBEX

Top level repository for IBEX stories
5 stars 2 forks source link

System: Watcher on file sizes #2312

Open John-Holt-Tessella opened 7 years ago

John-Holt-Tessella commented 7 years ago

It is possible for a log file under IBEX to grow large. This often means 1 or more pvs that can not read. If this happens it would be good to have a way of being alerted to this problem and potentially be able to fix it.

This can not be done under Nagios because it does not play well with file sizes and wildcards.

It might be good as a PV under the blockserver. This could report the top ten largest files today and their sizes.

ChrisM-S commented 7 years ago

Coincidentally, we were discussing this as you wrote the ticket! IMAT has currently got about about 60GB in its EPICS logs directory (30GB IOC logs, 30GB conserver logs). By a strange quirk of fate these are all on an even more giant data disk so won't be a problem - but it would have sunk most other instruments by now. The conserver logs, although few, come at the top of the treesize top 100. The IOCS are all small(ish) in comparison and chopped into daily chunks but there are way to many of them. I guess a few other strategies to handle fully this might be: