rpcd_spoolss memoryleak and high cpu-usage?

Bug #2080070 reported by Hans Otto Lunde
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
New
Undecided
Unassigned

Bug Description

I run a samba server for a small business.
It's not connected to a Windows AD, we are not using that.
So I am not running Winbind, just smbd and nmbd.
Most clients are Windows machines with a few Mac's and Linux-clients.
Everything works fine, file sharing and printing (via cups).
What causes me to file this report is that the rpcd_spoolss-process behaves strangely.
When the server is idle, it's cpu-usage rises slowly but continously and so does its memory-usage.
Funnily, it seems to go back to normal, when people start working in the morning and use the server.

The server in question is Ubuntu server 24.04.1 LTS - just upgraded from 22.04, that did not have this problem. So the Samba version is 4.19.5.

I should think that others will experience this.
It is not a HUGE problem, but it smells like a bug to me.

Thanks for all the great work Ubuntu is doing for the open-source community!

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: samba 2:4.19.5+dfsg-4ubuntu9
ProcVersionSignature: Ubuntu 6.8.0-41.41-generic 6.8.12
Uname: Linux 6.8.0-41-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.1
Architecture: amd64
BothFailedConnect: Yes
CasperMD5CheckResult: unknown
Date: Mon Sep 9 22:02:28 2024
NmbdLog:

SambaServerRegression: Yes
SmbConfIncluded: Yes
SmbLog:

SourcePackage: samba
TestparmExitCode: 0
UpgradeStatus: Upgraded to noble on 2024-09-06 (3 days ago)
modified.conffile..etc.init.d.apport: [modified]
mtime.conffile..etc.init.d.apport: 2024-07-22T16:59:07

Revision history for this message
Hans Otto Lunde (ho-egmont-hs) wrote :
Revision history for this message
Hans Otto Lunde (ho-egmont-hs) wrote :

I would like to hear if others can confirm this?
There is no doubt that the rpcd_spoolss-process eats up memory.
If left for some hours it will grab 1-2 gigabytes of memory.
And on a system running idle it will also slowly but surely increase it's cpu-usage.
Anyone?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.