Questions about memory usage and buffers #1142
Replies: 1 comment
-
Hi,
The request body is buffered.
If it's too large, it's dumped into a temporary file.
There is a buffer of 16K size to save the request body, if the body size is larger than that, it will be saved into a temporary file. And you can set their size in the configuration. |
Beta Was this translation helpful? Give feedback.
-
I am currently experimenting with transitioning from deployments based on Nginx (regular proxy Nginx) + separate application servers ( to just using Unit. The reason we are using Nginx is that we (due to organization requirements) need to expose management endpoints on one port and application endpoints on another port, which no python application server software could support. Unit allows us to have the port separation and it can also run our applications, which is great.
I wanted to ask some question for clarification:
top
output but my impression is that the unit router process reserves a lot of memory; please correct me if I am wrong.Thank you very much. I am very interested in Unit and happy I discovered it.
Beta Was this translation helpful? Give feedback.
All reactions