I just noticed that my NAS was using close to 60% of its RAM, which I’ve never actually seen before. My first suspect was Drone/Mono since heard someone mention the high memory usage on IRC before. I restarted Drone and my memory usage went down from 59% to 21%. That’s 1.14GB of memory that just freed up by restarting. I didn’t notice before since I was on develop which got various updates every week, meaning Drone would restart itself every day or two anyway. The torrents branch moves a bit slower so Drone actually gets a chance to accrue some memory over a longer period of time.
I don’t think there’s any more info I can give you guys but if there’s something I can help you with, let me know.
If you’re curious about the speed at which stuff leaks: since posting this thread I haven’t restarted Drone again until just now. My global memory usage was 40%. After restarting Drone it went down to 22%. I’ve been keeping an eye on memory usage since I first noticed Drone having an effect and it went up with a good 6% per day, steadily. That’s 6% of 3GB, so that’s about 180MB draining away daily.
Just taking a look at my server, which has been running since the last version in develop for 2 days, its sitting at a paltry 80MB RAM used.
I wonder if this is related to mono and not drone, but the sample size is extremely small, so just thinking out loud. Which version of mono is running on the syno right now?
your running a windows server aren’t you @markus101 (windows server 2012 if i remember you mentioning it correctly) if so perhaps it is mono as i am running windows 7 currently on my server (gonna switch to something else when new server is built didn’t see the point for a server that is going to be retired in the next two weeks)
I can’t see NzbDrone in the processes for as it is running as a service so can’t see individual usage but my total server usage is 1.56gb ram out of the 4gb in there and 160mb is currently being used by Sabnzbd but is actively downloading so more than usual
would be curious what linux distro the OP is running as well and if have latest mono i will try later on in a Linux Mint XFCE virtualbox VM i have and see what i get
I wouldn’t be surprised if it was Mono and not Drone. I’m currently running SynoCommunity’s Mono 3.4.0-1 package on DSM 5.0-4493 Update 5, but I was still on Update 4 when I posted the above. There were no memory-related fixes in Update 5 though. I could switch to Synology’s own Mono package and see what that does, though I don’t know what version they use and whether or not Drone will run on that. Should I try?
I have heard other people saying they had bad performance on their Synology, like @Thirrian suggests. Not sure if it’s Drone, Mono or even Synology related. Is there any way I can check anything?
As far as I know, Synology’s own mono package is too old to properly run Drone…
I’m seeing a quite high memory consumption myself, but as NMe says, I never really noticed because of the frequent updates in develop. I’ll see if I can find the time to do some memory profiling on my syno