Thanks. Turning off sendfile worked, but a small test program in C on the same filesystem doesn't yield this behavior. What else could I test to reproduce this and confirm OS or filesystem issues? Thanks for your time and ideas.by soulseekah - Nginx Mailing List - English
nginx/1.12.1 Creating new files with PHP (image resizing) works fine, the new files are served well. Then suddenly after a couple of days the file is returned as a sequence of NULL bytes Content-Length long. HTTP/1.1 200 OK Server: nginx/1.12.1 Date: Wed, 04 Oct 2017 11:33:57 GMT Content-Type: image/jpeg Content-Length: 8915 Last-Modified: Sun, 01 Oct 2017 19:30:46 GMT Connection: keepby soulseekah - Nginx Mailing List - English