qt-openzwave icon indicating copy to clipboard operation
qt-openzwave copied to clipboard

ozwdaemon fails when previous file reaches 9.6MB

Open tcastberg opened this issue 5 years ago • 4 comments

I get the following errors in the docker log: s6-log: warning: processor failed in /opt/ozw/config/logs/ozwdaemon execlineb: fatal: syntax error

This happens when the file ozw/config/logs/current reaches around 9.6MB. current is then moved to previous and I suspect something fails when it tries to gzip the file.

The lines keep repeating in the docker logs and the ozwdaemon seems to hang. Nothing new is printed to current and I'm not able to connect with ozw-admin.

tcastberg avatar Jul 24 '20 12:07 tcastberg

Reducing the logging seems to have solved that problem, however shortly after got hit by https://github.com/OpenZWave/Zwave2Mqtt/issues/141

So I'm giving up for now as this is too much hassle, especially considering that it's still working fine with the built-in OZW in HA.

tcastberg avatar Jul 27 '20 07:07 tcastberg

Do you know which docker image you were using? build-169 has a change related to logging, wondering if makes a difference. I thought I was on the latest but wasn't, so I'm trying it now.

kpine avatar Jul 28 '20 00:07 kpine

On build-169 I was able to watch the log file get to about 9.6MB and then it was rotated, ozwd survived the rotation without a hiccup, so perhaps the latest change was helpful. I'll keep monitoring though.

kpine avatar Jul 28 '20 08:07 kpine

Thanks for the feedback. Still think I'll hang back a bit as moving everything over since the house still has to work for the whole family. A bit stressful.

tcastberg avatar Jul 28 '20 08:07 tcastberg