AndreasKrNE
New Pleskian
- Server operating system version
- Ubuntu 24.04.5 LTS
- Plesk version and microupdate number
- Obsidian 18.0.81.4, build 2026/10/21 21:00
System environment
The corresponding systemd scope units are in the abandoned state, while systemd-logind reports the sessions as closing. The original processes no longer exist, and the scopes have no running tasks.
The counts match exactly:
The timestamps of newly created scope files coincide with the daily spam-training window. I therefore suspect a connection between ExecuteSpamtrain, the short-lived su sessions, and session cleanup by systemd-logind. However, I have not yet established that spam training is the sole cause.
I would prefer not to modify Plesk maintenance scripts or manually delete transient scope files. I am looking for a safe, supported solution that cleans up the existing entries and prevents them from accumulating again.
Thank you for any advice or suggestions.
- Plesk: Obsidian 18.0.81.4, build 2026/10/21 21:00
- Operating system: Ubuntu 24.04.5 LTS
- Virtualization: OpenVZ (Virtual Cloud Server)
- Kernel: 5.4.0
- systemd: 255.4-1ubuntu8.18
- libpam-systemd: 255.4-1ubuntu8.18
- D-Bus: 1.14.10-4ubuntu4.1
Problem description
A large number of orphaned sessions belonging to the system user popuser have accumulated on my Plesk mail server. The current count is 1,742 sessions.The corresponding systemd scope units are in the abandoned state, while systemd-logind reports the sessions as closing. The original processes no longer exist, and the scopes have no running tasks.
The counts match exactly:
- 1,742 popuser sessions
- 1,742 abandoned scope units
- 1,742 transient scope files under /run/systemd/transient/
Possible connection with Plesk
The journal records the daily Plesk maintenance task ExecuteSpamtrain. During this task, short-lived su commands are executed as popuser to train SpamAssassin mailboxes.The timestamps of newly created scope files coincide with the daily spam-training window. I therefore suspect a connection between ExecuteSpamtrain, the short-lived su sessions, and session cleanup by systemd-logind. However, I have not yet established that spam training is the sole cause.
Impact and tests performed
- Postfix and Dovecot remain active.
- systemd-logind is active and has not restarted.
- CPU usage by PID 1 and systemd-logind is negligible.
- /run/systemd/transient/ uses approximately 6.9 MB.
- The installed systemd version, 255.4-1ubuntu8.18, is also the candidate version in the configured Ubuntu repositories.
Questions for Plesk and the community
- Is this issue involving ExecuteSpamtrain and systemd-logind known on Plesk Obsidian 18.0.81.4?
- Is there a Plesk patch, hotfix, or documented fix for this behavior?
- Is there a known condition under which the spam-training routine can leave orphaned su sessions?
- What is the recommended and supported method for cleaning up the accumulated closing sessions and abandoned scopes?
- Should the root cause be investigated in Plesk, Ubuntu/systemd, or the OpenVZ container environment?
I would prefer not to modify Plesk maintenance scripts or manually delete transient scope files. I am looking for a safe, supported solution that cleans up the existing entries and prevents them from accumulating again.
Thank you for any advice or suggestions.