during work on issues with failing performance tests, we found that random Bad Gateway and Gateway Timeout errors are caused by a lack of memory on the perftest instance. When the instance runs out of memory, the referencedata service is killed and mentioned errors occur for subsequent performance tests. Our suggestion is to reduce the number of services used by the perftest or increase server size.
Services that potentially could be removed from perftest are: cce, ftp, report, and notification. The diagnostics service is already removed.
What do you think?