mirror of
https://github.com/benbusby/whoogle-search.git
synced 2026-04-25 12:15:50 +03:00
[GH-ISSUE #170] [QUESTION] How can I allocate more threads to Whoogle? #122
Labels
No labels
Fixed (Pending PR Merge)
Stale
bug
enhancement
enhancement
good first issue
help wanted
keep-open
needs more info
pull-request
question
theme
unfortunate
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/whoogle-search#122
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @maxdesalle on GitHub (Jan 18, 2021).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/170
I'm using Ubuntu Server based on a Raspberry Pi 4, and unfortunately, Whoogle is incredibly (really!) slow. It works, but it's very slow.
When executing the following command:
sudo systemctl status whoogle.service, I get the following status:I have looked this up online, and apparently, it's linked to the fact that there aren't enough "threads" available for Whoogle to use (source: 1, 2, 3).
How can I fix this issue?
@benbusby commented on GitHub (Jan 19, 2021):
It's in the Waitress documentation. Can't link directly to it, but there's a
threadsargument you can pass towaitress.servein routes.py.It's a bit curious that it's slow for you though...I have Whoogle running on a Raspberry Pi 2b, plus a few remote instances, and each one is nearly as fast as running the server locally.
@maxdesalle commented on GitHub (Jan 19, 2021):
Thanks Ben, appreciate it.
Indeed! Me too. I had previously tried Whoogle on a basic 5$ droplet instance on DigitalOcean, and it worked flawlessly. Weirdly enough, on a Raspberry Pi with 8GB of RAM, it doesn't.