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.