[OSGeo] #3271: Occasional 502 bad gateway from trac.osgeo.org

#3271: Occasional 502 bad gateway from trac.osgeo.org
---------------------------+--------------------------------------
Reporter: strk | Owner: strk
     Type: defect | Status: new
Priority: major | Milestone: Sysadmin Contract 2024-I
Component: SysAdmin/Trac | Keywords:
---------------------------+--------------------------------------
It happens to get 502 bad gateway from trac.osgeo.org urls, including .css
files (ie: https://trac.osgeo.org/postgis/chrome/common/css/trac.css)

It was confirmed by me, by Grayshade and by Markus (
Trac/SVN/Gitea upgrade completed, tests welcome
)
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/3271&gt;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.

#3271: Occasional 502 bad gateway from trac.osgeo.org
---------------------------+---------------------------------------
Reporter: strk | Owner: strk
     Type: defect | Status: new
Priority: major | Milestone: Sysadmin Contract 2024-I
Component: SysAdmin/Trac | Resolution:
Keywords: |
---------------------------+---------------------------------------
Comment (by neteler):

I think I saw "https://trac.osgeo.org/osgeo/newticket&quot; as URL when the 502
error occurred.

BTW: Firefox 129.0.2 (64-bit) on Fedora 39 used here.
--
Ticket URL: <#3271 (Occasional 502 bad gateway from trac.osgeo.org) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.

#3271: Occasional 502 bad gateway from trac.osgeo.org
---------------------------+---------------------------------------
Reporter: strk | Owner: strk
     Type: defect | Status: new
Priority: major | Milestone: Sysadmin Contract 2024-I
Component: SysAdmin/Trac | Resolution:
Keywords: |
---------------------------+---------------------------------------
Comment (by strk):

With static files served without python (#3272) it looks like 502 are
harder to get.
Can you still get any, Markus, Grayshade ?
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/3271#comment:2&gt;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.

#3271: Occasional 502 bad gateway from trac.osgeo.org
---------------------------+---------------------------------------
Reporter: strk | Owner: strk
     Type: defect | Status: closed
Priority: major | Milestone: Sysadmin Contract 2024-I
Component: SysAdmin/Trac | Resolution: fixed
Keywords: |
---------------------------+---------------------------------------
Changes (by strk):

* resolution: => fixed
* status: new => closed

Comment:

I'm assuming this is fixed. At least I cannot reproduce the 502 anymore.
Feel free to reopen shall you see it again.
--
Ticket URL: <#3271 (Occasional 502 bad gateway from trac.osgeo.org) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.

#3271: Occasional 502 bad gateway from trac.osgeo.org
---------------------------+---------------------------------------
Reporter: strk | Owner: strk
     Type: defect | Status: reopened
Priority: major | Milestone: Sysadmin Contract 2024-I
Component: SysAdmin/Trac | Resolution:
Keywords: |
---------------------------+---------------------------------------
Changes (by strk):

* resolution: fixed =>
* status: closed => reopened

Comment:

Not fixed. Still happens, /var/log/apache2/error.log reports segfaults in
apache2 worker processes, which would explain the 502 response from nginx.

I've upgraded to Bookworm in staging to see if the problem goes away and
it looks like it does. Please test there. https://dev.trac.osgeo.org
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/3271#comment:4&gt;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.

#3271: Occasional 502 bad gateway from trac.osgeo.org
---------------------------+---------------------------------------
Reporter: strk | Owner: strk
     Type: defect | Status: closed
Priority: major | Milestone: Sysadmin Contract 2024-I
Component: SysAdmin/Trac | Resolution: fixed
Keywords: |
---------------------------+---------------------------------------
Changes (by strk):

* resolution: => fixed
* status: reopened => closed

Comment:

We've upgraded TracSVN to Debian Bookworm which fixed the segfault. I'm
closing this again as I don't see 502 anymore after that.
--
Ticket URL: <#3271 (Occasional 502 bad gateway from trac.osgeo.org) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.

#3271: Occasional 502 bad gateway from trac.osgeo.org
---------------------------+---------------------------------------
Reporter: strk | Owner: strk
     Type: defect | Status: reopened
Priority: major | Milestone: Sysadmin Contract 2024-I
Component: SysAdmin/Trac | Resolution:
Keywords: |
---------------------------+---------------------------------------
Changes (by strk):

* resolution: fixed =>
* status: closed => reopened

Comment:

And I'm reopening again as I saw a new apache segfault happening :frowning:
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/3271#comment:6&gt;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.

#3271: Occasional 502 bad gateway from trac.osgeo.org
---------------------------+---------------------------------------
Reporter: strk | Owner: strk
     Type: defect | Status: reopened
Priority: major | Milestone: Sysadmin Contract 2024-I
Component: SysAdmin/Trac | Resolution:
Keywords: |
---------------------------+---------------------------------------
Comment (by robe):

Is it still an issue. Haven't been getting these since you upgraded to
bookworm.
--
Ticket URL: <#3271 (Occasional 502 bad gateway from trac.osgeo.org) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.

#3271: Occasional 502 bad gateway from trac.osgeo.org
---------------------------+---------------------------------------
Reporter: strk | Owner: strk
     Type: defect | Status: reopened
Priority: major | Milestone: Sysadmin Contract 2024-I
Component: SysAdmin/Trac | Resolution:
Keywords: |
---------------------------+---------------------------------------
Comment (by strk):

For the record between [Sun Sep 22 14:15:42.942001 2024] and [Sun Sep 22
22:43:11.019063 2024] we got 5 Segmentation faults, according to error log
--
Ticket URL: <#3271 (Occasional 502 bad gateway from trac.osgeo.org) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.