Jump to content

MediaServer web interface extremely sluggish


reki

Recommended Posts

Posted

Hello,

 

I have following setup:

  • Windows 10,
  • MediaServer 3.3.0.0 service,
  • *minisatip* service on the other computer, with 2x Digital Devices MAX M4 configured to record DVB-C channels. Minisatip works with these tuners and also Digital Devices Octopus CI slots. MediaServer has Minisatip instance connected as RTSP Server (8 instances).
  • local Digital Devices Max S8 tuner to record DVB-S streams.
  • At any given time, about 40 timers programmed, simultaneously recording ~10 channels.

 

The problem is that the web interface loads extremely slowly, about 30 seconds to refresh the interface. It is not always though, there seems to be a cycle between slow and fast response:

 

  • I enter http://192.168.9.11:8089/ it hangs on the GET for about 30 seconds then loads the interface. During the hang, the CPU stays at about 24%, memory usage usually increases.
  • After the interface loads, everything is snappy once again, CPU usage drops to <1%.
  • Then, when I click something on the interface, the CPU usage goes up again and everything hangs for about ~30 seconds.

 

High CPU usage:

 

 

Screenshot_2024-08-21_11-39-41.thumb.png.6c10bc2eef581d00999dc71a64d1853c.png

 

The state when the interface works OK:

 

Screenshot_2024-08-21_11-44-37.thumb.png.b127da831a685129a7acb02b15d25f34.png

 

 

I also observed that just after MediaServer startup, the memory usage was about 100 MB. When I go to web interface for the first time, I had to wait almost a minute, memory increased 100 -> 450 MB.

 

Overall, there seems to be a pattern that then the web interface is accessed, the memory usage increases and interface hangs for about 30 s.

 

 

support.zip

Posted
vor 35 Minuten schrieb reki:

The problem is that the web interface loads extremely slowly, about 30 seconds to refresh the interface.

 

There is an obvious problem with your recording database. The file is damaged.

 

Zitat

21.08.24 12:39:19.239 TRecordDatabase      SvcDatabase.db3 UpdateEntryVideoData ESQLiteException at 0055FDFC: Error executing SQL statement.
Error [11]: The database disk image is malformed.

 

Stop the Media Server, remove the file SvcDatabase.db3 from the Database sub-directory of the (DVBViewer) configuration folder, restart the Media Server and check if it is working better.

 

The file will be recreated automatically, but not its content. This is only possible with Web Interface -> Tasks -> Update Recording Database  if EPG info files (*.txt) exist for you recordings. They are a kind of external database backup.

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...