apache / apache/trafficserver

Occasionally log fields pqsi and pqsp become 0 for cache miss requests

Open
#11,037 1 comment 0 reactions 1 assignee Claimed by @bryancall View on GitHub
Bug Logging Stale Support
Dominant language
C++
Stars
2k
Forks
874
Avg merge
6d 15h
Merged PRs (30d)
46

Description

According to the document at [this link](https://docs.trafficserver.apache.org/en/latest/admin-guide/logging/formatting.en.html#network-addresses-ports-and-interfaces), it states that "Cache hits will yield a value of 0".

However, during my experiments with using Traffic Server as a reverse proxy, I have noticed that Traffic Server occasionally sets the values of log fields pqsi and pqsp to 0 for cache miss requests.

I have provided a reproduction of this issue on GitHub:
https://github.com/hnakamur/ats-nginx-bad-request/tree/ats_log_pqsi_and_pqsp_zero

Additionally, log files and tcpdump outputs have been included within the repository for further analysis.

Your assistance in investigating this matter would be greatly appreciated.

Thank you.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.