On Fri, Feb 11, 2011 at 5:11 PM, Justin Cormack
<justin@specialbusservice.com> wrote:
>
> Have you tried getting Lua to garbage collect before yielding? That
> might help.
>
Forcing a full garbage collection cycle will block the nginx worker
for a while because nginx is single threaded and the Lua VM is shared
within the worker process. That's also one of the reasons Java web
apps also freeze when JVM does a full GC cycle. So it only makes sense
when the system is really short of RAM resources :)
Cheers,
-agentzh
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx