Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 04-21-2005, 01:36 PM   #1
nico-t
emperor of my world
 
Join Date: Aug 2004
Location: nethalands
Posts: 29,903
server-gurus, need your help - random fsockopen prob

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!
nico-t is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-21-2005, 02:01 PM   #2
toddler
Confirmed User
 
Join Date: Jun 2002
Location: austin, tx
Posts: 1,911
from the looks of their response, they know what they're talking about. Your best solution is to buy a dedicated host.
toddler is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-21-2005, 02:48 PM   #3
Fuckin Bill
Confirmed User
 
Join Date: Feb 2003
Posts: 1,020
Yeah, I gotta agree. The only options you're going to have if they're correct are to either get up to PHP5 to fix the bug, or change the code in whatever app you are running. Either way it's probably not going to be pretty. You should ask them to move you onto a less crowded server, or get your own.
Fuckin Bill is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-21-2005, 04:18 PM   #4
nico-t
emperor of my world
 
Join Date: Aug 2004
Location: nethalands
Posts: 29,903
yeah this shit is pretty fucked up, i hate this.... especially when i have to get another host, will take time and shit... i just hope they will find a way soon..
nico-t is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-21-2005, 05:29 PM   #5
chaze
Confirmed User
 
Industry Role:
Join Date: Aug 2002
Posts: 9,752
No reputable host will run php 5 on a shared server yet.

Fix the script.
chaze is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-21-2005, 05:36 PM   #6
Fuckin Bill
Confirmed User
 
Join Date: Feb 2003
Posts: 1,020
He shouldn't have to fix the script. It's a bug in PHP, which isn't his fault, and he wouldn't be having a problem if his host didn't have so many sites clustered on a single server.

The real problem is that the host has too many people on one machine and they're pushing the normal limits of open files.

If I were you I'd ask about either a dedicated machine or semi-dedicated where the number of clients is limited to a small number and you won't run into the same problems.
Fuckin Bill is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-21-2005, 05:48 PM   #7
nico-t
emperor of my world
 
Join Date: Aug 2004
Location: nethalands
Posts: 29,903
Quote:
Originally Posted by Fuckin Bill
He shouldn't have to fix the script. It's a bug in PHP, which isn't his fault, and he wouldn't be having a problem if his host didn't have so many sites clustered on a single server.

The real problem is that the host has too many people on one machine and they're pushing the normal limits of open files.

If I were you I'd ask about either a dedicated machine or semi-dedicated where the number of clients is limited to a small number and you won't run into the same problems.
sounds fair enough...they seem to only have virtual and dedicated, ill hit em up on icq about semi-dedicated.
nico-t is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.