Skip to content

nginx with sendfile on is crashing #880

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

Open
senthilsam opened this issue Apr 9, 2025 · 0 comments
Open

nginx with sendfile on is crashing #880

senthilsam opened this issue Apr 9, 2025 · 0 comments

Comments

@senthilsam
Copy link

I have built nginx using f-stack and I am able to run it properly. when I try to serve static content using sendfile on;

I am getting below error

2025/04/09 17:42:08 [alert] 30610#0: *9 setsockopt(TCP_CORK) failed (22: Invalid argument) while sending response to client, client: 96.118.149.186, server: localhost, request: "GET /480 HTTP/1.1", host: "96.118.151.145"
2025/04/09 17:42:20 [alert] 30610#0: *10 setsockopt(TCP_CORK) failed (22: Invalid argument) while sending response to client, client: 96.118.149.186, server: localhost, request: "GET /480 HTTP/1.1", host: "96.118.151.145"

same request is getting successful when I try with sendfile off;

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

1 participant