Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to improve the issue of management page lag when the system tag exceeds 5000? #872

Closed
gospeell opened this issue Jul 20, 2023 · 11 comments

Comments

@gospeell
Copy link

gospeell commented Jul 20, 2023

Hi, I have an idea to use FUXA on projects with more than 5000 system tag . Currently, during simulation testing, there was a serious lag in the management page at 5000 system tag . How can I improve this problem?

Cmd error
(node:11564) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 finish listeners added to [WriteStream]. Use emitter.setMaxListeners() to increase limit

@unocelli
Copy link
Member

Hi, we have activated a option that have to be test. you find it into the master branch.
Let me know if it works.
image

@hxjackcn
Copy link

Node.js cannot be multi-threaded. Let me test it, 5000 points, for opcua, set it to refresh in 30 seconds. If the refresh time is too small, it won't be able to handle it.

@hxjackcn
Copy link

This is determined by the mechanism of Node.js itself. My current solution is that I build multiple sites, split the points, each site does not exceed 2000 points. My projects generally have around 30 million points, or even more.

@hxjackcn
Copy link

The running stability is not bad, I have a project, I have used fuxa for more than 2 years, and it is still running stably.

@gospeell
Copy link
Author

Hi, we have activated a option that have to be test. you find it into the master branch. Let me know if it works. image

Okay, arrange testing as soon as possible

@gospeell
Copy link
Author

This is determined by the mechanism of Node.js itself. My current solution is that I build multiple sites, split the points, each site does not exceed 2000 points. My projects generally have around 30 million points, or even more.

Hello, are multiple fuxa deployed on the same computer?

@hxjackcn
Copy link

It's all right, I usually deploy multiple sites on one computer and deploy multiple computers.

@gospeell
Copy link
Author

gospeell commented Aug 2, 2023

Hi, I have tested using the new version and now the report is as follows:

  1. 4991 system tag tested

  2. There is still a problem with stuck backend settings, mainly manifested in the device page and save menu options being stuck and unresponsive

@gospeell
Copy link
Author

gospeell commented Aug 2, 2023

It's all right, I usually deploy multiple sites on one computer and deploy multiple computers.

Do you have any tutorials in this area?

@unocelli
Copy link
Member

Hi, sorry for the delay, do you mean that without going into edit mode and having disabled broadcasting of all tags, the views work correctly? and the problem is still if you go to edit the device?

@unocelli
Copy link
Member

I assume the issue has been resolved in the meanwhile. I'm therefore going to close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants