Groups
Groups
Sign in
Groups
Groups
openresty
Conversations
Labels
About
Send feedback
Help
这种情况正常吗?如何降低下内存使用率
99 views
Skip to first unread message
xue
unread,
Jul 12, 2024, 6:31:59 AM
7/12/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to openresty
我的服务器是20核,内存是32GB, openresty所对应的nginx进程,每个nginx进程1.5G,共享内存300MB.
(20 * 1.2 GB) + 300MB = 24.3GB
内存使用率 24.3/32= 75%,内存很高,快达到80%了。
CPU平时很低,也就在10%使用率。
这种情况正常吗?如何降低下内存使用率。。
xue
unread,
Jul 12, 2024, 6:45:16 AM
7/12/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to openresty
信息补充:
我的Luajit中所缓存的数据都是所需的。
Junlong li
unread,
Jul 12, 2024, 9:27:43 AM
7/12/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to openresty
这个每个核心才 1.6 G的内存,本来也不高。
你们可以减少 worker 的进程数量吧。
417132187
unread,
Jul 12, 2024, 9:28:01 AM
7/12/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Junlong li
xue
unread,
Jul 14, 2024, 10:30:49 PM
7/14/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to openresty
现在每个nginx进程达到2GB了,减少worker进程数量,这是正常的操作吗?
如果能增加内容 ,是不是应该增加内存比较好。
感谢。
在2024年7月12日星期五 UTC+8 21:28:01<
4171...@qq.com
> 写道:
Reply all
Reply to author
Forward
0 new messages