Exceptions caused by Nginx integration with PHP

Source: Internet
Author: User
Tags connection reset
Errors caused by Nginx integration with PHP run the Discuz Forum program in the Nginx + PHP architecture. are compiled and installed. however, the browser occasionally reports the following error: [error] & nbsp; 14439 #0: & nbsp; * 3072 & nbsp; recv () & nbsp; failed & nbsp; (104: & nbsp; Connection & nbsp; reset errors caused by Nginx integration with PHP
Run the Discuz Forum program in the Nginx + PHP architecture. it is compiled and installed.

However, the following errors occasionally occur in the browser:


An error occurred while checking nginx logs:
[Error] 14439 #0: * 3072 recv () failed (104: Connection reset by peer) while reading response...

System logs also report errors at the same time:
Kernel: [5612713.463986] php-fpm [12410]: segfault at 6f3cc0 ip route 00000000006fee94 sp 00007fff41c76d80 error 7 in php-fpm [400000 + 75e000]

Kernel: [5611900.052878] php-fpm [11948]: segfault at 0 ip route 7f7836947fc3 sp route 7fff41c76e70 error 4 in memcache. so [7f7810441000 + 17000]

This should be due to a memory address error, which occurs when memcache. so is called by the system. The solution has not been found. I don't know which of my friends can give me some advice, so I am very grateful.
------ Solution --------------------
This nginx will report a 502 error, but it is actually caused by fpm, it is possible that your memcache. the so file is inconsistent with your php version. it is best to download the memcache source code and then use phpize of php fpm. so file, so there will be no problem

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.