Groups
Groups
Sign in
Groups
Groups
openresty
Conversations
Labels
About
Send feedback
Help
ngx.timer.at()使用之后导致lua entry thread aborted: memory allocation error: not enough memory
77 views
luajit
openresty
Skip to first unread message
jiaz...@gmail.com
unread,
Jan 10, 2018, 5:56:34 AM
1/10/18
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
由于在同一个线程内
log_by_lua_file不能使用用lua_resty_redis,所以我将对redis的操作单独拆分出一个服务,然后在流程中用
ngx.timer.at
(0, func)进行
fake request
去调用这个服务。然后问题就出现了,在流量不大的时候就出现了“lua entry thread aborted: memory allocation error: not enough memory”。
Reply all
Reply to author
Forward
0 new messages