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

WebOne constantly consumes CPU on my server #128

Open
bodqhrohro opened this issue Jun 12, 2024 · 4 comments
Open

WebOne constantly consumes CPU on my server #128

bodqhrohro opened this issue Jun 12, 2024 · 4 comments

Comments

@bodqhrohro
Copy link

I experienced it sporadically for several months already: at some point, it caused high CPU load (and possibly I/O too?), causing LA>100 and making the VPS almost unresponsible, as well as the rest of services on it. It relieved with a restart though.

Today it constantly causes a high load, even right after a restart. I tried:

  • upgrading from 0.15.3 to 0.17.0
[WebVideoOptions]
Enable=no
  • commenting all the authentication strings out, for the case something is abusing it

Nothing helped. I also looked into /var/log/webone.log, the failed authentications are quite rare there, several per an hour.

How do I delve into the cause more deeply?

@atauenis
Copy link
Owner

Very strange and very interesting bug. The only that I know about debugging options is to run under some debugger (may be Visual Studio Code, but not tested - I've using Visual Studio Community Edition which is not available for Linux) and pause running at the time when CPU load became too high, then find current execution points for each thread.

And I have not seen such behavior when tested on my VPSes.

@bodqhrohro
Copy link
Author

Seems like one of the reasons is exceeded disk space. Hope you can reproduce this case at least.

@atauenis
Copy link
Owner

I am not able to reproduce this.

@atauenis
Copy link
Owner

Does this problem appears with 0.17.2? I've fixed similar bug in it.

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

2 participants