php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #66482 unknown entry 'priority' in php-fpm.conf
Submitted: 2014-01-14 02:33 UTC Modified: -
From: itxx00 at gmail dot com Assigned:
Status: Closed Package: FPM related
PHP Version: 5.4.24 OS: CentOS6.4 x64
Private report: No CVE-ID: None
 [2014-01-14 02:33 UTC] itxx00 at gmail dot com
Description:
------------
In php-fpm.conf pool definition, set the priority with a value:

1.add a poll definition in php-fpm.conf:
[TESTPOOL]
;prefix = /path/to/pools/$pool
user = www
group = www
listen = /dev/shm/TESTPOOL.sock
listen.backlog = 65535
listen.owner = daemon
listen.group = daemon
listen.mode = 0600
priority = -19
pm = ondemand
pm.max_children = 10

2.restart php-fpm:
 service php-fpm restart

will cause php-fpm init fail.



Expected result:
----------------
php-fpm can restart successfully.


Actual result:
--------------
/etc/init.d/php-fpm restart
Gracefully shutting down php-fpm warning, no pid file found - php-fpm is not running ?
Starting php-fpm [14-Jan-2014 10:27:51] ERROR: [/php54/etc/pool/testpool.conf:10] unknown entry 'priority'
[14-Jan-2014 10:27:51] ERROR: Unable to include /php54/etc/pool/testpool.conf from /php54/etc/php-fpm.conf at line 10
[14-Jan-2014 10:27:51] ERROR: failed to load configuration file '/php54/etc/php-fpm.conf'
[14-Jan-2014 10:27:51] ERROR: FPM initialization failed
 failed


Patches

Pull Requests

Pull requests:

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-04-14 00:33 UTC] stas@php.net
Automatic comment on behalf of itxx00@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=636adf251c80884c151cb233bbdae1497fdadc4a
Log: Fix bug #66482, replace wrong item name 'priority' with 'process.priority' in php-fpm.conf
 [2014-04-14 00:33 UTC] stas@php.net
-Status: Open +Status: Closed
 [2014-04-15 12:04 UTC] ab@php.net
Automatic comment on behalf of itxx00@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=636adf251c80884c151cb233bbdae1497fdadc4a
Log: Fix bug #66482, replace wrong item name 'priority' with 'process.priority' in php-fpm.conf
 [2014-04-15 13:05 UTC] ab@php.net
Automatic comment on behalf of itxx00@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=636adf251c80884c151cb233bbdae1497fdadc4a
Log: Fix bug #66482, replace wrong item name 'priority' with 'process.priority' in php-fpm.conf
 [2014-05-01 14:59 UTC] tyrael@php.net
Automatic comment on behalf of itxx00@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=636adf251c80884c151cb233bbdae1497fdadc4a
Log: Fix bug #66482, replace wrong item name 'priority' with 'process.priority' in php-fpm.conf
 [2014-10-07 23:15 UTC] stas@php.net
Automatic comment on behalf of itxx00@gmail.com
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=636adf251c80884c151cb233bbdae1497fdadc4a
Log: Fix bug #66482, replace wrong item name 'priority' with 'process.priority' in php-fpm.conf
 [2014-10-07 23:26 UTC] stas@php.net
Automatic comment on behalf of itxx00@gmail.com
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=636adf251c80884c151cb233bbdae1497fdadc4a
Log: Fix bug #66482, replace wrong item name 'priority' with 'process.priority' in php-fpm.conf
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Oct 12 23:01:27 2024 UTC