Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

elrufoelrufo's avatar

Performance Problems. Fresh Laravel Framework version 5.3.30. Php7 and nginx

Hello,

I'm having issues making some performance test in a fresh Laravel Framework version 5.3.30 with Php7 and nginx.

My hosting details : Intel® Core™ i7-6700 Quad-Core Skylake 64 GB DDR4 RAM 2 x 250 GB 6 Gb/s SSD (Software-RAID 1) 1 Gbit/s bandwidth

My testings : With c=100 everything looks well. As you can see below :

ab -n 10000 -c 100 xxxx.com (default web page of fresh laravel installation)

Requests per second: 629.25 [#/sec] (mean) Time per request: 158.918 [ms] (mean)

With c=200 ab -n 10000 -c 100 xxxx.com (default web page of fresh laravel installation)

Non-2xx responses: 3549

nginx log : 017/03/10 18:48:11 [error] 5742#5742: *337837 connect() to unix:/run/php/php7.0-fpm.sock failed (11: Resource temporarily unavailable) while connecting to upstream, client: xxxx:xxx:xxx:xxxx::x, server: xxxxxxx.com, request: "GET / HTTP/1.0", upstream: "fastcgi://unix:/run/php/php7.0-fpm.sock:", host: "xxxxxxx.com"

Please, could anyone help me to fit it? If you need more details please, let me know.

Thanks. Regards.

0 likes
0 replies

Please or to participate in this conversation.