Jump to content

MediaServer web interface slow


Recommended Posts

Posted

I have following setup:

 

  • Windows 10.
  • MediaServer 3.3.1.0.
  • Local Digital Devices Max S8 tuner to record DVB-S streams.
  • Several TS Stream Device recording Internet radio.
  • At any given time, about 40 timers programmed, simultaneously recording ~10 channels: DVB-S and Internet.

 

The interface is sluggish, clicking on any tab (Timeline, Timers, Status, Configuration) takes >= 10 seconds to load. Sometimes freezes are much longer. Recordings seem to be unaffected, we see they come in time. The CPU stays at ~2.5% and memory usage at 180 MB. I don't see memory increase.

 

The issue seems to be similar to my previous issue: https://www.DVBViewer.tv/forum/topic/74183-mediaserver-web-interface-extremely-sluggish/  but I tried deleting SvcDatabase.db3 and no change. Also, no elevated CPU and memory usage.

 

support.zip

Posted
vor 9 Stunden schrieb reki:

Several TS Stream Device recording Internet radio (...) The interface is sluggish, clicking on any tab (Timeline, Timers, Status, Configuration) takes >= 10 seconds to load.

 

It is most likely caused by repeated attempts to record one or more non-working internet radio channels. There are a lot of "SetTuner failed" entries in your svcdebug.log. Probably the radio server does not reply, for whatever reason, so the tuning procedure waits until the connection timeout has elapsed (default 5000 milliseconds, see settings of your TS Stream devices). During this time the Media Server is not able to respond to other requests. It becomes a permanent issue, because the recorder tries again and again to start a recording of this channel, until the timer end time is reached.

 

There are two measures that have to be taken. One is up to you, the other one up to me:

  • You need to clean up your timer list and make sure that it only contains timers for radio channels that are working reliably.
  • I have to think about measures that avoid such uselessly repeated recording attempts, e.g. by letting the recorder give up after a certain number of failed attempts, or retry tuning only once per minute.

I will let you know as soon as I have a solution for it...

 

  • Like 1

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