Purpose of State files

Why is the file getting corrupted? Do you have some external process interfering with the files, e.g. some kind of anti-virus software? Do you have issues with your storage? Do you have any non-standard plugins installed? This should not be happening in a normal cluster as far as I know.