Gustaf, Thank you very much for your response.
The server stands alone. This has happened twice in the past 10 days. Never before for the last 20 years (unless I induced it). I looked at the cpu usage, which tells me if we are in a never-ending loop. All was well there. I looked at the logs thinking that the event was related to something. I cannot see any relationship. I am just serving web pages built using tcl that utilize data generated from a database. There is nothing I do that is sophisticated. For the moment I am monitoring the issue. We will see what happens. Again, thank you for your response (and your work on the naviserver project). Thorpe > On Mar 11, 2020, at 9:18 AM, Gustaf Neumann <neum...@wu.ac.at> wrote: > > Dear Thorpe, > > i just checked the source code, and found two situations, when the server > returns a 503 HTTP status: > > a) The Tcl code issues a "ns_returnunavailable" > b) The Tcl-/ADP-request ends in a NS_TIMEOUT > > I would exclude (a) for now. (b) can happen e.g. when > one uses NaviServer as a reverse proxy to some backend host, > but the backend host does not answer. We checked our logs > on the busy servers over the last weeks, but could trace the > few 503 errors to cases, where the backend server was rebooted. > > it is possible to intensify the tracing of NaviServer in such cases, > but it would certainly be good to learn more about your > situation.... Can you check, if there is some unresponsible > backend server is involved in your case? > > all the best > > -g > > On 10.03.20 20:12, THORPE MAYES via naviserver-devel wrote: >> HI, >> >> I am getting this error: >> >> Service Unavailable >> The server is temporarily unable to service your request. Please try again >> later. >> NaviServer/4.99.19 on >> >> Restarting the server software fixes the issue, but I need a better solution. >> >> What causes this? How can I detect when the server is in this state? >> >> Thank you, >> >> >> >> _______________________________________________ >> naviserver-devel mailing list >> naviserver-devel@lists.sourceforge.net >> <mailto:naviserver-devel@lists.sourceforge.net> >> https://lists.sourceforge.net/lists/listinfo/naviserver-devel >> <https://lists.sourceforge.net/lists/listinfo/naviserver-devel> > _______________________________________________ > naviserver-devel mailing list > naviserver-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/naviserver-devel
_______________________________________________ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/naviserver-devel