[Koha-devel] Long-running inventory.pl causing timeout? There's a solution...

David Cook dcook at prosentient.com.au
Thu Jun 15 05:47:38 CEST 2023


Hi all,

 

I imagine everyone has encountered situations where a long-running
inventory.pl has caused a timeout?

 

Well, at https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31744 I
have a solution (ie workaround).

 

It requires running inventory.pl in CGI mode and without compression, so
that it can stream null data out until the actual inventory output is ready.


 

This prevents proxies from timing out while waiting for the inventory to
process and print out its output. It works for both HTML and CSV output too.

 

Ideally, it would be nice to have inventory.pl process in the background,
but I think this is a very practical workaround that keep inventory.pl
working until we can implement that more ideal solution.

 

I'm going to have some libraries test the solution behind their corporate
HTTP forward proxies and I'll let folks know on Bugzilla how that goes. I'm
optimistic since all my testing has gone well so far. 

 

David Cook

Senior Software Engineer

Prosentient Systems

Suite 7.03

6a Glen St

Milsons Point NSW 2061

Australia

 

Office: 02 9212 0899

Online: 02 8005 0595

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20230615/9abc90ab/attachment.htm>


More information about the Koha-devel mailing list