<div dir="ltr"><div>Don't ask me why, but /var/log/messages recorded the problem this most recent crash. Does this mean anything to anyone?<br><br><br>Oct 11 14:47:24 RTServer RT: [6632] Argument "myork" isn't numeric in numeric ne (!=) at /usr/share/request-tracker4/lib/RT/Interface/Web.pm line 2949.<br>Oct 11 14:47:41 RTServer RT: [6632] Argument "myork" isn't numeric in numeric ne (!=) at /usr/share/request-tracker4/lib/RT/Interface/Web.pm line 2949.<br><br></div>I didn't paste that twice, it appeared twice in the log. This is still 4.2.8.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 11, 2016 at 1:59 PM, Kenneth Marshall <span dir="ltr"><<a href="mailto:ktm@rice.edu" target="_blank">ktm@rice.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Tue, Oct 11, 2016 at 12:55:13PM -0400, Alex Hall wrote:<br>
> Hello list,<br>
> This may be off-topic, but I'm serving RT with Nginx and FCGI. Randomly, it<br>
> seems, the FCGI server is failing. Nginx works, but users see "error 502:<br>
> bad gateway". I see the same in the logs, with connect() failing. All I<br>
> have to do is run the spawn-fcgi command to get things back.<br>
><br>
> Why this is happening, with some frequency, is the question. My Nginx, RT,<br>
> and system logs all show nothing, and to my knowledge, there are no FCGI<br>
> logs at all. The first error for today in Nginx is when a client failed to<br>
> connect after the server went down; there's nothing that says what the<br>
> actual problem was. This happened Saturday, then again today.<br>
><br>
> The server has the latest updates for Debian 8.6, and has 4GB of ram. It's<br>
> serving a few dozen users at most, so the load can't be the problem. I'm<br>
> using Nginx 1.6.2 with four workers and 768 threads per worker. Users see<br>
> nothing unusual before this happens, just a 502 instead of the page they<br>
> expected.<br>
><br>
> If anyone else is using Nginx and has ever seen this, I'd love some input.<br>
> As this could be considered off topic, feel free to respond directly to<br>
> <a href="mailto:ahall@autodist.com">ahall@autodist.com</a>. If I need to provide more details, please let me know.<br>
> Thank you.<br>
><br>
> --<br>
> Alex Hall<br>
> Automatic Distributors, IT department<br>
> <a href="mailto:ahall@autodist.com">ahall@autodist.com</a><br>
<br>
<br>
</div></div>Hi Alex,<br>
<br>
You will get the 502 error when there are no more RT backends running. I<br>
tracked down verious errors in the RT logs that resulted in a backend<br>
exits. Most were of the 'cannot believe I did that type' by people<br>
setting up the system, i.e. not really fixable with a distributed<br>
management environment. We ended up using 'multiwatch' in RHEL6<br>
and systemd in RHEL7 to keep an appropriate number of backends always<br>
available.<br>
<br>
Regards,<br>
Ken<br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div>Alex Hall<br></div>Automatic Distributors, IT department<br></div><a href="mailto:ahall@autodist.com" target="_blank">ahall@autodist.com</a><br></div></div>
</div>