Jump to content

Problem about WebPlayer CPU Full Load.


Mark123

Recommended Posts

Hello,everyone

    There's a confusing problem for your help.

    After restarting the server on October 10th, 2024, the TDV server service did not run properly. After manually starting the TDV service, Spotfire's CPU usage shows regular fluctuations, with a peak of 100%.

    At this point, WebPlayer resource (only one) is exhausted and templates cannot be opened.

    image.png.1bef58796ee4de830941778ca880fac7.png

    Upon investigation, it was discovered that a scheduled template has been continuously in progress.And multiple scheduled templates may refresh at the same time.

    So,I made all scheduled templates disabled and tried to make each scheduled template refresh at a different time point.

    Then,resart Spotfire server service.From 12:00 to 14:00 the spotfire is running properly and CPU load is normal, but the same problem reappeared after 14:00.

    image.thumb.png.216c123f3d367b1041c18a94b4f804ce.png

    image.thumb.png.4dde4dcd102eed7d953da2b483c3234d.png

    What's the reason and how to solve it?

    

Link to comment
Share on other sites

Hi Mark,

This is normally something you would create a support ticket for.
But you can start analyzing the situation yourself of course.

Do you have only one Node manager for this environment? If so, what is the size of this Node manager server (CPU, memory, etc.)?
Also, is this a production environment? If so, it is good practice to move TERR and Python to other Node manager servers (you normally don't mix them).

What you can do on your end, is to download an analysis file (including logs) from the Monitoring and Diagnostics section (be sure to set the log configuration to a different level than Standard):
image.thumb.png.5997761f0f7c4ccf23da1c8156fc543a.png

This will acquire information about the Web player which you can analyze in Spotfire using the monitoring analysis file.

Looking at your screenshot, there are quite a few analysis files that have been opened by a lot of users (and are still open, using CPU and Memory).
It's hard to tell if the web player got 'Strained' by the number of opened copies of scheduled updates (or ad hoc files). That's something one would find out by going through the logs.

So, if with the above, you can't really pinpoint the root cause, I would advise to create a support ticket at https://support.tibco.com.

Kind regards,

David

Link to comment
Share on other sites

Hi David,

There's only one server for this environment which installing Spotfire server and node manager.

The CPU of this server is 8 core and the RAM is 80G.

Through testing, it was found that reducing the number of scheduled templates can significantly reduce CPU usage. We are currently observing this situation.

I‘’m also confused about the problem you mentioned "Looking at your screenshot, there are quite a few analysis files that have been opened by a lot of users (and are still open, using CPU and Memory)."

Because there aren't that many users at all, this situation of opening dozens of identical templates on webpage shouldn't happen.

I can't find the reason in the web player log, but only the result like "I/O error on POST request for ...".However,there is some information in the server log (But I think this's also the result not the reason).

image.thumb.png.47e0eb32526031dfb4f48abed706964d.png

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