{"action":"created","issue":{"url":"https://api.github.com/repos/gogits/gogs/issues/3914","repository_url":"https://api.github.com/repos/gogits/gogs","labels_url":"https://api.github.com/repos/gogits/gogs/issues/3914/labels{/name}","comments_url":"https://api.github.com/repos/gogits/gogs/issues/3914/comments","events_url":"https://api.github.com/repos/gogits/gogs/issues/3914/events","html_url":"https://github.com/gogits/gogs/issues/3914","id":192211358,"number":3914,"title":"fail to serve RPC(upload-pack): exit status 128","user":{"login":"gelim","id":179122,"avatar_url":"https://avatars.githubusercontent.com/u/179122?v=3","gravatar_id":"","url":"https://api.github.com/users/gelim","html_url":"https://github.com/gelim","followers_url":"https://api.github.com/users/gelim/followers","following_url":"https://api.github.com/users/gelim/following{/other_user}","gists_url":"https://api.github.com/users/gelim/gists{/gist_id}","starred_url":"https://api.github.com/users/gelim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gelim/subscriptions","organizations_url":"https://api.github.com/users/gelim/orgs","repos_url":"https://api.github.com/users/gelim/repos","events_url":"https://api.github.com/users/gelim/events{/privacy}","received_events_url":"https://api.github.com/users/gelim/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-29T07:52:58Z","updated_at":"2016-12-24T19:06:41Z","closed_at":null,"body":"- Gogs version (or commit ref): 0.9.97.0901\r\n- Git version: 1.9.1\r\n- Operating system: Ubuntu 14.04.5 LTS\r\n- Database (use `[x]`):\r\n  - [ ] PostgreSQL\r\n  - [x] MySQL\r\n  - [ ] SQLite\r\n- Can you reproduce the bug at https://try.gogs.io:\r\n  - [x] Yes (provide example URL) **read description** (server DOS will occur)\r\n  - [ ] No\r\n  - [ ] Not relevant\r\n- Logs:\r\n\r\n2016/11/29 10:39:56 [...routers/repo/http.go:384 serviceRPC()] [E] fail to serve RPC(upload-pack): exit status 128\r\n\r\n## Description\r\n\r\nWhen cloning the (big) repo https://github.com/firehol/blocklist-ipsets and pushing to my local gogs instance (8GB RAM 4 CPU), I got a DOS when trying to render the repo (CPU are all spinning for some minutes) with final web timeout.\r\nWatching the processes taking up all the CPU (they are continuously switching files):\r\n```\r\ngit      19521  9.0  0.6 284340 49424 ?        R    10:54   0:00 git log -1 --pretty=format:%H 8abe9916a386b27434c5e8a72897dfb10bb5ca34 -- bambenek_cryptowall_ipdeny_country.json\r\ngit      19522  8.0  0.5 284332 43560 ?        R    10:54   0:00 git log -1 --pretty=format:%H 8abe9916a386b27434c5e8a72897dfb10bb5ca34 -- bambenek_cryptowall_retention.json\r\ngit      19523  0.0  0.3 284068 30628 ?        R    10:54   0:00 git log -1 --pretty=format:%H 8abe9916a386b27434c5e8a72897dfb10bb5ca34 -- bambenek_dircrypt.json\r\n```\r\nI did the same on https://try.gogs.io/gelim/blocklist-ipsets and it looks the same. **WARNING** if you access this URL your server/VM will have a hard time :-| \r\nNB: The new repo will properly appear in my main list: https://try.gogs.io/gelim/\r\n\r\n```\r\n$ git remote add test https://try.gogs.io/gelim/blocklist-ipsets.git\r\n$ git push test\r\nUsername for 'https://try.gogs.io': gelim\r\nPassword for 'https://gelim@try.gogs.io': \r\nCounting objects: 314375, done.\r\nDelta compression using up to 4 threads.\r\nCompressing objects: 100% (4287/4287), done.\r\nWriting objects: 100% (314375/314375), 363.89 MiB | 6.06 MiB/s, done.\r\nTotal 314375 (delta 310921), reused 313466 (delta 310012)\r\nTo https://try.gogs.io/gelim/blocklist-ipsets.git\r\n * [new branch]      gh-pages -> gh-pages\r\n$\r\n```\r\n\r\nIf you try to access directly one of the files, for instance README.md, it should be here:\r\nhttps://try.gogs.io/gelim/blocklist-ipsets/src/master/README.md\r\nyou'll get a 404. Files haven't been unpacked in the repo.\r\n\r\nIs it an upload limit? (NB: I push via SSH on my local gogs instance)"},"comment":{"url":"https://api.github.com/repos/gogits/gogs/issues/comments/269096573","html_url":"https://github.com/gogits/gogs/issues/3914#issuecomment-269096573","issue_url":"https://api.github.com/repos/gogits/gogs/issues/3914","id":269096573,"user":{"login":"Unknwon","id":2946214,"avatar_url":"https://avatars.githubusercontent.com/u/2946214?v=3","gravatar_id":"","url":"https://api.github.com/users/Unknwon","html_url":"https://github.com/Unknwon","followers_url":"https://api.github.com/users/Unknwon/followers","following_url":"https://api.github.com/users/Unknwon/following{/other_user}","gists_url":"https://api.github.com/users/Unknwon/gists{/gist_id}","starred_url":"https://api.github.com/users/Unknwon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Unknwon/subscriptions","organizations_url":"https://api.github.com/users/Unknwon/orgs","repos_url":"https://api.github.com/users/Unknwon/repos","events_url":"https://api.github.com/users/Unknwon/events{/privacy}","received_events_url":"https://api.github.com/users/Unknwon/received_events","type":"User","site_admin":false},"created_at":"2016-12-24T19:06:41Z","updated_at":"2016-12-24T19:06:41Z","body":"Please upgrade to latest release 0.9.113 and redo the test, you'll got more specific error message other than just `128`."}}
{"actor":{"display_login":"Unknwon"}}