#306 closed defect (fixed)

nginx 502 response when i enable xcache

Reported by: smallslime Owned by: moo
Priority: major Milestone: 3.0.2
Component: cacher Version: 3.0.1
Keywords: Cc:
Application: PHP Version: 5.4.14
Other Exts: SAPI: Irrelevant
Probability: Always Blocked By:
Blocking:

Description

here is my php 5.4.14:

Configure Command => './configure' '--prefix=/opt/smallslime/php-5.4.15' '--with-config-file-scan-dir=/opt/smallslime/php-5.4.15/lib/php.d' '--with-libxml-dir=/opt/smallslime/libxml2-2.9.1' '--with-pcre-dir=/opt/smallslime/pcre-8.32' '--with-icu-dir=/opt/smallslime/icu4c-51_1' '--with-mcrypt=/opt/smallslime/libmcrypt-2.5.7' '--with-mysql' '--with-mysqli' '--with-pdo-mysql' '--enable-fpm' '--enable-sigchild' '--enable-bcmath' '--enable-intl' '--enable-mbstring' '--enable-pcntl' '--enable-sockets' '--enable-sysvmsg' '--enable-sysvsem' '--enable-sysvshm' '--enable-mysqlnd' '--enable-maintainer-zts' '--enable-zend-signals'

it's run ok with nginx

then i compile xcache 3.0.1, and edit php.ini

it's ok when i run php -m|grep xcache, i could se cache is loaded.

then i restart php-fpm and nginx, however nginx response 502 to browser , the nginx log like this:
"GET / HTTP/1.1" 502 181 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit?/536.29.13 (KHTML, like Gecko) Version/6.0.4 Safari/536.29.13"

at last, i found if you set xcache.size to 0 or disable xcache, it's runs ok.

hope this bug can be fix soon , thanks

Change History (3)

comment:1 Changed 15 months ago by smallslime

i try php 5.4.15 either, it's same

comment:2 Changed 15 months ago by moo

The info provided is not enough

Either you or others have to reproduce it and provide enough info about: php start up error (in log), gdb backtrace if it crash

comment:3 Changed 15 months ago by moo

  • Milestone changed from undecided to 3.0.2
  • Resolution set to fixed
  • Status changed from new to closed

duplicate as #301. reproduced with fpm with zts. sorry for the wrong thread-env

Note: See TracTickets for help on using tickets.