"Too many open files" error on Go Daddy shared hosting
Peretz
Joined: 2005-09-30
Posts: 4 |
![]() |
Gallery version: 1.5-pl1 Gallery has kicked out a "Too many open files" error several times. Each time, I've contacted Go Daddy tech support and their Advanced Tech Support team does something (I have no idea what; I'm assuming it's a simple reset of some kind) and the gallery works again...for a while. The errors are sporadic and persistent until Go Daddy resolves the problem on their end. First, here is the latest error: Quote:
Warning: Here's the text of Go Daddy's Advanced Tech Support's most recent reply: Quote:
It would appear as if the error you are receiving, is due to the script you are running exceeding the limit of file handles available to the script. Unfortunately, shy of rewriting / optimizing the code of the gallery running on your site, there isn\'t much that can be done to resolve this issue. This problem has persisted through all version of Gallery I've installed on Go Daddy shared hosting. I believe I started with Gallery 1.3.x when I first moved my site to Go Daddy. I know that I need to upgrade to version 1.5.1 of Gallery, but I don't believe that will solve the problem as it seems to be an issue with server quotas, not code. So, here's my question: Is there a way to modify the Gallery configuration or code to prevent this error? I know it's a longshot, but changing a few lines of code is going to be much easier than moving the site, complete with hundreds of photos, to a new web host. And in case you're wondering, I'm waiting to upgrade to Gallery 2.0 until the developers release official code to integrate G2 into PHP-Nuke. I lost at least two hours trying to integrate G2 into PHP-Nuke and it ended in complete confusion and no success. Any and all help is appreciated. My gallery is the main draw for my site, so when it goes down, it's a complete pain in the rump. |
|
h0bbel
![]()
Joined: 2002-07-28
Posts: 13451 |
![]() |
[Moved to G2 Support] GoDaddy is notorious for this, and there is nothing we can do about it I'm afraid. h0bbel - Gallery Team |
|
Peretz
Joined: 2005-09-30
Posts: 4 |
![]() |
I noticed this thread was moved to G2 support; my problem relates to Gallery 1.5-pl1. I realize my original post may not have been very clear. I didn't mean to imply that the Gallery team should fix the code. The problem is not with the code; the problem is with Go Daddy's server configuration. I recognize that. I'm not asking Gallery developers to tackle the problem. I'm asking other programmers and Gallery experts if there's a way to modify the code so I can lower the number of files that are opened, thus avoiding the dreaded "Too many open files" error. Short of modifying the code, are there any configuration changes I can make to lower the number of open files? |
|
h0bbel
![]()
Joined: 2002-07-28
Posts: 13451 |
![]() |
[Moved back Sorry about that. As far as I know, there is nothing that can be done. Someone else might have more insight though, but I doubt it since this issue has been raised several times before. h0bbel - Gallery Team |
|
Peretz
Joined: 2005-09-30
Posts: 4 |
![]() |
Hm. It seems that accessing the gallery as a standalone script (instead of as a PHP-Nuke module) dodges some errors. Maybe there's a way to reconfigure Gallery or re-write some lines of code dealing with how Gallery integrates with PHP-Nuke? Oh, and updating to 1.5.1 didn't help. |
|
h0bbel
![]()
Joined: 2002-07-28
Posts: 13451 |
![]() |
Well, I doubt it. If so, it would have been done a long time ago. The problem is the GoDaddy limitations, and as far as I know thats the only host we've seen this on. h0bbel - Gallery Team |
|
Peretz
Joined: 2005-09-30
Posts: 4 |
![]() |
h0bbel wrote:
The problem is the GoDaddy limitations, and as far as I know thats the only host we've seen this on. Only host that freaks Gallery out, eh? Could anyone recommend a good AND cheap web host with multiple MySQL databases and a hefty amount of hard drive space (2GB+)? On a side note, I tried to install Gallery 2 with nukedgallery.net's PHP-Nuke+G2 integration package...and had no success. |
|
h0bbel
![]()
Joined: 2002-07-28
Posts: 13451 |
![]() |
Check out http://gallery.menalto.com/wiki/Web_Hosting_Referral_Page h0bbel - Gallery Team |
|