Is this normal? How to reduce memory usage. .

55 views
Skip to first unread message

xue

unread,
Jul 12, 2024, 6:32:23 AMJul 12
to openresty-en
my server has 20 cores and 32GB of memory. The nginx process corresponding to openresty is 1.5G for each nginx process and 300MB of shared memory.
(20 * 1.2 GB) + 300MB = 24.3GB

Memory usage is 24.3/32= 75%, and the memory is very high, almost reaching 80%.

The CPU is usually very low, with a usage rate of 10%.

Is this normal? How to reduce memory usage. .

xue

unread,
Jul 12, 2024, 6:45:31 AMJul 12
to openresty-en
Information supplement:

The data cached by my luajit vm is all that is needed.

xue

unread,
Jul 14, 2024, 11:05:35 PMJul 14
to openresty-en
Now each nginx process reaches 2GB. Should I reduce the number of worker processes or increase the memory? Which solution is better?
Reply all
Reply to author
Forward
0 new messages