go-guerrilla icon indicating copy to clipboard operation
go-guerrilla copied to clipboard

CPU restriction to 1

Open cten opened this issue 4 years ago • 1 comments

We use this as a library in an application of ours, but we have found that the process never uses more than 1 CPU and will start to throttle new connections when the app gets close to using 1 CPU. Any help configuring the app to use more than a single CPU appreciated.

cten avatar Mar 08 '21 16:03 cten

Hello, there are no CPU restrictions and it does not throttle. All scheduling is done by the Go runtime. Most likely, it sounds like your storage is slow and cannot keep up. To confirm, you can use the iostat command and check the await column See https://coderwall.com/p/utc42q/understanding-iostat

On Tue, 9 Mar 2021 at 01:22, cten [email protected] wrote:

We use this as a library in an application of ours, but we have found that the process never uses more than 1 CPU and will start to throttle new connections when the app gets close to using 1 CPU. Any help configuring the app to use more than a single CPU appreciated.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/flashmob/go-guerrilla/issues/226, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAE6MP6GT6C35P4H5FBY7TDTCT2V3ANCNFSM4YZWBY3A .

flashmob avatar Mar 09 '21 07:03 flashmob