Koha Server going down occasionally
Hi, Our koha server seems to be going down once every week on an average. Staff can log in, but can't do anything from there. Similarly, the OPAC main page comes up, but when I try to do something I get a "503 Service Unavailable". Here are the logs corresponding to the issue: https://paste.ubuntu.com/23131505/ I tried googling for a fix, but could not find anything. Hope someone can shred some light on this. Dalton
Dalton, This link suggests to set the retry="0" to ProxyPass : ProxyPass / http://localhost:8000 retry=0 http://stackoverflow.com/questions/683052/why-am-i-getting-an-apache-proxy-5... Cheers, Eric Bégin Solutions inLibro inc. On 2016-09-04 05:02, Dalton Fury wrote:
Hi,
Our koha server seems to be going down once every week on an average. Staff can log in, but can't do anything from there. Similarly, the OPAC main page comes up, but when I try to do something I get a "503 Service Unavailable".
Here are the logs corresponding to the issue: https://paste.ubuntu.com/23131505/
I tried googling for a fix, but could not find anything. Hope someone can shred some light on this.
Dalton _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
I have made some progress thanks to rangi. So for some unknown reason, plack and zebra went down sunday morning. The 503 was caused due to plack going down. Koha seem to be running fine after I restarted zebra and started plack. Here are the logs for the crash: 1) zebra-error.log: 20160904 07:37:06 nitc-koha-zebra: client (pid 19241) killed by signal 15, stopping 2) plack-error.log: https://paste.ubuntu.com/23134235/ Dalton
Okey, so there is no crash. It's logrotate stopping Zebra and Plack, but not starting them afterwards. On 05-Sep-2016 2:22 am, "Dalton Fury" <daltonfury42@gmail.com> wrote:
I have made some progress thanks to rangi. So for some unknown reason, plack and zebra went down sunday morning. The 503 was caused due to plack going down.
Koha seem to be running fine after I restarted zebra and started plack.
Here are the logs for the crash:
1) zebra-error.log: 20160904 07:37:06 nitc-koha-zebra: client (pid 19241) killed by signal 15, stopping 2) plack-error.log: https://paste.ubuntu.com/23134235/
Dalton
Hi, I encountered the same problem few weeks ago. The server went down repeatedly at 7:37 or so (as yours). This lead me to a problem with scheduling of processes. After some inspection I realized that the problem is caused by anacron. Do you use it, right? Try to replace it with traditional cron. After I made this change we run smoothly and plack is happy all the time. 1) open /etc/cron.d/anacron and add a # to turn off the line starting with 30 7 * * * ....anacron... 2) mv /usr/sbin/anacron /usr/sbin/anacron-temporarily-renamed Finally, system will simply call all the processes specified in /etc/crontab using run-parts, because "test -x /usr/sbin/anacron" will never find /usr/sbin/anacron. Problem solved. Radek Šiman Dne 04.09.16 v 22:52 Dalton Fury napsal(a):
I have made some progress thanks to rangi. So for some unknown reason, plack and zebra went down sunday morning. The 503 was caused due to plack going down.
Koha seem to be running fine after I restarted zebra and started plack.
Here are the logs for the crash:
1) zebra-error.log: 20160904 07:37:06 nitc-koha-zebra: client (pid 19241) killed by signal 15, stopping 2) plack-error.log: https://paste.ubuntu.com/23134235/
Dalton _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
participants (3)
-
Dalton Fury -
Eric Bégin -
Radek Šiman