{"action":"created","issue":{"url":"https://api.github.com/repos/DOAJ/doaj/issues/374","labels_url":"https://api.github.com/repos/DOAJ/doaj/issues/374/labels{/name}","comments_url":"https://api.github.com/repos/DOAJ/doaj/issues/374/comments","events_url":"https://api.github.com/repos/DOAJ/doaj/issues/374/events","html_url":"https://github.com/DOAJ/doaj/issues/374","id":48097744,"number":374,"title":"OAI PMH very slow queries on live","user":{"login":"emanuil-tolev","id":1190172,"avatar_url":"https://avatars.githubusercontent.com/u/1190172?v=3","gravatar_id":"","url":"https://api.github.com/users/emanuil-tolev","html_url":"https://github.com/emanuil-tolev","followers_url":"https://api.github.com/users/emanuil-tolev/followers","following_url":"https://api.github.com/users/emanuil-tolev/following{/other_user}","gists_url":"https://api.github.com/users/emanuil-tolev/gists{/gist_id}","starred_url":"https://api.github.com/users/emanuil-tolev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emanuil-tolev/subscriptions","organizations_url":"https://api.github.com/users/emanuil-tolev/orgs","repos_url":"https://api.github.com/users/emanuil-tolev/repos","events_url":"https://api.github.com/users/emanuil-tolev/events{/privacy}","received_events_url":"https://api.github.com/users/emanuil-tolev/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/DOAJ/doaj/labels/ready+for+review","name":"ready for review","color":"5319e7"}],"state":"open","locked":false,"assignee":{"login":"emanuil-tolev","id":1190172,"avatar_url":"https://avatars.githubusercontent.com/u/1190172?v=3","gravatar_id":"","url":"https://api.github.com/users/emanuil-tolev","html_url":"https://github.com/emanuil-tolev","followers_url":"https://api.github.com/users/emanuil-tolev/followers","following_url":"https://api.github.com/users/emanuil-tolev/following{/other_user}","gists_url":"https://api.github.com/users/emanuil-tolev/gists{/gist_id}","starred_url":"https://api.github.com/users/emanuil-tolev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emanuil-tolev/subscriptions","organizations_url":"https://api.github.com/users/emanuil-tolev/orgs","repos_url":"https://api.github.com/users/emanuil-tolev/repos","events_url":"https://api.github.com/users/emanuil-tolev/events{/privacy}","received_events_url":"https://api.github.com/users/emanuil-tolev/received_events","type":"User","site_admin":false},"milestone":null,"comments":14,"created_at":"2014-11-07T15:57:00Z","updated_at":"2015-01-08T19:57:00Z","closed_at":null,"body":"Override ELASTIC_SEARCH_HOST to be http://95.85.59.151:9200 and let me know so I can give you access. Then you can use the interpreter (make sure your code is on master!) but you will be touching the live data.\r\n\r\nNote: @richard-jones did write an OAI PMH stress test. Not immediately useful but could be useful for investigating."},"comment":{"url":"https://api.github.com/repos/DOAJ/doaj/issues/comments/69238791","html_url":"https://github.com/DOAJ/doaj/issues/374#issuecomment-69238791","issue_url":"https://api.github.com/repos/DOAJ/doaj/issues/374","id":69238791,"user":{"login":"emanuil-tolev","id":1190172,"avatar_url":"https://avatars.githubusercontent.com/u/1190172?v=3","gravatar_id":"","url":"https://api.github.com/users/emanuil-tolev","html_url":"https://github.com/emanuil-tolev","followers_url":"https://api.github.com/users/emanuil-tolev/followers","following_url":"https://api.github.com/users/emanuil-tolev/following{/other_user}","gists_url":"https://api.github.com/users/emanuil-tolev/gists{/gist_id}","starred_url":"https://api.github.com/users/emanuil-tolev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emanuil-tolev/subscriptions","organizations_url":"https://api.github.com/users/emanuil-tolev/orgs","repos_url":"https://api.github.com/users/emanuil-tolev/repos","events_url":"https://api.github.com/users/emanuil-tolev/events{/privacy}","received_events_url":"https://api.github.com/users/emanuil-tolev/received_events","type":"User","site_admin":false},"created_at":"2015-01-08T19:57:00Z","updated_at":"2015-01-08T19:57:00Z","body":"In the last 10000 lines of access logging (measurement taken at 8 Jan 2015 19:50 GMT) there were quite a few hits with an empty resumptionToken.\r\n\r\nI tried it on live, it does time out after 30s with Bad Gateway error (because gunicorn reaps its worker).\r\n\r\nThis is clearly an automated process, it hits every ~30 seconds. All attempts that I could see came from this IP http://who.is/whois-ip/ip-address/124.16.136.238 , registered to a Chinese scientific organisation."}}