[GitHub] [apisix] wolgod commented on issue #7578: help request: high cache usage when using Kafka-logger, Prometheus plugins
wolgod commented on issue #7578: URL: https://github.com/apache/apisix/issues/7578#issuecomment-1214677423 yes,now i turn off access log, and use kafka-logger to send log -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] wolgod commented on issue #7578: help request: high cache usage when using Kafka-logger, Prometheus plugins
wolgod commented on issue #7578: URL: https://github.com/apache/apisix/issues/7578#issuecomment-1212758886 > > but the rest of the split access-log will also occupy the cache, unless which logs are manually deleted > > we can use `max_kept` in `log-rotate` plugins to delete old logs files. ref: https://github.com/apache/apisix/blob/master/docs/en/latest/plugins/log-rotate.md yes, but I'm on 4 5g per hour, unless it's only reserved for an hour, the cache will still be high -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] wolgod commented on issue #7578: help request: high cache usage when using Kafka-logger, Prometheus plugins
wolgod commented on issue #7578: URL: https://github.com/apache/apisix/issues/7578#issuecomment-1201923924 > > Now it seems that it should be caused by writing the accesslog locally. Delete the accesslog log and the cache will be reduced. > > You can see the size of the `access.log`. Logrotate splits the log, one per hour, but the access-log is only about 2g, but the rest of the split access-log will also occupy the cache, unless which logs are manually deleted -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] wolgod commented on issue #7578: help request: high cache usage when using Kafka-logger, Prometheus plugins
wolgod commented on issue #7578: URL: https://github.com/apache/apisix/issues/7578#issuecomment-1201072510 Now it seems that it should be caused by writing the accesslog locally. Delete the accesslog log and the cache will be reduced. -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org