Skip to content

nginx with sendfile on is crashing #880

@senthilsam

Description

@senthilsam

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;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions