Bug 5477 - vsmserver/vsmagent/tlwebadm/tlwebaccess renice after a few days
Summary: vsmserver/vsmagent/tlwebadm/tlwebaccess renice after a few days
Status: CLOSED FIXED
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: VSM Server (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: 4.12.0
Assignee: Niko Lehto
URL:
Keywords: aleta_tester, prosaic
Depends on:
Blocks:
 
Reported: 2015-03-19 14:25 CET by Peter Åstrand
Modified: 2020-03-24 10:52 CET (History)
4 users (show)

See Also:
Acceptance Criteria:


Attachments

Description Peter Åstrand cendio 2015-03-19 14:25:40 CET
Reported on http://lists.cendio.se/pipermail/thinlinc-technical/2015-March/000753.html . As Patrik Pira describes it:

"this is due to anacrontab running cron.daily with "nice". cron.daily
runs logrotate which upon rotating logfiles does a condrestart on
vsm{agent|server} while running with the default niceness of 10."
Comment 1 Peter Åstrand cendio 2015-03-19 14:51:18 CET
This problem also affects tlwebadm and tlwebaccess. For the latter, tlstunnel is also runnnig with lower priority, which could lead to reduced performance.
Comment 2 Pierre Ossman cendio 2015-03-24 11:15:39 CET
Start by seeing if we can implement reopening the log files on SIGHUP. Then we can look further into the problem.
Comment 4 Niko Lehto cendio 2020-03-13 12:59:11 CET
I can reproduce this issue on RHEL 6  by using default 'nice' value and forcing logrotate. This works well on RHEL 7.

As of changes in r34910 ThinLinc does no longer support systems like RHEL6 which don't use systemd. However this should not be a big issue among users nowdays as most use newer dists.

The changes in r34910 indirectly fixes this bug because systemd seems to not have any issues with unwanted renice. Will not mention this in release notes due to the nature of the fix.
Comment 5 Alex Tanskanen cendio 2020-03-24 10:52:15 CET
Was also able to reproduce this on rhel6 and verified that it works on rhel8.

Note You need to log in before you can comment on or make changes to this bug.