Open sp2ong opened 5 years ago
@sp2ong: Why did you close this issue? Wasn't it a bug? Sounds like a bug if you get 100% CPU after a HUP.
I thought it was just maybe a single case at my place, there was no response to my report so I closed it. Okay, so I reopen it
I cannot reproduce it here. Does it happen also when not using --logfile on the command line?
Anyone else seen this?
Hi
I have use latest version svxlink
SvxLink v1.6.99.10 Copyright (C) 2003-2017 Tobias Blomberg / SM0SVX
with configuration Remote RX on Orange Pi Zero with ARMBIAN 5.60 stable Debian GNU/Linux 9 (stretch) 4.14.70-sunxi
When everyday is running logrotate with script
/var/log.hdd/svxlink { missingok notifempty daily rotate 7 create 0644 svxlink daemon compress delaycompress postrotate killall -HUP svxlink endscript }
after start logroatet svxlink is use 100% CPU:
1088 svxlink 20 0 34660 11324 6152 R 100,0 2,2 8:52.96 svxlink
I have modified logrotate script and replace "killall-HUP svxlink":
systemctl stop svxlink sleep 3 systemctl start svxlink
to solve problem.
But intersting is this that before start use Remote RX in configuration svxlink logrotate with killall -HUP svxlink svxlink did not start use 100% CPU.
Its is looks like when svxlink use link to remote RX and I use killall -HUP svxlink the program svxlink go to use 100% CPU