INFRA-116: Fluid's wiki 504 Gateway Time-out

Metadata

Source
INFRA-116
Type
Bug
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Giovanni Tirloni
Reporter
Giovanni Tirloni
Created
2018-02-16T09:20:57.314-0500
Updated
2018-02-21T09:14:15.097-0500
Versions
N/A
Fixed Versions
N/A
Component
N/A

Description

Users getting "504 Gateway Time-out" message while trying to access Fluid's Wiki.

Issue was reported by monitoring.

Comments

  • Giovanni Tirloni commented 2018-02-16T10:01:16.053-0500

    Observed that CPU load was very low, server was almost idling. No recent error messages in Confluence's logs (atlassian-confluence.log).

    Netstat showed 2055 sockets to port 8090 with 1979 sockets being in CLOSE_WAIT state. 1059 were to 127.0.0.1 and 997 were to ::1, suggesting different methods of opening the connection locally. Under normal operation, usually 100 sockets are open, most in TIME_WAIT state.

    CLOSE_WAIT could mean an application error. The attached PDF from Red Hat's Knowledge Base describes the problem in detail.

    Restarting Confluence fixes the issue temporarily. Since we don't have a support contract for Confluence, I'm engaging the community to try and identify next steps.

  • Giovanni Tirloni commented 2018-02-20T11:43:37.306-0500

    Atlassian suggests increase the DB pool. I've increase it from 30 to 60 and will monitor.

  • Giovanni Tirloni commented 2018-02-21T09:14:15.086-0500

    Increasing the DB pool has not had any negative impact so far. I'm going to close this issue and re-open if the problem happens again.