Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Empty access log #38293

Open
1 task
DTF123 opened this issue Dec 8, 2024 · 6 comments
Open
1 task

[Bug]: Empty access log #38293

DTF123 opened this issue Dec 8, 2024 · 6 comments
Assignees
Labels
kind/bug Issues or changes related a bug triage/accepted Indicates an issue or PR is ready to be actively worked on.
Milestone

Comments

@DTF123
Copy link

DTF123 commented Dec 8, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Environment

- Milvus version:4.17.0
- Deployment mode(standalone or cluster):standalone
- MQ type(rocksmq, pulsar or kafka):    
- SDK version(e.g. pymilvus v2.0.0rc2):
- OS(Ubuntu or CentOS): CentOS
- CPU/Memory: 16G 4Core
- GPU: 
- Others:

Current Behavior

After configuring the access log according to the documentation, there are logs within the container, but it is empty.
mmexport1733657045514
Add log config like this
17ebd764-54db-4f85-9f0e-fc3590d0f5bf

Expected Behavior

No response

Steps To Reproduce

No response

Milvus Log

No response

Anything else?

No response

@DTF123 DTF123 added kind/bug Issues or changes related a bug needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Dec 8, 2024
@xiaofan-luan
Copy link
Collaborator

I guess the rotate time should not be 7 seconds but 7days.

@yanliang567
Copy link
Contributor

/assign @aoiasd
please help to take a look. there are always 5(not all) empty files when i try to reproduce the issue.
image

/unassign

@sre-ci-robot sre-ci-robot assigned aoiasd and unassigned yanliang567 Dec 9, 2024
@yanliang567 yanliang567 added triage/accepted Indicates an issue or PR is ready to be actively worked on. and removed needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Dec 9, 2024
@yanliang567 yanliang567 added this to the 2.4.18 milestone Dec 9, 2024
@aoiasd
Copy link
Contributor

aoiasd commented Dec 9, 2024

Rotate time units was second, not hours. So we rotate files every 24 seconds in this case.

@aoiasd
Copy link
Contributor

aoiasd commented Dec 9, 2024

Maybe we should skip rotate when file was empty,i will do this.

@aoiasd
Copy link
Contributor

aoiasd commented Dec 9, 2024

Find other bugs, access log remove old files when files number large than maxBackups, but file list was unordered, case may remove the new file, not the old filed. Will fix together.

@nelevg
Copy link

nelevg commented Dec 25, 2024

We have the same problem on 2.4.6 cluster depl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Issues or changes related a bug triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
None yet
Development

No branches or pull requests

5 participants