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]: Stderr "read |0: file already closed" sometimes displayed #1569

Closed
1 task done
Kaspiman opened this issue May 21, 2023 · 1 comment
Closed
1 task done
Assignees
Labels
B-bug Bug: bug, exception F-need-verification

Comments

@Kaspiman
Copy link
Sponsor

Kaspiman commented May 21, 2023

No duplicates 🥲.

  • I have searched for a similar issue in our bug tracker and didn't find any solutions.

What happened?

A bug happened!

Version (rr --version)

rr version 2023.1.3 (build time: 2023-05-11T12:32:01+0000, go1.20.4), OS: linux, arch: amd64

How to reproduce the issue?

I don't known. It happens sometimes.

The same error message can be seen in this issue in big log output

pipes frame send: write |1: broken pipe and stderr {"error": "read |0: file already closed"}

Relevant log output

/var/www # rr serve -c .rr.yaml
2023-05-21T07:06:21+0000        DEBUG   server          stderr  {"error": "read |0: file already closed"}
handle_serve_command: Function call error:
        got initial serve error from the Vertex *http.Plugin, stopping execution, error: static_pool_allocate_workers: WorkerAllocate: unexpected EOF
/var/www # rr serve -c .rr.yaml
handle_serve_command: Function call error:
        got initial serve error from the Vertex *http.Plugin, stopping execution, error: static_pool_allocate_workers: WorkerAllocate: unexpected EOF
/var/www # rr serve -c .rr.yaml
handle_serve_command: Function call error:
        got initial serve error from the Vertex *http.Plugin, stopping execution, error: static_pool_allocate_workers: WorkerAllocate: unexpected EOF
/var/www # rr serve -c .rr.yaml
handle_serve_command: Function call error:
        got initial serve error from the Vertex *http.Plugin, stopping execution, error: static_pool_allocate_workers: WorkerAllocate: unexpected EOF


##### many runs ago ##########
/var/www # rr serve -c .rr.yaml
handle_serve_command: Function call error:
        got initial serve error from the Vertex *http.Plugin, stopping execution, error: static_pool_allocate_workers: WorkerAllocate: unexpected EOF
/var/www # rr serve -c .rr.yaml
handle_serve_command: Function call error:
        got initial serve error from the Vertex *http.Plugin, stopping execution, error: static_pool_allocate_workers: WorkerAllocate: unexpected EOF
/var/www # rr serve -c .rr.yaml
2023-05-21T07:16:38+0000        DEBUG   server          stderr  {"error": "read |0: file already closed"}
^[[Ahandle_serve_command: Function call error:
        got initial serve error from the Vertex *http.Plugin, stopping execution, error: static_pool_allocate_workers: WorkerAllocate:
        pipes frame send: write |1: broken pipe
/var/www # rr serve -c .rr.yaml
handle_serve_command: Function call error:
        got initial serve error from the Vertex *http.Plugin, stopping execution, error: static_pool_allocate_workers: WorkerAllocate: unexpected EOF
@rustatian
Copy link
Member

Hey @embargo2710 👋🏻
This is a DEBUG message, not an error. This can happen with the open FD if you're using max_jobs and the message itself is informational. If your application does not leak memory, do not use this option and do not use the debug log level in production (FYI).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B-bug Bug: bug, exception F-need-verification
Projects
No open projects
Status: Done
Development

No branches or pull requests

2 participants