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

Feature request: Make pound Threads variable parametric #93

Open
ismailyenigul opened this issue Dec 21, 2020 · 7 comments
Open

Feature request: Make pound Threads variable parametric #93

ismailyenigul opened this issue Dec 21, 2020 · 7 comments

Comments

@ismailyenigul
Copy link

ismailyenigul commented Dec 21, 2020

From https://linux.die.net/man/8/pound

Threads nnn
How many worker threads Pound should use. Default: 128. Tune this parameter to improve performance.
If you set it too high, Pound will use a lot memory, and some CPU will be wasted on context switches. 
If you set it too low requests may be served with some delay. Experiment to find the optimal value for your installation.

Zevenet UI(Community edition 5.0.2) does not provide an option to change Threads variable for HTTPS Farms. Under high traffic, default value 128 is not enough. We have to update limits.conf to have more than 1024 max open files and increase add Threads value to pounds config in /usr/local/zevenet/config

That would be great if you can make this variable set/editable over FARM settings.

Thanks

@emiliocampos-zevenet
Copy link
Contributor

emiliocampos-zevenet commented Dec 21, 2020 via email

@ismailyenigul
Copy link
Author

Thanks for your prompt reply.
Then my question is same for zproxy. Does zevenet 5.10 supports updating Threads parameter of zproxy on UI?
Best regards

@emiliocampos-zevenet
Copy link
Contributor

emiliocampos-zevenet commented Dec 21, 2020 via email

@ismailyenigul
Copy link
Author

Hi
I see something about threads at
https://github.com/zevenet/zproxy/blob/3fcf8055781c4da139e2b05e4041ebc6a1d3e704/src/config/config.cpp#L88
and https://github.com/zevenet/zproxy/blob/master/docs/zproxy.8#L222
anyway,
We experienced connection timeouts with pounds when we have around 500 total connections(IDLE,ESTABLISHED etc)
and I fixed the problem by setting threads to 1024.
In zproxy, is there any parameter to set max connections limit?

@emiliocampos-zevenet
Copy link
Contributor

emiliocampos-zevenet commented Dec 21, 2020 via email

@ismailyenigul
Copy link
Author

Hi,

Does it mean that no need to configure any settings to increase max connections(maybe it is determined automatically)? Or you don't support it yet in zproxy?
What is the maximum concurrent connection(HTTPS) does zproxy support?

@emiliocampos-zevenet
Copy link
Contributor

emiliocampos-zevenet commented Dec 29, 2020 via email

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