Ahwxorg / LibreY

Framework and JS free privacy respecting meta search engine
GNU Affero General Public License v3.0
185 stars 22 forks source link

Uses too much resources #175

Open oie1 opened 2 months ago

oie1 commented 2 months ago

https://github.com/user-attachments/assets/bf0413d2-33b9-44ac-ab3e-725c8b19bf12

(domain is librex because I just switched, both libreY and X do this) (this is also the reason I haven't made my instance public)

Ahwxorg commented 2 months ago

I have no idea what could be causing this. I could however not reproduce your issue, and I don't experience those weird spikes.

Ahwxorg commented 2 months ago

What kind of CPU does your server have? It could be slow maybe?

oie1 commented 2 months ago

What kind of CPU does your server have? It could be slow maybe?

a Ryzen 5 PRO 2400GE, I have also tried SearX(NG) and that works perfectly and I haven't noticed it using any resources

Ahwxorg commented 2 months ago

Hmm, strange. How are you running LibreY?

oie1 commented 2 months ago

Hmm, strange. How are you running LibreY?

Just replaced the files from LibreX that I had installed with yunohost with the LibreY's files, as you can see in the screen recording it's using php-fpm

Ahwxorg commented 2 months ago

Could you try the Docker container?

oie1 commented 2 months ago

Could you try the Docker container?

I tried and it's the same.

Ahwxorg commented 2 months ago

That's very strange. I have no clue what is going on. @codedipper and @davidovski, could either one of you look at this? I've taken a look but I couldn't reproduce this.

codedipper commented 1 month ago

This was happening to me for a while because my instance was constantly under extremely heavy usage. I disregarded it because I don't get charged for CPU usage, it's limited to one core and it didn't cause performance issues.

codedipper commented 2 weeks ago

Might be related: https://serverfault.com/q/998677