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

Analyse why the number of file descriptors of the content server almost always goes up #423

Closed
marcosnc opened this issue Mar 16, 2021 · 1 comment

Comments

@marcosnc
Copy link
Contributor

marcosnc commented Mar 16, 2021

image.png

const data: ContentItem | undefined = await this.service.getContent(hashId)
how are we closing the stream and file descriptor after sending the response?

a possible solution https://github.com/pillarjs/send/blob/master/index.js#L800-L804

image.png

@nchamo
Copy link
Contributor

nchamo commented Mar 18, 2021

Fixed by #428

@nchamo nchamo closed this as completed Mar 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants