[Koha-devel] Bug (or something) repeatedly loading the same URL over and over.

Robin Sheat robin at catalyst.net.nz
Fri Sep 27 04:36:50 CEST 2013


I just saw a thing that I've seen a few times before, and have heard
anecdotally that others have too.

The problem is that something hits the same URL over and over,
eventually knocking over the server.

I have some theories, but they're hard to test because this is a rare
thing to happen, so I want to see if anyone else has seen something like
this.

It seems like some kind of search complete or similar running, however
CircAutocompl is off. This is a 3.6 machine, though I think I've also
seen it on 3.8. Haven't had anything higher running in prod long enough
to tell.

The log is below. I've reordered it to be when the request is issued
rather than when it finishes to make it clearer, and added my
speculation in.

This is a real request by a human to view details.

172.20.2.200 - - [27/Sep/2013:13:29:01 +1200] "GET /cgi-bin/koha/members/moremember.pl?borrowernumber=16653 HTTP/1.1" 200 7202

This is some kind of automatic process that autocompletes, or something,
that's going out of control. There's more of them, but you get the
drift:

172.20.2.200 - - [27/Sep/2013:13:29:06 +1200] "POST /cgi-bin/koha/members/member.pl HTTP/1.1" 504 270
172.20.2.200 - - [27/Sep/2013:13:29:07 +1200] "POST /cgi-bin/koha/members/member.pl HTTP/1.1" 504 270
172.20.2.200 - - [27/Sep/2013:13:29:07 +1200] "POST /cgi-bin/koha/members/member.pl HTTP/1.1" 504 270
172.20.2.200 - - [27/Sep/2013:13:29:07 +1200] "POST /cgi-bin/koha/members/member.pl HTTP/1.1" 504 270
172.20.2.200 - - [27/Sep/2013:13:29:07 +1200] "POST /cgi-bin/koha/members/member.pl HTTP/1.1" 504 270
172.20.2.200 - - [27/Sep/2013:13:29:07 +1200] "POST /cgi-bin/koha/members/member.pl HTTP/1.1" 504 270
172.20.2.200 - - [27/Sep/2013:13:29:09 +1200] "POST /cgi-bin/koha/members/member.pl HTTP/1.1" 504 270
172.20.2.200 - - [27/Sep/2013:13:29:07 +1200] "POST /cgi-bin/koha/members/member.pl HTTP/1.1" 504 270
172.20.2.200 - - [27/Sep/2013:13:29:07 +1200] "POST /cgi-bin/koha/members/member.pl HTTP/1.1" 504 270
172.20.2.200 - - [27/Sep/2013:13:29:09 +1200] "POST /cgi-bin/koha/members/member.pl HTTP/1.1" 504 270

I don't know what this is or what it's doing here:

172.20.2.200 - - [27/Sep/2013:13:29:11 +1200] "GET /cgi-bin/koha/circ/circulation.pl?borrowernumber=16653 HTTP/1.1" 504 270
172.20.2.200 - - [27/Sep/2013:13:29:18 +1200] "GET /cgi-bin/koha/circ/circulation.pl?borrowernumber=16653 HTTP/1.1" 504 270
172.20.2.200 - - [27/Sep/2013:13:29:10 +1200] "GET /cgi-bin/koha/circ/circulation.pl?borrowernumber=16653 HTTP/1.1" 504 270
172.20.2.200 - - [27/Sep/2013:13:29:12 +1200] "GET /cgi-bin/koha/circ/circulation.pl?borrowernumber=16653 HTTP/1.1" 504 270
172.20.2.200 - - [27/Sep/2013:13:29:10 +1200] "GET /cgi-bin/koha/circ/circulation.pl?borrowernumber=16653 HTTP/1.1" 504 270
172.20.2.200 - - [27/Sep/2013:13:29:13 +1200] "GET /cgi-bin/koha/circ/circulation.pl?borrowernumber=16653 HTTP/1.1" 504 270
172.20.2.200 - - [27/Sep/2013:13:29:11 +1200] "GET /cgi-bin/koha/circ/circulation.pl?borrowernumber=16653 HTTP/1.1" 504 270
172.20.2.200 - - [27/Sep/2013:13:29:11 +1200] "GET /cgi-bin/koha/circ/circulation.pl?borrowernumber=16653 HTTP/1.1" 504 270
172.20.2.200 - - [27/Sep/2013:13:29:12 +1200] "GET /cgi-bin/koha/circ/circulation.pl?borrowernumber=16653 HTTP/1.1" 504 270
172.20.2.200 - - [27/Sep/2013:13:29:13 +1200] "GET /cgi-bin/koha/circ/circulation.pl?borrowernumber=16653 HTTP/1.1" 504 270
172.20.2.200 - - [27/Sep/2013:13:29:12 +1200] "GET /cgi-bin/koha/circ/circulation.pl?borrowernumber=16653 HTTP/1.1" 504 270
172.20.2.200 - - [27/Sep/2013:13:29:17 +1200] "GET /cgi-bin/koha/circ/circulation.pl?borrowernumber=16653 HTTP/1.1" 504 270
172.20.2.200 - - [27/Sep/2013:13:29:16 +1200] "GET /cgi-bin/koha/circ/circulation.pl?borrowernumber=16653 HTTP/1.1" 504 270

It just keeps going like this until I stop apache, and when I start it
up again, this doesn't immediately recur.

My theory is that there's some javascript somewhere that just loses it
and goes mad, but I don't know. Any ideas? This only comes up once every
few months, but when it does, it can take the server down.

-- 
Robin Sheat
Catalyst IT Ltd.
✆ +64 4 803 2204
GPG: 5FA7 4B49 1E4D CAA4 4C38  8505 77F5 B724 F871 3BDF
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20130927/5bd6508f/attachment.pgp>


More information about the Koha-devel mailing list