Regarding the CloudSuite Web Serving benchmark, has anyone experienced
the web server returning 504 error responses, or have any idea why
this may be happening and how to fix it?

I have modified the Faban driver to run longer, and so far all of 3
long tests (30 minutes or longer) have eventually degraded to the
point where all responses are 504 messages.

Here is an example from Faban's driver.log file:

Sep 01, 2016 2:02:29 AM com.sun.faban.driver.engine.AgentThread logError
WARNING: ElggDriverAgent[0].59.sendChatMessage: Server returned HTTP
response code: 504 for URL:
http://192.168.1.2:8080/action/elggchat/post_message?__elgg_token=57e9c8b81e4cdffb712221df75561baf&__elgg_ts=1472694493
java.io.IOException: Server returned HTTP response code: 504 for URL:
http://192.168.1.2:8080/action/elggchat/post_message?__elgg_token=57e9c8b81e4cdffb712221df75561baf&__elgg_ts=1472694493
        at sun.reflect.GeneratedConstructorAccessor7.newInstance(Unknown Source)
        at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
        at 
sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1677)
        at 
sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1675)
        at java.security.AccessController.doPrivileged(Native Method)
        at 
sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1673)
        at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1246)
        at 
com.sun.faban.driver.transport.sunhttp.SunHttpTransport.fetchResponse(SunHttpTransport.java:673)
        at 
com.sun.faban.driver.transport.sunhttp.SunHttpTransport.fetchURL(SunHttpTransport.java:557)
        at 
com.sun.faban.driver.transport.sunhttp.SunHttpTransport.fetchURL(SunHttpTransport.java:519)
        at workload.driver.Web20Driver.sendChatMessage(Web20Driver.java:638)
        at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at 
com.sun.faban.driver.engine.TimeThreadWithBackground.doRun(TimeThreadWithBackground.java:197)
        at com.sun.faban.driver.engine.AgentThread.run(AgentThread.java:202)
Caused by: java.io.IOException: Server returned HTTP response code:
504 for URL: 
http://192.168.1.2:8080/action/elggchat/post_message?__elgg_token=57e9c8b81e4cdffb712221df75561baf&__elgg_ts=1472694493
        at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1628)
        at 
java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)
        at 
com.sun.faban.driver.transport.sunhttp.SunHttpTransport.fetchResponse(SunHttpTransport.java:654)
        ... 8 more

Reply via email to