Closed westsurname closed 8 months ago
try with use_download_cache: false
also since you have a default __all__
directory you don't really need to setup any directories as that also consumes memory
I'll try this and get back with an update.
Currently I'm attempting to use this as a plug and play replacement for parts of my current setup, so I'd like to change as little as possible. It's definitely good to know that it's more efficient to stick with the __all__
directory, though I'm curious what is the likelihood that it's consuming enough memory to cause this issue.
125960192 bytes doesn't sound that much honestly
Same issue with use_download_cache: false
, though this time it's 190709760 in use.
I think you have a very low limit that you have set
I'm on a shared server with a large amount of ram and afaik no limit, but I'll run some tests and see if I come across a limit.
total used free shared buff/cache available
Mem: 503Gi 184Gi 5.7Gi 841Mi 313Gi 313Gi
Swap: 0B 0B 0B
I just ran a simple script to consume 3 GB of ram and it did so without issue:
Allocating 100.0 MB of RAM
Available RAM: 313.2041702270508 GB, Used RAM: 184.20080947875977 GB
...
Available RAM: 310.5371856689453 GB, Used RAM: 186.91444778442383 GB
Allocating 3000.0 MB of RAM
this is the first time i've seen the error so unfortunately I cannot help. Maybe best to ask in plex_debrid Discord
Not running in docker.
Is this being developed hand-in-hand with plex_debrid?
No but I use their discord a lot because a lot of them also use zurg
Good news and bad new. Good news is that this appears to be working nicely, bad news is that the issue was probably pebcak and I was running the arm64 version instead of the amd64 one.
@westsurname ohh 🤦🏼
So it turns out that this issue never really went away and was just masked by pthread_create
error instead. It happens because my user has a virtual memory limit of 10GB and as the ram usage increases to over 100MB the virtual memory allocation increases above the 10GB.
$ ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 2062595
max locked memory (kbytes, -l) 65536
max memory size (kbytes, -m) unlimited
open files (-n) 200000
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 2000
virtual memory (kbytes, -v) 10000000
file locks (-x) unlimited
Actual Behavior Regular crashes
Operating System Linux
Environment Setup I'm running the amd64 binary. Built At: 2023-12-18T01:53:52 Commit: 274d60f5ed9b1544faee36f76a714500fe1fb637 Version: v0.9.2-hotfix.4
Logs zurg.log
Rclone Configuration
Zurg Configuration