Memory leak using SABnzbd
Forum rules
Help us help you:
Help us help you:
- Are you using the latest stable version of SABnzbd? Downloads page.
- Tell us what system you run SABnzbd on.
- Adhere to the forum rules.
- Do you experience problems during downloading?
Check your connection in Status and Interface settings window.
Use Test Server in Config > Servers.
We will probably ask you to do a test using only basic settings. - Do you experience problems during repair or unpacking?
Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Memory leak using SABnzbd
Greetings,
i have problems with the used memory while running SABnzbd... you can see the memory allocation grows permanently and after 30 to 60 minutes (only when active, not in idle mode) the physical memory is gone and swapping begins.
Only a reboot helps to get the memory free again.
Is this a known issue?
Windows 10 64bit
16 GB RAM
SABnzbd 1.0.3 [927ba3c]
What more informations are needed?
Thank you!
Regards
Blutspur
i have problems with the used memory while running SABnzbd... you can see the memory allocation grows permanently and after 30 to 60 minutes (only when active, not in idle mode) the physical memory is gone and swapping begins.
Only a reboot helps to get the memory free again.
Is this a known issue?
Windows 10 64bit
16 GB RAM
SABnzbd 1.0.3 [927ba3c]
What more informations are needed?
Thank you!
Regards
Blutspur
Re: Memory leak using SABnzbd
What is your article cache setting? (Config->General)
Re: Memory leak using SABnzbd
450M (Default)
Re: Memory leak using SABnzbd
The only known case of a memory leak on a Windows system with SABnzbd
is described in the "Known issues" file:
The only other work-around we made for some obscure embedded systems is this:
Config->General->use_pickle
If you set that to 1, another method of saving the job administration is used.
That's worth a try.
BTW: you say that only a reboot solves the memory leak.
Is that a reboot of Windows or of SABnzbd?
If it's the first, it may not be SABnzbd itself that is the cause (but possibly a trigger).
is described in the "Known issues" file:
However, that may not apply to a Windows 10 system.- A bug in Windows 7 may cause severe memory leaks when you use SABnzbd in
combination with some virus scanners and firewalls.
Install this hotfix:
Description: http://support.microsoft.com/kb/979223/en-us
Download location: http://support.microsoft.com/hotfix/KBH ... kbln=en-us
The only other work-around we made for some obscure embedded systems is this:
Config->General->use_pickle
If you set that to 1, another method of saving the job administration is used.
That's worth a try.
BTW: you say that only a reboot solves the memory leak.
Is that a reboot of Windows or of SABnzbd?
If it's the first, it may not be SABnzbd itself that is the cause (but possibly a trigger).
Re: Memory leak using SABnzbd
I meant reboot of Windows... shutdown of the SABnzbd daemon doesn't change anything.
The usage of SABnzbd is definitely the trigger, if it the cause i can't say.
I'll try your work-around and post the results.
The usage of SABnzbd is definitely the trigger, if it the cause i can't say.
I'll try your work-around and post the results.
Re: Memory leak using SABnzbd
Sorry, no change in general.
I also tried to reduced the article cache from 400M to 256M but situation seems to be the same.
Do you have any further ideas?
Regards
Blutspur
I also tried to reduced the article cache from 400M to 256M but situation seems to be the same.
Do you have any further ideas?
Regards
Blutspur
Re: Memory leak using SABnzbd
Do you have any "security" software installed?
Especially software firewalls other than the standard Windows Firewall?
Especially software firewalls other than the standard Windows Firewall?
Re: Memory leak using SABnzbd
Windows Firewall as Default and Avira Free Antivirus only.
Re: Memory leak using SABnzbd
I have no explanation.
Since it is not reported by other Windows users (80% of the SABnzbd users are on Windows),
it is specific to your system.
Does the problem go away if you downgrade to 0.7.20?
Since it is not reported by other Windows users (80% of the SABnzbd users are on Windows),
it is specific to your system.
Does the problem go away if you downgrade to 0.7.20?
Re: Memory leak using SABnzbd
Same problem here with 1.0.3 [927ba3c].
Win10 Home x64
16Go
It seems fairly recent. I only noticed it when queuing lots of files, otherwise my 16Go could take the leak but those 2 times the system slowed to a crawl and had to reboot windows.
Tried to check process memory using the task manager but can't pinpoint where the memory is gone, just the committed memory grows non stop while downloading.
To me it feels like it started after the anniversary update of win10 a few weeks back but can't be sure.
I'll probably try a downgrade to 0.7.20 in the next few days.
Windows defender & malwarebyte anti exploit are the only 2 security software installed.
Win10 Home x64
16Go
It seems fairly recent. I only noticed it when queuing lots of files, otherwise my 16Go could take the leak but those 2 times the system slowed to a crawl and had to reboot windows.
Tried to check process memory using the task manager but can't pinpoint where the memory is gone, just the committed memory grows non stop while downloading.
To me it feels like it started after the anniversary update of win10 a few weeks back but can't be sure.
I'll probably try a downgrade to 0.7.20 in the next few days.
Windows defender & malwarebyte anti exploit are the only 2 security software installed.
Re: Memory leak using SABnzbd
I did see this thread about the update:
https://www.reddit.com/r/usenet/comment ... nnections/
Would be interesting to see if downgrading helps.. Keep us updated
https://www.reddit.com/r/usenet/comment ... nnections/
Would be interesting to see if downgrading helps.. Keep us updated
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Re: Memory leak using SABnzbd
Ok I haven't tried 0.7.20 but I don't think it'll change anything.
It doesn't seem to be a sabnzbd problem but a downloading problem since the last win10 update.
I saw the mem leak with downloading torrents and also using my own multiconnection downloader that I use to download youtube and twitch videos.
It doesn't seem to be a sabnzbd problem but a downloading problem since the last win10 update.
I saw the mem leak with downloading torrents and also using my own multiconnection downloader that I use to download youtube and twitch videos.
Re: Memory leak using SABnzbd
Ok so I seem to have found the source and the fix for my leak. Hopefully that might help Blutspur and others that have the same config.
My motherboard comes with a Killer e2400 network card. The default driver comes with an application suite from Killer and that app seems to be the problem.
To fix it:
Go to your motherboard website, then to support then to drivers.
In the driver list I had 2 options for the Killer driver:
-Killer Network Driver
-Killer Network Driver (driver only)
Download the 2nd one (driver only) then unzip the file somewhere convenient.
Then uninstall the killer app. You will need to reboot windows and when you boot back, you won't have an internet connection.
Go to where you unziped the driver only zip, right click on the *.inf file and click "install" in the context menu.
Your internet connection comes back up and at least in my case the memory leak seems to be gone.
My motherboard comes with a Killer e2400 network card. The default driver comes with an application suite from Killer and that app seems to be the problem.
To fix it:
Go to your motherboard website, then to support then to drivers.
In the driver list I had 2 options for the Killer driver:
-Killer Network Driver
-Killer Network Driver (driver only)
Download the 2nd one (driver only) then unzip the file somewhere convenient.
Then uninstall the killer app. You will need to reboot windows and when you boot back, you won't have an internet connection.
Go to where you unziped the driver only zip, right click on the *.inf file and click "install" in the context menu.
Your internet connection comes back up and at least in my case the memory leak seems to be gone.
Re: Memory leak using SABnzbd
I too am experiencing *huge* memory loss, using SABNzbd 1.0.3 [927ba3c] (on Synology). Memory consumption can easily grow over 1G (and never gets returned), after which I have to restart the process.
Seems the Synology version is Python based (which is what probably accounts for the huge memory losses). Isn't there a stable binary version that can be used on Synology?!
The Windows version I have (different machine) is a binary, and never leaks at all.
Seems the Synology version is Python based (which is what probably accounts for the huge memory losses). Isn't there a stable binary version that can be used on Synology?!
The Windows version I have (different machine) is a binary, and never leaks at all.
Re: Memory leak using SABnzbd
What helps on some systems is to set Config->Special->use_pickle to 1 and restart.
It is obvious that there is an issue in the Python libraries, which we cannot solve.
Using the special option makes SABnzbd use another (less efficient) method of saving its administration.
This could fix the memory leak.
It is obvious that there is an issue in the Python libraries, which we cannot solve.
Using the special option makes SABnzbd use another (less efficient) method of saving its administration.
This could fix the memory leak.