Baoyuantop commented on issue #12769: URL: https://github.com/apache/apisix/issues/12769#issuecomment-4037322583
The two questions reported in this issue are expected side effects of an OpenResty worker process being killed by an OOM (Out of Memory) error: 1. "failed to receive the header bytes: closed" — After the broker worker is killed, the socket connections of other workers are broken. lua-resty-events has a built-in automatic reconnection mechanism, so this error is temporary and self-healing. 2. "attempt to index upvalue 'ev' (a nil value)" — A brief race condition during worker restart, where run() is called before configure() completes. This is a manifestation of a lack of defensive checks in the lua-resty-events compat layer, but the triggering condition is the OOM kill exception. The core issue is not a logical flaw in APISIX or lua-resty-events, but rather that insufficient container memory leads to an OOM kill. Refer to https://github.com/apache/apisix/pull/10550#discussion_r1419912672 , we will ignore these errors in CI. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
