I am hoping that somebody can help us out here. I’m working on a large EE2 project and we’ve encountered a very critical issue which has us stumped.
The server environment, which is managed internally, is this: Load Balancer | Firewall | -> Reverse Proxy Server -> EE Server -> MySQL Server (a diagram of the server environment is attached). What is happening is that when any request is sent to the reverse proxy we are intermittently / sporadicly / randomly experiencing server timeouts. After sifting through server logs, we’ve found numerous examples of the error - it’s returning an Internal Server error (500). Here is a snippet from the error log (with site specific info removed):
192.168.X.XX - - [02/Nov/2010:14:24:54 -0400] “POST /system/index.php?S=0&D=cp&C=content_publish&M=entry_form HTTP/1.1” 500 1295 “http://my-dev.xx-xx.com/system/index.php?S…; “Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.41 Safari/534.7”]
We know that it has *something* to do with the reverse proxy, as we’ve bypassed it (hitting the box directly) and have eliminated the problem. There’s something between the proxy and the EE box that is causing these problems.
Please note that this happens in the control panel when submitting content and/or content changes as well as on the front end when sending any POST data - search, user login, or any custom forms. There is absolutely no rhyme nor reason to when it happens or why - when experiencing the timeout, I can hit the submit/publish button several times and it will eventually submit correctly. It’s also browser/platform agnostic - PC, Mac, Chrome, FF, Safari, etc. It’s occurring in multiple locations as well.
Does anybody have any thoughts as to why this would be happening? Any idea, no matter how off the wall, would be appreciated as we’ve run out of them.
We’ve come across this post in the CodeIgniter forums: http://ellislab.com/forums/viewthread/150496/#735762 - we’ve got the server admins tasked to commenting any of those calls out right now, but we don’t know if that will do anything.
Thanks in advance for anybody’s brainstorm!
Sam