Jump to content

Recommended Posts

Sorry, I should have gave more information.  It is checking my own sites that are alive and not blocking my own IP.  Sometimes it makes it and sometime it does not.

 

It is not that it could not connect it says it did not connect due to "No buffer space available".

 

I did notice that if I run it as a cron job it fails much more often then if I call the url from by desktop computer.  When it runs as a cron job it runs as a user but when I call the url from my desktop it runs as apache

 

thanks

 

Link to comment
https://forums.phpfreaks.com/topic/225979-curl-error-7/#findComment-1166664
Share on other sites

Ahh yeah, most likely is the limit on your max total connections for your server congiguration

 

If on a windows box is also an eventid patch to allow more connections

 

or

 

launch the registry editor by Start, Run and type regedit

in the left pane navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters

create the entry TcpNumConnections by right clicking in the right pane and choose new from the menu and select DWORD Value

give it the name TcpNumConnections

right click it and select modify and enter a value of 200

restart server

 

you  should probably increase any low apache or mysql limits that could prevent you from doing more as well, such as timeout,max connections, memory

Link to comment
https://forums.phpfreaks.com/topic/225979-curl-error-7/#findComment-1166720
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.