bugGNU Screen - Bugs: bug #65631, Starting screen session detached...


bug #65631: Starting screen session detached causes higher than usual CPU usage

Submitter:  None
Submitted:  Tue 23 Apr 2024 03:18:56 PM UTC
Category:  None Severity:  3 - Normal
Priority:  * 5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  4.9.0
Fixed Release:  None Planned Release:  None
Work Required:  None
* Mandatory Fields

Add a New Comment Rich Markup

Tue 23 Apr 2024 03:18:56 PM UTC, original submission:  


I've come across a problem with specifically screen with the switches -d -m. The switches seem to cause the CPU usage to sit at around 100% single core usage for the server and just over 50% usage for screen itself. Attaching session also fails to pass keystrokes properly (keystrokes end up sending outside of screen session for some reason?)

Issue seems to occur exclusively with BeamMP-Server (Multiplayer server for BeamNG Drive, https://github.com/BeamMP/BeamMP-Server ).

screen ./BeamMP-Server <- no issues
screen -d -m ./BeamMP-Server <- High CPU usage

System Info:
Debian 12 (bookworm)
Kernel 6.1.0-20-amd64
Core2Duo E8400



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #55960:  screen@no@switches@.png added by None (8KiB - image/png)
file #55961:  running@outside@of@screen.png added by None (9KiB - image/png)
file #55959:  screen@with@switches.png added by None (8KiB - image/png)


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.


Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2024-04-23 None Attached File- Added screen@no@switches@.png, #55960
    Attached File- Added running@outside@of@screen.png, #55961
2024-04-23 None Attached File- Added screen@with@switches.png, #55959

Back to the top

Powered by Savane 3.13-12ab.
Corresponding source code