Bug 5487 - Session verifications clump together over time
Summary: Session verifications clump together over time
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: VSM Server (show other bugs)
Version: 2.0.0
Hardware: PC Unknown
: P2 Major
Target Milestone: MediumPrio
Assignee: Henrik Andersson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-07 11:20 CEST by Karl Mikaelsson
Modified: 2015-09-28 15:42 CEST (History)
1 user (show)

See Also:
Acceptance Criteria:


Attachments

Description Karl Mikaelsson cendio 2015-04-07 11:20:26 CEST
In certain circumstances, vsmserver starts to clump session verifications together, which makes it launch many tasks at the same time. This initially leads   to slowdowns for interactive clients (thinlinc-login, tlwebadm), but will finally lead to vsmserver crashing because we run out of low ports to run all these jobs at the same time.
Comment 1 Karl Mikaelsson cendio 2015-04-07 11:21:33 CEST
(In reply to comment #0)
> but will finally lead to vsmserver crashing because we run out of low ports
> to run all these jobs at the same time.

Bug 217.
Comment 2 Karl Mikaelsson cendio 2015-04-07 11:26:46 CEST
(In reply to comment #0)
> In certain circumstances, vsmserver starts to clump session verifications
> together, which makes it launch many tasks at the same time. This initially
> leads   to slowdowns for interactive clients (thinlinc-login, tlwebadm), but
> will finally lead to vsmserver crashing because we run out of low ports to run
> all these jobs at the same time.

A naïve solution to the session verifications clumping up could be to add a randomness to the standard 600 second interval. I still need to verify this theory though.
Comment 3 Karl Mikaelsson cendio 2015-04-07 12:08:24 CEST
(In reply to comment #0)
> will finally lead to vsmserver crashing because we run out of low ports to run
> all these jobs at the same time.

Also related: Bug 3876.
Comment 4 Karl Mikaelsson cendio 2015-04-07 12:13:55 CEST
Bug 5488 is another related bug.
Comment 9 Karl Mikaelsson cendio 2015-09-28 15:42:36 CEST
(In reply to comment #0)
> In certain circumstances, vsmserver starts to clump session verifications
> together, which makes it launch many tasks at the same time. This initially
> leads   to slowdowns for interactive clients (thinlinc-login, tlwebadm), but
> will finally lead to vsmserver crashing because we run out of low ports to run
> all these jobs at the same time.

Bug 5451 describes one scenario that causes multiple jobs to be launched more or less simultaneously - a long-running task that's blocking vsmserver.

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