Forum Moderators: phranque

Message Too Old, No Replies

Fastcgi nightmare

Hey, Jim and all. You guys are my last hope on this.

         

phoenix_fly

12:18 am on Dec 6, 2005 (gmt 0)

10+ Year Member



Hello folks

I´ve seeked help already at perlmonks, webmasterworld and also at the fastcgi developers board, but just can´t find the answer in order to have a reliable environment to air up my fcgi's for production.

Briefly, I can make them work. But something strange happens some of the times after I update new code through ftp. The script stops working and returns 500 server errors after a long wait. Then, if I wait for say 10 minutes, it starts working again.

I hear there are some configs on Apache for a 600 seconds delay re-starting of scripts after bad code. But I´m not sure this is the problem, as the script was just ok (he even started working again, as I told you).

I am beggining to think that the mod_fastcgi is mis-implementated on my server. I emailed my hosts support, but they're just taking too long to look into my request. And I think maybe they won´t know how to help me.

If any of you has any clue or tip about this fastcgi issues on shared accounts, please help me. I don´t know where else to go.

Thanks a lot

phoenix_fly

skinter

9:47 pm on Dec 6, 2005 (gmt 0)

10+ Year Member



Depending on what mode you used to upload might be a factor. (I believe ASCII mode should work for this)
If you didn't CHMOD it to at least 755 after upload, that might also be the error.

Does the server your script is hosted on support other scripts? Have you tried to see if any script would work?

phoenix_fly

12:08 am on Dec 7, 2005 (gmt 0)

10+ Year Member



Hey Skinter,
I chmod'ed them to 755, and they do work from command line and eventually from the web. The problem occurs when I update the code. I´m beginning to think dreamhost's mod_fastcgi is misconfugired.