{"action":"created","issue":{"url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/2867","labels_url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/2867/labels{/name}","comments_url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/2867/comments","events_url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/2867/events","html_url":"https://github.com/qbittorrent/qBittorrent/issues/2867","id":68059099,"number":2867,"title":"GeoIP usage issue","user":{"login":"reyaz006","id":6751344,"avatar_url":"https://avatars.githubusercontent.com/u/6751344?v=3","gravatar_id":"","url":"https://api.github.com/users/reyaz006","html_url":"https://github.com/reyaz006","followers_url":"https://api.github.com/users/reyaz006/followers","following_url":"https://api.github.com/users/reyaz006/following{/other_user}","gists_url":"https://api.github.com/users/reyaz006/gists{/gist_id}","starred_url":"https://api.github.com/users/reyaz006/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reyaz006/subscriptions","organizations_url":"https://api.github.com/users/reyaz006/orgs","repos_url":"https://api.github.com/users/reyaz006/repos","events_url":"https://api.github.com/users/reyaz006/events{/privacy}","received_events_url":"https://api.github.com/users/reyaz006/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-13T09:58:05Z","updated_at":"2015-04-13T10:53:48Z","closed_at":null,"body":"I noticed recently how qbt launches rather slowly and there was one time when it freezed.\r\n\r\nUpon inspection with procmon, I found that it continuously reads GeoIP.dat in times like these. I'm not saying that it is the only cause of qbt being occasionally slow. But it seemed to me that handling of GeoIP db only relies on the disk. If that's true, I think it should be read only once per launch, be kept in RAM and be processed by qbt from there. It's smaller than 1mb afterall.\r\n\r\nI've disabled GeoIP for now."},"comment":{"url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/comments/92307620","html_url":"https://github.com/qbittorrent/qBittorrent/issues/2867#issuecomment-92307620","issue_url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/2867","id":92307620,"user":{"login":"sledgehammer999","id":273315,"avatar_url":"https://avatars.githubusercontent.com/u/273315?v=3","gravatar_id":"","url":"https://api.github.com/users/sledgehammer999","html_url":"https://github.com/sledgehammer999","followers_url":"https://api.github.com/users/sledgehammer999/followers","following_url":"https://api.github.com/users/sledgehammer999/following{/other_user}","gists_url":"https://api.github.com/users/sledgehammer999/gists{/gist_id}","starred_url":"https://api.github.com/users/sledgehammer999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sledgehammer999/subscriptions","organizations_url":"https://api.github.com/users/sledgehammer999/orgs","repos_url":"https://api.github.com/users/sledgehammer999/repos","events_url":"https://api.github.com/users/sledgehammer999/events{/privacy}","received_events_url":"https://api.github.com/users/sledgehammer999/received_events","type":"User","site_admin":false},"created_at":"2015-04-13T10:53:48Z","updated_at":"2015-04-13T10:53:48Z","body":">I've disabled GeoIP for now.\r\n\r\nHow did you do that? Did you rebuild qbt?\r\n\r\n> If that's true, I think it should be read only once per launch, be kept in RAM and be processed by qbt from there.\r\n\r\nTrue but unfortunately we don't have any control over that. It is controlled by libtorrent.\r\nSome info here: https://github.com/qbittorrent/qBittorrent/issues/2837"}}