|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #60199 enhance FPM error log when the primary script can't be open
Submitted: 2011-11-02 08:56 UTC Modified: 2011-11-15 22:30 UTC
From: julien at palard dot fr Assigned: fat (profile)
Status: Closed Package: FPM related
PHP Version: Irrelevant OS: All
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: julien at palard dot fr
New email:
PHP Version: OS:


 [2011-11-02 08:56 UTC] julien at palard dot fr
When php-fpm hits a "too many open files", it returns a 404 and don't log anything, so typically for people using nginx they got a "No input file specified." that is hard to debug.

I dropped an strace here :

I think that php-fpm should log something to let people diagnose why they open so much file and/or modify their rlimit.


fpm-bug60199.patch (last revision 2011-11-02 13:39 UTC by

Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-11-02 13:38 UTC]
-Assigned To: +Assigned To: fat
 [2011-11-02 13:39 UTC]
The following patch has been added/updated:

Patch Name: fpm-bug60199.patch
Revision:   1320241144
 [2011-11-02 13:40 UTC]
-Status: Assigned +Status: Feedback
 [2011-11-02 13:40 UTC]
Can you please test the attached patch and confirm it fixes your problem.

Then reopen the bug.

++ Jerome
 [2011-11-15 22:29 UTC]
Automatic comment from SVN on behalf of fat
Log: - FR #60199 (enhance FPM error log when the primary script can't be open)
 [2011-11-15 22:30 UTC]
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at

 For Windows:
Thank you for the report, and for helping us make PHP better.

 [2011-11-15 22:30 UTC]
-Summary: php-fpm does not log an error for "too many open files" +Summary: enhance FPM error log when the primary script can't be open -Status: Feedback +Status: Closed
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Jul 18 16:01:29 2024 UTC