We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The memory of web server written in Werkzeug will keep increasing if it is deployed to python 11.0 and tested with performance testing tool ab
write a simple web server with following code and start it:
from werkzeug.wrappers import Request, Response @Request.application def application(request): return Response("Hello, World!") if __name__ == "__main__": from werkzeug.serving import run_simple run_simple("0.0.0.0", 5000, application)
test it with ab tool:
$ ab -n 10000 http://127.0.0.1:5000
after executing above command, almost the memory of the web server will increase every time and never decrease.
the memory of above web server should not keep increasing.
The text was updated successfully, but these errors were encountered:
The web server is Python's http.server. Please report a bug there instead. Possibly a duplicate of python/cpython#99205.
http.server
Sorry, something went wrong.
No branches or pull requests
Description
The memory of web server written in Werkzeug will keep increasing if it is deployed to python 11.0 and tested with performance testing tool ab
How to replicate the bug:
write a simple web server with following code and start it:
test it with ab tool:
after executing above command, almost the memory of the web server will increase every time and never decrease.
Expected behavior
the memory of above web server should not keep increasing.
Environment:
The text was updated successfully, but these errors were encountered: