Jump to content

Emby sluggish on DS1621+


dv1r

Recommended Posts

dv1r

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

Link to comment
Share on other sites

Hi there, please attach the emby server log from when this happened. Thanks.

Link to comment
Share on other sites

The one from the time frame in which the problem was experienced. Thanks.

Link to comment
Share on other sites

Its always like this. 

Ever since the migration. 

Do you want all of the logs? 

I can Zip and PM them to you... 

 

Link to comment
Share on other sites

Your system is better now correct after the vacuum and database cache size change?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

JohnWhitmore

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

 

Link to comment
Share on other sites

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.

 

Link to comment
Share on other sites

FrostByte
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>

 

Link to comment
Share on other sites

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 by kaj
  • Like 1
Link to comment
Share on other sites

FrostByte
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

Link to comment
Share on other sites

Adminelite

lösche alle Cache Daten und mach dir eigene Pfad

Z.B.

Metadaten:
/volume1/Emby/cache/Bildmaterial und Metadaten/metadata
Link to comment
Share on other sites

dv1r

So after a RAM upgrade and a new SSD cache (thank you prime day :D ) 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 :) 

 

Link to comment
Share on other sites

Great. In what area did you get benefits with the SSD for cache and what does Emby store in the cache?

Link to comment
Share on other sites

dv1r

 

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. 

Link to comment
Share on other sites

FrostByte
12 hours ago, dv1r said:

So after a RAM upgrade and a new SSD cache (thank you prime day :D ) 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

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...