What happened:
Claude helped me write this. I have no idea about this kind of stuff.
Similar symptoms to #1870, which was closed as resolved in October 2025 — but I'm reproducing this reliably on the current release, so filing separately in case it's a regression or a related-but-distinct issue.
portmaster-core RSS grew from a baseline of ~550-600MB to ~20GB over roughly 17 hours of continuous uptime (no reboot). The system eventually became swap-thrashed (13-15GB swap in use, <1GB RAM free), with sustained ~1300% CPU across ~65-84 portmaster-core threads and 80%+ system (kernel) time. The desktop UI was stuck on "connecting to system service" during this period, though the system tray pause control still appeared to function.
Pausing Portmaster via the tray icon caused RSS to drop sharply from ~14GB to ~550-600MB within about 30 seconds. After pausing, RSS stayed flat (550-750MB) over several minutes of continued monitoring, even while heavy local file activity continued in the background (a Windows DJ application running under Wine/Bottles was actively writing metadata tags to ~16,000 audio files on NTFS-mounted drives).
/proc/net/nf_conntrack stayed low (~994-1950 entries) throughout, which seems to rule out connection-tracking-table bloat as the cause — RSS growth did not correlate with tracked connection count. Wine/process thread count was modest (~21 wine-related processes, ~546 total system processes) and didn't appear to correlate with process churn either.
What did you expect to happen?:
portmaster-core memory usage should remain bounded/stable over long uptime periods regardless of local file system activity from monitored applications.
How did you reproduce it?:
Leave Portmaster running for an extended period (12h+, longer than my typical 12-15h/day usage) with sustained local file activity from a process it's actively monitoring — in my case, a Wine/Bottles-hosted Windows application (Serato DJ Pro 3.3.5) doing batch metadata writes to thousands of files on 2x NTFS-mounted drives. Not yet confirmed as a minimal repro (network activity vs. file activity vs. simply long uptime not yet isolated) — will update if I can narrow it further. Note: no unusual network connection volume was involved, this was local file activity, not network traffic, and conntrack count stayed low throughout.
Debug Information:
Portmaster version: 2.0.0-6 (portmaster-bin, AUR — official prebuilt binaries)
OS: CachyOS (Arch-based), kernel 7.1.8-1-cachyos
RAM: 32GB, Swap: 32GB
SPN: not in use
Will forward logs from /var/lib/portmaster/log (couldn't find the folders Core Logs: /opt/safing/portmaster/logs/core / App Logs: /opt/safing/portmaster/logs/app / Notifier Logs: /opt/safing/portmaster/logs/notifier / Start Logs: /opt/safing/portmaster/logs/start per the FAQ) and debug. Let me know who I should send them to. I have sanitised the log files, but can send the originals privately if required.
What happened:
Claude helped me write this. I have no idea about this kind of stuff.
Similar symptoms to #1870, which was closed as resolved in October 2025 — but I'm reproducing this reliably on the current release, so filing separately in case it's a regression or a related-but-distinct issue.
portmaster-coreRSS grew from a baseline of ~550-600MB to ~20GB over roughly 17 hours of continuous uptime (no reboot). The system eventually became swap-thrashed (13-15GB swap in use, <1GB RAM free), with sustained ~1300% CPU across ~65-84portmaster-corethreads and 80%+ system (kernel) time. The desktop UI was stuck on "connecting to system service" during this period, though the system tray pause control still appeared to function.Pausing Portmaster via the tray icon caused RSS to drop sharply from ~14GB to ~550-600MB within about 30 seconds. After pausing, RSS stayed flat (550-750MB) over several minutes of continued monitoring, even while heavy local file activity continued in the background (a Windows DJ application running under Wine/Bottles was actively writing metadata tags to ~16,000 audio files on NTFS-mounted drives).
/proc/net/nf_conntrackstayed low (~994-1950 entries) throughout, which seems to rule out connection-tracking-table bloat as the cause — RSS growth did not correlate with tracked connection count. Wine/process thread count was modest (~21 wine-related processes, ~546 total system processes) and didn't appear to correlate with process churn either.What did you expect to happen?:
portmaster-corememory usage should remain bounded/stable over long uptime periods regardless of local file system activity from monitored applications.How did you reproduce it?:
Leave Portmaster running for an extended period (12h+, longer than my typical 12-15h/day usage) with sustained local file activity from a process it's actively monitoring — in my case, a Wine/Bottles-hosted Windows application (Serato DJ Pro 3.3.5) doing batch metadata writes to thousands of files on 2x NTFS-mounted drives. Not yet confirmed as a minimal repro (network activity vs. file activity vs. simply long uptime not yet isolated) — will update if I can narrow it further. Note: no unusual network connection volume was involved, this was local file activity, not network traffic, and conntrack count stayed low throughout.
Debug Information:
Portmaster version: 2.0.0-6 (portmaster-bin, AUR — official prebuilt binaries)
OS: CachyOS (Arch-based), kernel 7.1.8-1-cachyos
RAM: 32GB, Swap: 32GB
SPN: not in use
Will forward logs from
/var/lib/portmaster/log(couldn't find the folders Core Logs: /opt/safing/portmaster/logs/core / App Logs: /opt/safing/portmaster/logs/app / Notifier Logs: /opt/safing/portmaster/logs/notifier / Start Logs: /opt/safing/portmaster/logs/start per the FAQ) and debug. Let me know who I should send them to. I have sanitised the log files, but can send the originals privately if required.