Koha 3.22/16.05 & Apache, Plack for a high load/large library
Hello koha-devel, Is there someone using Apache, Plack, on a high load server (ie: for a large library) ? Which configuration are you using (OS version, how is Koha installed -package or not-, any tuning in the config files ?) Do you face any problem ? We (BibLibre) face many cases where we get failures ("internal server error". Seems there's something like Apache not being able to wait long enough for Plack to answer). -- Paul Poulain, Associé-gérant / co-owner BibLibre, Services en logiciels libres pour les bibliothèques BibLibre, Open Source software and services for libraries
Hi Paul, What's the frequency of your plack errors (1/day, 1/hour, 1/min)? What configuration do you use? Nothing else in the logs? Cheers, Jonathan 2016-10-03 12:14 GMT+02:00 Paul Poulain <paul.poulain@biblibre.com>:
Hello koha-devel,
Is there someone using Apache, Plack, on a high load server (ie: for a large library) ? Which configuration are you using (OS version, how is Koha installed -package or not-, any tuning in the config files ?)
Do you face any problem ?
We (BibLibre) face many cases where we get failures ("internal server error". Seems there's something like Apache not being able to wait long enough for Plack to answer).
-- Paul Poulain, Associé-gérant / co-owner BibLibre, Services en logiciels libres pour les bibliothèques BibLibre, Open Source software and services for libraries
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
Also, if you can run tail -f /var/log/koha/<instancename>/plack-error.log when the error occurs, that should give us a better idea of what's timing out. On Mon, Oct 3, 2016 at 7:19 AM, Jonathan Druart < jonathan.druart@bugs.koha-community.org> wrote:
Hi Paul,
What's the frequency of your plack errors (1/day, 1/hour, 1/min)? What configuration do you use? Nothing else in the logs?
Cheers, Jonathan
2016-10-03 12:14 GMT+02:00 Paul Poulain <paul.poulain@biblibre.com>:
Hello koha-devel,
Is there someone using Apache, Plack, on a high load server (ie: for a large library) ? Which configuration are you using (OS version, how is Koha installed -package or not-, any tuning in the config files ?)
Do you face any problem ?
We (BibLibre) face many cases where we get failures ("internal server error". Seems there's something like Apache not being able to wait long enough for Plack to answer).
-- Paul Poulain, Associé-gérant / co-owner BibLibre, Services en logiciels libres pour les bibliothèques BibLibre, Open Source software and services for libraries
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
I don't know if it's related, but we've had lots of troubles with Plack sessions and caching. The only reliable option at the moment seems to be caching on disk in /tmp. We're running head on master branch, on ubuntu 16 servers. Debian packages+some local patches. Not yet in production, but we have simulated stress-tests. Petter Goksøyr Åsen Deichmanske bibliotek / Oslo Public Library ________________________________________ Fra: koha-devel-bounces@lists.koha-community.org [koha-devel-bounces@lists.koha-community.org] på vegne av Paul Poulain [paul.poulain@biblibre.com] Sendt: 3. oktober 2016 12:14 Til: koha-devel@lists.koha-community.org Emne: [Koha-devel] Koha 3.22/16.05 & Apache, Plack for a high load/large library Hello koha-devel, Is there someone using Apache, Plack, on a high load server (ie: for a large library) ? Which configuration are you using (OS version, how is Koha installed -package or not-, any tuning in the config files ?) Do you face any problem ? We (BibLibre) face many cases where we get failures ("internal server error". Seems there's something like Apache not being able to wait long enough for Plack to answer). -- Paul Poulain, Associé-gérant / co-owner BibLibre, Services en logiciels libres pour les bibliothèques BibLibre, Open Source software and services for libraries _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
On 3 October 2016 at 14:21, Petter Goksøyr Åsen <petter.goksoyr.asen@kul.oslo.kommune.no> wrote:
I don't know if it's related, but we've had lots of troubles with Plack sessions and caching. The only reliable option at the moment seems to be caching on disk in /tmp.
I had a problem with sessions and memcached. The solution was to store sessions in the database. This has worked well for several sites that are used in production. Best regards, Magnus
participants (5)
-
Barton Chittenden -
Jonathan Druart -
Magnus Enger -
Paul Poulain -
Petter Goksøyr Åsen