You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/08/22 14:57:04 UTC

[GitHub] [apisix] zfs123 opened a new issue, #7767: help request: about file-logger, why use get_last_reopen_ms to check file's opened-time?

zfs123 opened a new issue, #7767:
URL: https://github.com/apache/apisix/issues/7767

   ### Description
   
   Lrucache is worker exclusive, when worker is dead, cache and fd in cache will release. 
   so why check the last_reopen_ms, does it mean the file may be reopened before get fd from cache ?  Under what situations will the file be reopened ?
   
   Thanks.
   
   ### Environment
   
   - APISIX version (run `apisix version`):
   - Operating system (run `uname -a`):
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


-- 
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: notifications-unsubscribe@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] zfs123 closed issue #7767: help request: about file-logger, why use get_last_reopen_ms to check file's opened-time?

Posted by GitBox <gi...@apache.org>.
zfs123 closed issue #7767: help request: about file-logger, why use get_last_reopen_ms to check file's opened-time? 
URL: https://github.com/apache/apisix/issues/7767


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] spacewander commented on issue #7767: help request: about file-logger, why use get_last_reopen_ms to check file's opened-time?

Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #7767:
URL: https://github.com/apache/apisix/issues/7767#issuecomment-1223572900

   When using APISIX with apisix-base (which is the default if APISIX is installed from official rpm or docker), the file in file-logger will be reopened once Nginx receives the SIGUSR1 signal. The behavior is the same as Nginx's reopen log file feature.


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] zfs123 commented on issue #7767: help request: about file-logger, why use get_last_reopen_ms to check file's opened-time?

Posted by GitBox <gi...@apache.org>.
zfs123 commented on issue #7767:
URL: https://github.com/apache/apisix/issues/7767#issuecomment-1223799789

   Thx.


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org