Solve the problem that the nginx process occupies too much memory

Solve the problem that the nginx process occupies too much memory

Modify nginx.conf

worker_connections option, make the number smaller!

This parameter indicates the maximum number of connections allowed per process, and if the number is too large, a large amount of memory is requested in advance to accept connections. Just make it smaller.


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *