I am getting the error " An error occurred while reading the file. Ensure it is a valid Stats log file and is not busy or locked". I get this error when i try to open stats file for a particular day and it works fine for the previous days or next days stat log on the same server. Can anyone tell me what can be done or if there is another reader that i can use in order to view the stats log file.
How are you trying to open this file, thorugh some custom code?? obviosly you can’t open it through file object as IS is continously writing data into it… archived files are static one so you can easliy work on those…
Under Unix, you don’t have this issue (no exclusive lock when writing).
Anyway, I stopped to use it and built my own monitoring tool because stat.log contains fake data, at least for memory usage. More, a wM’s PS told to me some other data are inaccurate.
My tool is going far deeper than the original statslog file. It following more information than wM optimize for infrastructure but doesn’t have OFI flexible interface.
For the moment, it’s for my company only (IP reason) but I can have a check with my management to release it as opensource if I got enough demands …