Jump to content

Search Very Slow (3 minute response)


Recommended Posts

Posted

@brian5678can you be more specific? Are your loading issues more than just from the search page? If you are having slowness/loading issues in other places can you create a separate thread and include log files for those, so they can be tracked properly by the devs?

  • Like 1
bandit8623
Posted (edited)
18 hours ago, Rumzzz said:

It looks like about half of my cores.

Are you able to search with multiple words without issue? How big is your library / what kind of content is it?

yeah when i do i dont really see any cpu usage at all.  also searches are all super fast.

image.png.cc13488d0d4774f7f0a4312464e8ddbb.png

image.png.a68efb6a17609e31f7fb90188a60d075.png

image.png.0ad5154031d6ff4fbd9673930ff69b66.png

Edited by bandit8623
  • Agree 1
Posted

Are these all TV/Movies? How many items in the library?

My cache is set to 10GB (4GB database file), only Music.

Lately I've found some single word searches that are taking forever (like War) regardless if it's put in quotes. But then I'll type Beyonce without quotes and results come back instantly, so I am not sure anymore if this issue is exclusive to multi-word searches. 

bandit8623
Posted
Just now, Rumzzz said:

Are these all TV/Movies? How many items in the library?

My cache is set to 10GB (4GB database file), only Music.

Lately I've found some single word searches that are taking forever (like War) regardless if it's put in quotes. But then I'll type Beyonce without quotes and results come back instantly, so I am not sure anymore if this issue is exclusive to multi-word searches. 

tv movies and music.  not much music.

when i type "war" its all up in 1-2 seconds

 

 

Posted

How large is your library.db file?

My files have a bunch of tags (performer, composer, feature, studio, etc.) that may be influencing the query time.

Generally speaking, 30tb of music is a lot more individual items than 30tb of videos, but yours seems like a mixed case.

bandit8623
Posted (edited)
5 minutes ago, Rumzzz said:

How large is your library.db file?

My files have a bunch of tags (performer, composer, feature, studio, etc.) that may be influencing the query time.

Generally speaking, 30tb of music is a lot more individual items than 30tb of videos, but yours seems like a mixed case.

500MB

are you using hardware raid, software raid, no raid. for storage?

Edited by bandit8623
Posted (edited)

Yeah db size might have something to do with it (maybe in combination with inefficient sql querying?), mine is nearing 4.5GB.

Edit: The emby server install is on an NVME drive, all the music files are spread between 4 HDD (combined into a single virtual volume using drivepool)

 

Edited by Rumzzz
  • Like 1
  • 2 weeks later...
Posted

Hi @Lukeis the "People query fixes" in 4.9.2.7-beta related to this issue? If so I'll update and test.

  • Like 1
Posted
19 minutes ago, Rumzzz said:

Hi @Lukeis the "People query fixes" in 4.9.2.7-beta related to this issue? If so I'll update and test.

Hi, no it’s not.

  • Like 2
Posted (edited)

Just to add, I am experiencing this since the latest update as well. They aren't minutes long but much longer than before. Sometimes 5 to 10 seconds for anything to show up.

 

Edit: as an example, if I search the word groove. Then the movie emperor's new groove shows up in 1 second. If I search new groove, it takes 7 seconds until anything shows up.

Edited by slicedmass
  • Thanks 1
Posted

i can report same issue.  

Searching for: spider man 

takes forever (like 5minutes of spinning wheel)

Searching for: "spider man"  

with parentheses is very fast, seconds.

  • Agree 1
Posted

Same for me:
Jurassic park >>> search very slow
"Jurassic park" >>> result instantly (less than 1 second)

  • Agree 1
bandit8623
Posted
14 minutes ago, TuXFire said:

Same for me:
Jurassic park >>> search very slow
"Jurassic park" >>> result instantly (less than 1 second)

tried both.  both fast for me. the quotes just narrows down the output to 6 items.

Posted
4 minutes ago, bandit8623 said:

tried both.  both fast for me. the quotes just narrows down the output to 6 items.

Jurassic was 1 second for me

Jurassic Park was 5 to 6 seconds.

  • Agree 1
Happy2Play
Posted (edited)
On 12/7/2025 at 5:20 PM, slicedmass said:

Just to add, I am experiencing this since the latest update as well. They aren't minutes long but much longer than before. Sometimes 5 to 10 seconds for anything to show up.

 

Edit: as an example, if I search the word groove. Then the movie emperor's new groove shows up in 1 second. If I search new groove, it takes 7 seconds until anything shows up.

This is what I see also.  5 to 10 seconds depending on the search words and about 1 second for same search in quotes. 

As the unquoted search is looking for everything that contains either word.

Edited by Happy2Play
  • Like 1
bandit8623
Posted
3 minutes ago, Happy2Play said:

This is what I see also.  5 to 10 seconds depending on the search words and about 1 second for same search in quotes. 

As the unquoted search is looking for everything that contains either word.

i do have my data on a hardware raid ssd array as well,  so that could be why mine is very very quick for both

Posted

This is a problem (no workaround) when using the Roku app because paratheses " ."  are not part of its keyboard. 

 

Posted

I've also had multiple users report that even single word searches (Like WAR or Leon) also results in seemingly endless spinning, even when put inside quotes.

Seems like the users reporting that this isn't a problem for them are either running on ssd raids or have smaller database sizes.

  • Agree 1
Posted (edited)
22 hours ago, Chillout said:

This is a problem (no workaround) when using the Roku app because paratheses " ."  are not part of its keyboard. 

 

 

image.thumb.jpeg.c8e0ffb8f6508616e77fc12d4d340f0b.jpeg

image.thumb.jpeg.c4fff66d1f8a27619033b0916129b085.jpeg

The Roku does have access to a full keyboard. It is just broken down into different keyboard styles. There are 3 keyboard styles: General, symbols, and accents. The double quote is under symbols. You can mix keyboard styles when entering text to search by.

Edited by speechles
  • Like 1
  • Thanks 1
adminExitium
Posted
6 hours ago, Rumzzz said:

even single word searches (Like WAR or Leon) also results in seemingly endless spinning

Does this happen only on the first query or even if you do multiple searches one after the other? Can you provide logs for this? I have a 7 GB DB file and searching for either of those returns results in <250 ms on average.

The DB is on NVMe but that should affect only the first query, any subsequent tries should be served from the DB cache in memory.

  • Like 1
Posted

In the case of searching for WAR, both the initial search and subsequent searches all take me 4-6 minutes to return results. I've attached a log file immediately following this test.

embyserver.txt

  • Like 1
Posted

@RumzzzNot sure, but look at these load times and responses, what is going on here.

These are from you logs posted on 11-11-2025.

Interrupt query due to cancellation.2025-11-11 16:09:16.362 Info ItemsService-0HNH1CN5BBTK4:00000006: http/1.1 Response 500 to 127.0.0.1. Time: 103191ms. GET http://127.0.0.1:8096/emby/Users/b359ca2fc14041ccb9800a0996d6f474/Items?Fields=BasicSyncInfo,CanDelete,CanDownload,PrimaryImageAspectRatio,ProductionYear,Status,EndDate&StartIndex=50&SortBy=SortName&SortOrder=Ascending&EnableImageTypes=Primary,Backdrop,Thumb&ImageTypeLimit=1&Recursive=true&SearchTerm=kanye west&GroupProgramsBySeries=true&Limit=50&EnableTotalRecordCount=false&IncludeSearchTypes=false&X-Emby-Client=Emby Web&X-Emby-Device-Name=Google Chrome Windows&X-Emby-Device-Id=bcdaceb6-a5db-4de3-9d40-b2d9a6972af7&X-Emby-Client-Version=4.9.1.90&X-Emby-Token=x_secret2_x&X-Emby-Language=en-us. 
 

  • Like 1
Posted

searching for "war" takes a long time

searching for "wargames" or "warcraft" is almost instant for me as it pulls up a few videos or tv shows with that information.

It seems the server is trying very hard to display everything at once before displaying it rather than just displaying it as it finds it (like windows search).  And while its looking the server becomes sluggish and unresponsive even though its only use 10% cpu

image.thumb.png.963934c3836a2c496e4ed38b3a0c0dc2.png

  • Agree 1

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