| Summary: | php-fpm default configuration wrong | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Herbert Poetzl <herbert> |
| Component: | RPM Packages | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | davidwhodgins, sysadmin-bugs, tmb |
| Version: | 1 | Keywords: | Triaged, validated_update |
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | php-5.3.9-1.3.mga1.src.rpm | CVE: | |
| Status comment: | |||
| Bug Depends on: | 4435 | ||
| Bug Blocks: | |||
Hi, thanks for reporting this bug. Assigned to the package maintainer. (Please set the status to 'assigned' if you are working on it) Keywords:
(none) =>
Triaged yep, nneds to be increased in the config file. Can you increase it to 40 until I have the fix released This bug should be in cauldron as well. Status:
NEW =>
ASSIGNED it's now in updates_testing as 5.3.10-0.2.mga1 Would you mind to check if this works for you. I consider this as resolved. I increased the rel to 1 no subrel
Thomas Spuhler
2012-02-09 05:52:27 CET
Assignee:
thomas =>
qa-bugs
claire robinson
2012-02-16 10:53:02 CET
Depends on:
(none) =>
4435 # rpm -q -l php-fam /etc/php.d/20_fam.ini /usr/lib/php/extensions/fam.so /usr/share/doc/php-fam /usr/share/doc/php-fam/CREDITS /usr/share/doc/php-fam/package.xml There is no service in this package. What are we supposed to be testing? CC:
(none) =>
davidwhodgins Dave, it is fpm with a P in the middle, you used fpm with an A :) Testing x86_64 Before ------ # service php-fpm start Starting php-fpm: [24-Feb-2012 14:40:33] ALERT: [pool www] pm.min_spare_servers(5) and pm.max_spare_servers(35) cannot be greater than pm.max_children(5) [24-Feb-2012 14:40:33] ERROR: failed to post process the configuration [24-Feb-2012 14:40:33] ERROR: FPM initialization failed [FAILED] After ----- # service php-fpm start Starting php-fpm: [ OK ] # ps ax | grep fpm 8015 ? Ss 0:00 php-fpm: master process (/etc/php-fpm.conf) 8016 ? S 0:00 php-fpm: pool www 8017 ? S 0:00 php-fpm: pool www 8018 ? S 0:00 php-fpm: pool www 8019 ? S 0:00 php-fpm: pool www 8020 ? S 0:00 php-fpm: pool www 8021 ? S 0:00 php-fpm: pool www 8022 ? S 0:00 php-fpm: pool www 8023 ? S 0:00 php-fpm: pool www 8024 ? S 0:00 php-fpm: pool www 8027 ? S 0:00 php-fpm: pool www 8029 ? S 0:00 php-fpm: pool www 8030 ? S 0:00 php-fpm: pool www 8031 ? S 0:00 php-fpm: pool www 8032 ? S 0:00 php-fpm: pool www 8033 ? S 0:00 php-fpm: pool www 8035 ? S 0:00 php-fpm: pool www 8036 ? S 0:00 php-fpm: pool www 8037 ? S 0:00 php-fpm: pool www 8038 ? S 0:00 php-fpm: pool www 8039 ? S 0:00 php-fpm: pool www 8583 pts/1 S+ 0:00 grep --color fpm Testing complete x86_64 Oops. Thanks for noticing Claire. Testing complete on i586. Could someone from the sysadmin team push the srpm php-5.3.10-1.mga1.src.rpm from Core Updates Testing to Core Updatea. Advisory: This bug fix for php-apc corrects configuration settings to allow the PHP5 FastCGI Process Manager to be started. https://bugs.mageia.org/show_bug.cgi?id=4390 Keywords:
(none) =>
validated_update Pushed as part of: https://bugs.mageia.org/show_bug.cgi?id=4435 Status:
ASSIGNED =>
RESOLVED |
Description of problem: after installing php-fpm, the service cannot be started because of a wrong configuration: service php-fpm start Starting php-fpm: [03-Feb-2012 07:59:05] ALERT: [pool www] pm.min_spare_servers(5) and pm.max_spare_servers(35) cannot be greater than pm.max_children(5) [03-Feb-2012 07:59:05] ERROR: failed to post process the configuration [03-Feb-2012 07:59:05] ERROR: FPM initialization failed [FAILED] Version-Release number of selected component (if applicable): php-fpm-5.3.9-1.3.mga1 How reproducible: always Steps to Reproduce: 1. install php-fpm 2. try to start the service 3.