{"action":"created","issue":{"url":"https://api.github.com/repos/frerich/clcache/issues/229","repository_url":"https://api.github.com/repos/frerich/clcache","labels_url":"https://api.github.com/repos/frerich/clcache/issues/229/labels{/name}","comments_url":"https://api.github.com/repos/frerich/clcache/issues/229/comments","events_url":"https://api.github.com/repos/frerich/clcache/issues/229/events","html_url":"https://github.com/frerich/clcache/issues/229","id":178564966,"number":229,"title":"Lock Timeout even with 60s","user":{"login":"akleber","id":3729218,"avatar_url":"https://avatars.githubusercontent.com/u/3729218?v=3","gravatar_id":"","url":"https://api.github.com/users/akleber","html_url":"https://github.com/akleber","followers_url":"https://api.github.com/users/akleber/followers","following_url":"https://api.github.com/users/akleber/following{/other_user}","gists_url":"https://api.github.com/users/akleber/gists{/gist_id}","starred_url":"https://api.github.com/users/akleber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akleber/subscriptions","organizations_url":"https://api.github.com/users/akleber/orgs","repos_url":"https://api.github.com/users/akleber/repos","events_url":"https://api.github.com/users/akleber/events{/privacy}","received_events_url":"https://api.github.com/users/akleber/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-09-22T09:45:21Z","updated_at":"2016-09-28T13:37:50Z","closed_at":null,"body":"Before starting to work on the lockfile based locking again, I wanted to see how clcache has evolved since 3.0.3. Also I wanted to get some reference timing data for later comparison with another locking strategy and also wanted to use it on our internal main project.\r\nWe have a build driven by ninja (generated by cmake). I am testing on a 4 core VM so there should be at max 4 clcache instances running at the same time. I am using the 3.3.0 release. A complete build generates about 6500 cache entries.\r\nDuring the build I get a Lock Timeout Error with the 10s default timeout value and even with a 60s timeout.\r\nI then activated profiling to see where the time might be spent. But with profiling on I am not getting any timeouts. The profiling result of a completed run is attached. [prof.txt](https://github.com/frerich/clcache/files/486913/prof.txt)\r\nAny hints on how to diagnose this further? I started looking at the clcache code but it seams that much has changed since I last looked at the code."},"comment":{"url":"https://api.github.com/repos/frerich/clcache/issues/comments/250168651","html_url":"https://github.com/frerich/clcache/issues/229#issuecomment-250168651","issue_url":"https://api.github.com/repos/frerich/clcache/issues/229","id":250168651,"user":{"login":"akleber","id":3729218,"avatar_url":"https://avatars.githubusercontent.com/u/3729218?v=3","gravatar_id":"","url":"https://api.github.com/users/akleber","html_url":"https://github.com/akleber","followers_url":"https://api.github.com/users/akleber/followers","following_url":"https://api.github.com/users/akleber/following{/other_user}","gists_url":"https://api.github.com/users/akleber/gists{/gist_id}","starred_url":"https://api.github.com/users/akleber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akleber/subscriptions","organizations_url":"https://api.github.com/users/akleber/orgs","repos_url":"https://api.github.com/users/akleber/repos","events_url":"https://api.github.com/users/akleber/events{/privacy}","received_events_url":"https://api.github.com/users/akleber/received_events","type":"User","site_admin":false},"created_at":"2016-09-28T13:37:50Z","updated_at":"2016-09-28T13:37:50Z","body":"I am actually using msvcrt.locking which is using _locking not LockFileEx. Maybe I will have a look at it. But...\r\nThe 10 minutes \"number\" might be a little bit high, so I wanted to analyse this aspect in more detail and added some more debugging output. Strangely enough the last test build went trough without timeout in the warm case (with lockfile). So now I am doing some more builds but as they take 2h in the cold case I will not have any results today. By the way the successful warm build took only 1 hour."}}
{"actor":{"display_login":"akleber"}}