Bug 2036552
| Summary: | RFE: tmux needs to put each process into its own systemd scope | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Chris Murphy <bugzilla> |
| Component: | tmux | Assignee: | Sven Lankes <sven> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | bberg, dcantrell, rosset.filipe, strobert, sven, the.anitazha |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | tmux-3.3a-1.fc36 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-08-24 20:30:53 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Chris Murphy
2022-01-03 03:18:05 UTC
On Fedora with GNOME, vte moves each process into its own scope, and thus its own cgroup assignment. This isn't happening for tmux processes. The code is here: https://gitlab.gnome.org/GNOME/vte/-/blob/master/src/systemd.cc Jan 02 20:08:10 fnuc.local systemd-oomd[648]: Killed /user.slice/user-1000.slice/session-9.scope due to memory used (3948032000) / total (4024205312) and swap used (3631742976) / total (40233820> Jan 02 20:08:10 fnuc.local systemd[1]: session-9.scope: systemd-oomd killed 7 process(es) in this unit. Jan 02 20:08:12 fnuc.local systemd[1]: session-9.scope: Deactivated successfully. Jan 02 20:08:12 fnuc.local systemd[1]: session-9.scope: Consumed 31min 21.423s CPU time. Jan 02 20:08:12 fnuc.local systemd-logind[692]: Removed session 9. Nice idea but I don't think it does fit into tmux as a gerneric terminal multiplexer. Feel free to discuss with upstream @ https://github.com/tmux/tmux what their thoughts are. I will leave this ticket open for reference but I am not going to work on it. I opened https://github.com/tmux/tmux/issues/3024 about it. Following the upstream issue to see where that goes and will then update the package accordingly (assuming anything happens upstream with the request). Thanks. FEDORA-2022-8985737e34 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-8985737e34 FEDORA-2022-8985737e34 has been pushed to the Fedora 36 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-8985737e34` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-8985737e34 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2022-8985737e34 has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report. |