Re: Error: Couldn't connect to server

2018-04-28 Thread mohan prakash via nginx
ithListOfUrls.txtand the one curl process will visit each url in turn reusing the socket (aka HTTP keep alive) That said, curl isn’t a great workload simulator and, in the long time, you can get better results from something like wrk2 On 27 Apr 2018, at 11:32 AM, mohan prakash via nginx wrote: H

Re: Error: Couldn't connect to server

2018-04-27 Thread mohan prakash via nginx
value is simple, you can change is temporarily or save to config file, there are tons of documents online about how to change it. On Fri, Apr 27, 2018 at 9:09 PM mohan prakash via nginx wrote: Hi Team I am trying execute ~1000 curl request from my CentOS machine to my nginx server in ~5 se

Error: Couldn't connect to server

2018-04-27 Thread mohan prakash via nginx
Hi Team I am trying execute ~1000 curl request from my CentOS machine to my nginx server in ~5 sec. The same exercise continuous every ~5sec. I am using libcurl to make the HTTP request. During this process i see most of my request are failed with reason Failure Curl Error Code[ 7 ] Reason[ Co