My host has a random fsockopen error now and then. They try to find a solution to it, i thought maybe some of you know how to fix this.
Here are the details of the problem their support emailed me just yet:
Quote:
|
The PHP problem we talked about is caused by having a higher number of open file descriptors in use. Basically the apache web server is using one file descriptor for each open log file. Since some of our virtual servers (including the one you are hosted on) are hosting a larger number of domain names we had to compile the web servers with a file descriptor limit above 1024. PHP's fsockopen and other function are using a select() call which only support an array of up to 1024 open file descriptors. If more then the 1024 are in use the select() call will run into random memory corruption errors and kill the running apache process (error code 11). This problem seems to be affecting the whole PHP 4.3 build and has only been fixed in the PHP 5.1 HEAD release. This bug could be fixed by using the poll() function and comparing the open file descriptors against the compiled FD_SETSIZE limit (which is not to easy on all operating systems). We are still investigating ways to work around or fix this problem.
|
HELP THEM AND ME PLS!