dv1r 27 Posted June 1, 2021 Posted June 1, 2021 I recently migrated to a DS1621+ and the Emby system is pretty slow in its responses. Do I need to do anything special when migrating from xpenology to Synology? I am running DSM version 6.2.4 Emby version : 4.6.1.0
Luke 42077 Posted June 1, 2021 Posted June 1, 2021 Hi there, please attach the emby server log from when this happened. Thanks.
dv1r 27 Posted June 8, 2021 Author Posted June 8, 2021 Hi @Luke, the emby server has gone through an update since this started. What Logs should I send exactly?
Luke 42077 Posted June 8, 2021 Posted June 8, 2021 The one from the time frame in which the problem was experienced. Thanks.
dv1r 27 Posted June 10, 2021 Author Posted June 10, 2021 Its always like this. Ever since the migration. Do you want all of the logs? I can Zip and PM them to you...
Carlo 4560 Posted June 15, 2021 Posted June 15, 2021 Your system is better now correct after the vacuum and database cache size change?
dv1r 27 Posted June 16, 2021 Author Posted June 16, 2021 Yes, Everything is much quicker. Some whole page loading (like home page or music library main page) still have some delay/lag. I think this might be a RAM issue. I have ordered RAM expansion. After the memory upgrade, I will update here if its still going on.
Luke 42077 Posted June 16, 2021 Posted June 16, 2021 Thanks for the feedback. Let us know how you get on.
JohnWhitmore 28 Posted June 21, 2021 Posted June 21, 2021 Hello, I am curious about this statement Your system is better now correct after the vacuum and database cache size change? I have seen how to vacuum...but is there any info on the cache size and a rough guide on best sizing?
Carlo 4560 Posted June 21, 2021 Posted June 21, 2021 512 MB is probably the highest you would likely get use of but you can set it higher to 1024 if you like. The memory will only get used if it can be used and won't be pre-allocated. Just make sure you normally have free memory available before updating this setting.
dv1r 27 Posted June 21, 2021 Author Posted June 21, 2021 Hi @JohnWhitmore, The DB vacuum did help my system a lot. All of my "critical" issues were resolved. Only a few minor lags remain. I hope this is due to lack of memory. The memory only arrived today and I am having some issues with the installation Once the system will be running for a few days I will report back.
Carlo 4560 Posted June 22, 2021 Posted June 22, 2021 What issues are you having with the memory install?
dv1r 27 Posted June 22, 2021 Author Posted June 22, 2021 Nas issues not emby.. The new memory didn't pass the Synology memtest a few times but at different % of progress. Then I tried to switch slots and the nas went crazy. Reboots and flashing lights. Now I was finally able to properly boot the system and decided it's too late for any more risky attempts. I am doing a controlled shut down. Tomorrow I will install the original memory and contact Amazon.
MAX92 91 Posted June 22, 2021 Posted June 22, 2021 How do you do for vacuum db and change cache size on Synology ?
FrostByte 5392 Posted June 22, 2021 Posted June 22, 2021 3 hours ago, MAX92 said: How do you do for vacuum db and change cache size on Synology ? Edit the following on DSM 7: /volume1/@appdata/EmbyServer/config/system.xml If you're still on DSM6 I believe the path is /volume1/@appstore/EmbyServer Change these two lines: <VacuumDatabaseOnStartup>true</VacuumDatabaseOnStartup> <DatabaseCacheSizeMB>1024</DatabaseCacheSizeMB>
MAX92 91 Posted June 22, 2021 Posted June 22, 2021 thanks @FrostByte Is this possible in the server interface ?
kaj 316 Posted June 22, 2021 Posted June 22, 2021 (edited) In my Synology the folder the system.xml file is in: Emby/config (volume1/Emby/config) I have to give my admin user r/w to the Emby folder so that I can see and edit it. DSM 6.2 Edited June 22, 2021 by kaj 1
FrostByte 5392 Posted June 22, 2021 Posted June 22, 2021 38 minutes ago, MAX92 said: thanks @FrostByte Is this possible in the server interface ? I believe @Luke mentioned adding it to the gui at some point, but I'm not seeing it in the latest beta
Adminelite 4 Posted June 28, 2021 Posted June 28, 2021 lösche alle Cache Daten und mach dir eigene Pfad Z.B. Metadaten: /volume1/Emby/cache/Bildmaterial und Metadaten/metadata
dv1r 27 Posted July 5, 2021 Author Posted July 5, 2021 So after a RAM upgrade and a new SSD cache (thank you prime day ) the system is running smoothly. I set DB DatabaseCacheSizeMB to 1024. I noticed that every time I change something my library scanning stops working and I have to manually run: ~$ sudo sh -c '(sleep 90 && echo 204800 > /proc/sys/fs/inotify/max_user_watches)&' ~$ cat /proc/sys/fs/inotify/max_user_watches To get it back to 204800 Thanks for all the help guys
DJX 18 Posted July 6, 2021 Posted July 6, 2021 Great. In what area did you get benefits with the SSD for cache and what does Emby store in the cache?
dv1r 27 Posted July 6, 2021 Author Posted July 6, 2021 5 hours ago, DJX said: In what area did you get benefits with the SSD for cache I don't know if it is the cache or the RAM that helped performance as they were installed within hours of each other. Loading pages and browsing the library is faster than before. 5 hours ago, DJX said: what does Emby store in the cache How would I check this? I believe it stores some metadata and some content but this is just my guess.
FrostByte 5392 Posted July 6, 2021 Posted July 6, 2021 12 hours ago, dv1r said: So after a RAM upgrade and a new SSD cache (thank you prime day ) the system is running smoothly. I set DB DatabaseCacheSizeMB to 1024. I noticed that every time I change something my library scanning stops working and I have to manually run: ~$ sudo sh -c '(sleep 90 && echo 204800 > /proc/sys/fs/inotify/max_user_watches)&' ~$ cat /proc/sys/fs/inotify/max_user_watches To get it back to 204800 Thanks for all the help guys I've got mine set to do that automatically at every reboot because it gets wiped out every time there's an Synology update or some change with my system
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now