Welcome! Log In Create A New Profile

Advanced

Re: Curl, Nginx and the connections conundrum.

csg
August 02, 2012 02:56AM
On 2012-08-02 04:32, jakecattrall wrote:
> Hey folks,
>
> I'd like to turn your attentions to this frustrating issue I've been
> facing.
>
> I'm running a dedicated server... Centos 6, PHP 5.3.3, Nginx 1.0.15.
> Great hardware, no problems.
>
> Nginx uses fastcgi to run php.
>
> The server communicates with another server using remote sql.
>
> A file called download.php initiates a mysql connection, checks some
> details in the database and then begins streaming bytes to the user
> with
> content-displacement.
>
> No matter what I do, I cannot get simultaneous connections to
> download a
> file above 5. For instance if I download a file using a download
> manager, a maximum of 5 connections can be made, the rest timeout.
[...]

Have you checked the 'pm.max_children' setting in php-fpm.conf?

-cs

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Curl, Nginx and the connections conundrum.

jakecattrall August 01, 2012 10:32PM

Re: Curl, Nginx and the connections conundrum.

csg August 02, 2012 02:56AM

Re: Curl, Nginx and the connections conundrum.

jakecattrall August 02, 2012 12:05PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 232
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready