[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: intermittent Service Temporarily unavailable / httpd proxy failures



+++ Randall_Theobald Dell com [26/03/14 09:08 -0500]:
Dell - Internal Use - Confidential

Just so you are aware, this is a public community mailing list.

Hi,

I'm trying to work with OpenShift Enterprise 2.0. I have a simple Tomcat7 JSP-based app that talks to an embedded mysql DB. If I drive a bit of load to it, even if it is just from a single user with no think time, I portion of my requests will be answered with

              503 Service Temporarily Unavailable

There are a number of things that can trip up a simple load test.  Our
support organization can help debug these in your environment.  You
can open a case with them.  In the meantime you can take a look at
https://bugzilla.redhat.com/show_bug.cgi?id=1036728#c5.

If the problem you are hitting is specific to your type of load
ultimately you may have to write an haproxy_ctld action hook.
Autoscaling is hard to make generic and the default haproxy_ctld is
probably not handling your load test very well.

https://access.redhat.com/site/documentation/en-US/OpenShift_Enterprise/2/html-single/User_Guide/index.html#Scaling_Action_Hooks

The default autoscaler was greatly improved during the 2.0 lifecycle
so one thing to check is that all your packages are up to date.


The only problem I can find in the logs are in /var/log/httpd/error_log:


              [Tue Mar 25 15:51:13 2014] [error] (99)Cannot assign requested address: proxy: HTTP: attempt to connect to 127.8.162.129:8080 (*) failed

I confirmed that these errors only happen when 503's are returned.
Some more details on stackoverflow:

              http://stackoverflow.com/questions/22645040/service-temporarily-unavailable-under-load-in-openshift-enterprise-2-0

I'm guessing that there is a knob somewhere I need to turn, but I can't find it. Help is highly appreciated.

Randall Theobald
Common Engineering - Performance
Dell Software Group  |  Office of the CTO
randall_theobald at dell.com<mailto:randall_theobald dell com>  |  RR1-C336


_______________________________________________
users mailing list
users lists openshift redhat com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]