-
-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Labels
bug 🐛Something isn't workingSomething isn't working
Description
Describe the Bug
I am runnig a pode web apoplication on Linux. We are experiencing rising memory usage over time,
Steps To Reproduce
Steps to reproduce the behavior:
- Restart the systemd service running the Pode Web application
- Monitor memory usage
- memory usage steadily climes over several weeks.
Expected Behavior
Memory usage should be fairly constant.
Screenshots
Servers memory usage over time.
Platform
- OS:
- Browser: Should alway be Chrome
- Versions: Server AlmaLinux 9.6 (Sage Margay)
- Pode: 2.12.1
- Pode.Web: 0.8.3
- PowerShell: 7.5.2
Additional Context
I am using the following modules.
AWS.Tools.SecretsManager
POSH-SSH
PSPGP
I am running another Pode.Web application hosted on a windows server and I do not have any memory issues.
I have gone through my code and made sure all SSH sesions are closed out. I have implemented a schedule to for garbage collection.
# Schedule to execute garbage collection
$Cron = New-PodeCron -Every Minute -Interval 5
Add-PodeSchedule -Name 'GarbageCollection' -Cron $Cron -ScriptBlock {
[System.GC]::Col
Start-Sleep -Milliseconds 300
[System.GC]::Collect()
}
Metadata
Metadata
Assignees
Labels
bug 🐛Something isn't workingSomething isn't working
Projects
Status
Backlog