Bug 8399 - Some tlwebaccess processes stay around forever
Summary: Some tlwebaccess processes stay around forever
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Web Access (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-25 11:29 CEST by Pierre Ossman
Modified: 2024-08-13 13:26 CEST (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Pierre Ossman cendio 2024-07-25 11:29:06 CEST
We're seeing a bunch of tlwebaccess processes lingering around, even though there is not a single connection active:

> $ pgrep -f tlwebaccess | wc -l
> 31

Not sure what they are doing, as they have no socket open:

> $ ll /proc/1105480/fd
> total 0
> lr-x------. 1 root root 64 Jul 22 02:30 0 -> /dev/null
> l-wx------. 1 root root 64 Jul 22 02:30 1 -> /var/log/tlwebaccess.log
> l-wx------. 1 root root 64 Jul 22 02:30 2 -> /var/log/tlwebaccess.log
> l-wx------. 1 root root 64 Jul 22 02:30 24 -> 'pipe:[11029849]'

Looking in the logs, all of them have responded to a bogus request that resulted in 404:

> 'GET /crm/vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php HTTP/1.1' 404 -
> code 404, message Not Found

Not sure where that last line is coming from. That should not be there.
Comment 1 Pierre Ossman cendio 2024-07-25 11:29:28 CEST
Seen with ThinLinc 4.17.0 on RHEL 9.
Comment 2 Pierre Ossman cendio 2024-07-25 14:00:07 CEST
Unsure what the triggering condition is. I tried running a bunch of curl with the above path, but could not get any stray processes. Maybe a race condition?

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