We have a problem where confluence going down very often with a 502 Proxy error.
We switch the application port each time when confluence is down.
Error messages from apache,
[Wed Dec 12 13:29:44.942350 2018] [proxy:error] [pid 12815] [client 131.97.138.59:55650] AH00898: Error reading from remote server returned by /rest/api/content
[Wed Dec 12 13:29:54.645775 2018] [proxy_http:error] [pid 12601] (70007)The timeout specified has expired: [client 131.97.138.59:55703] AH01102: error reading status line from remote server localhost:9090
As of now we have increased,
max-file-descriptor to 32768
maxThreads in server.xml to 100
hibernate.c3p0.max_size in confluence.cfg.xml to 125
Please provide your views.
Hi @Arun Das,
If you have your confluence instance configured behind the Apache, then you need to update the values in the Apache configuration files. The 502 proxy errors are related to the timeout values. Add the following in your httpd.conf file and restart the Apache and Confluence once.
Timeout 2400
ProxyTimeout 2400
ProxyBadHeader Ignore
Keepalive=On
Thanks,
Amith Mathur
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.