i have a setup which users connect to and view files but after a certain amount of user i get 100% cpu
i have done the following service file. My server is pretty strong also.
[Unit]
Description=RClone Service
Wants=network-online.target
After=network-online.target
I can't imagine to say 'fix' as I don't know enough about your use case other than a sentence.
Based on what you've shared, trying to use a CPU from 2013 to serve 100 users seems unlikely to work based on the information provided.
You'd have to detail what you are doing, expectations for performance, what software you are using and even then, it's a bit of a trial and error unless you are doing something very cookie cutter as each environment is unique.
ok I will be frank its a media centre and the files accessed are movies that sit on google cloud encrypted i have set a 200gb cache to avoid api limits which doing the cache does avoid that and help alot but its odd as 98 users processor seems ok once it hits about 100 it starts to bottle neck.
Those are called breaking points as if you a limit, thing tend to break.
It would depend on what software you are using for the media center, what level of bitrates you are providing to people. It is direct playing/transcoding.
There's a sliver of a htop report it looks like. When you hit 100, what does the whole thing look like? Are you saying when you get 2 more users it goes from 48% to 100%? That seems very odd.
initially i was running xtream with plexguide setuo but hitting api limits i then changed to rclone and mounting the way shown above which is now giving me this issues the joke is with plexguide setup no cpu issue just api limits being hit
Google works fine without issue when not using cache. However we run into “download quota exceeded api 403 error” this is why we setup the cache to save on the download quota but in turn this has introduced issues with the cpu hitting 100%