Errors in Unit logs and CPU 100%

Valentin V. Bartenev vbart at nginx.com
Fri May 24 15:53:18 UTC 2019


On Thursday 23 May 2019 14:52:37 Peter TKATCHENKO wrote:
> Thanks for your answer.
> 
> I've just rebuilt the ports with 'DEBUG' option and restarted the service.
> 
> When the problem comes - I'll send the logs here. Hope the problem comes 
> soon as the log is growing very fast...
> 
[..]

In order to avoid growing it too much, you can periodically truncate the log file.

 # truncate -s 0 /path/to/unit.log


  wbr, Valentin V. Bartenev



More information about the unit mailing list