Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

502 ERROR; Result of the PHP script #1656

Closed
avsup opened this issue Jun 27, 2018 · 2 comments
Closed

502 ERROR; Result of the PHP script #1656

avsup opened this issue Jun 27, 2018 · 2 comments
Labels

Comments

@avsup
Copy link

avsup commented Jun 27, 2018

Info:

  • Docker version ($ docker --version): 18.03.1-ce, build 9ee9f40
  • Laradock commit ($ git rev-parse HEAD): 1d9cbd7
  • System info (Mac, PC, Linux): PC, ubuntu 16.04

Issue :

Runnigg simple php script nginx+php-fpm7.2
code index.php:

echo "start";
include ('/var/www/public/test.php');
echo "end";

code file test.php :
$a['components/xxxx/yyyy1/.description.php'] = 1;
$a['components/xxxx/yyyy2/.description.php'] = 1;
$a['components/xxxx/yyyy3/.description.php'] = 1;
$a['components/xxxx/yyyy4/.description.php'] = 1;
$a['components/xxxx/yyyy5/.description.php'] = 1;
.......
.......
$a['components/xxxx/yyyy80000/.description.php'] = 1;

60000 lines - work well
80000 lines (6,8 MB) - run time 2sec and nginx error 502

2018/06/27 08:11:12 [error] 6#6: *6 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 172.20.0.1, server: test, request: "GET /index.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.2-fpm.sock:", host: "172.20.0.6"


How to solve this problem ?
Thanks in advance!

@stale
Copy link

stale bot commented Feb 2, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Stale label Feb 2, 2020
@stale
Copy link

stale bot commented Feb 23, 2020

Hi again 👋 we would like to inform you that this issue has been automatically closed 🔒 because it had not recent activity during the stale period. We really really appreciate your contributions, and looking forward for more in the future 🎈.

@stale stale bot closed this as completed Feb 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant