{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-sdk-for-php/issues/855","repository_url":"https://api.github.com/repos/Azure/azure-sdk-for-php","labels_url":"https://api.github.com/repos/Azure/azure-sdk-for-php/issues/855/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-sdk-for-php/issues/855/comments","events_url":"https://api.github.com/repos/Azure/azure-sdk-for-php/issues/855/events","html_url":"https://github.com/Azure/azure-sdk-for-php/issues/855","id":167921241,"number":855,"title":"receiveQueueMessage freezes","user":{"login":"gveiga","id":2440142,"avatar_url":"https://avatars.githubusercontent.com/u/2440142?v=3","gravatar_id":"","url":"https://api.github.com/users/gveiga","html_url":"https://github.com/gveiga","followers_url":"https://api.github.com/users/gveiga/followers","following_url":"https://api.github.com/users/gveiga/following{/other_user}","gists_url":"https://api.github.com/users/gveiga/gists{/gist_id}","starred_url":"https://api.github.com/users/gveiga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gveiga/subscriptions","organizations_url":"https://api.github.com/users/gveiga/orgs","repos_url":"https://api.github.com/users/gveiga/repos","events_url":"https://api.github.com/users/gveiga/events{/privacy}","received_events_url":"https://api.github.com/users/gveiga/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":31,"created_at":"2016-07-27T18:19:24Z","updated_at":"2016-08-22T23:08:52Z","closed_at":null,"body":"Hello, I made an agent using PHP, that is pumping the messages from a queue, but I get the receiveQueueMessage() freezing after some time (maybe days). It's a PHP script that is running in loop, with the receiveQueueMessage() in peekLock and a timeout of 5 seconds, the script sleeps for another 10 seconds each loop run.\r\n\r\nI've tried to call the ServicesBuilder::getInstance()->createServiceBusService(...) in 3 different ways:\r\n-one single call at the start of the script;\r\n-one call each 3 minutes;\r\n-one call before each call to receiveQueueMessage().\r\n\r\nIn all the 3 ways I got my script freezing in the receiveQueueMessage() call.\r\nThe loop is clean, all the vars are set to null each loop run, the memory does not grow, so it does not look to be a memory leak...\r\n\r\nAny thought about that?\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/Azure/azure-sdk-for-php/issues/comments/241578599","html_url":"https://github.com/Azure/azure-sdk-for-php/issues/855#issuecomment-241578599","issue_url":"https://api.github.com/repos/Azure/azure-sdk-for-php/issues/855","id":241578599,"user":{"login":"gveiga","id":2440142,"avatar_url":"https://avatars.githubusercontent.com/u/2440142?v=3","gravatar_id":"","url":"https://api.github.com/users/gveiga","html_url":"https://github.com/gveiga","followers_url":"https://api.github.com/users/gveiga/followers","following_url":"https://api.github.com/users/gveiga/following{/other_user}","gists_url":"https://api.github.com/users/gveiga/gists{/gist_id}","starred_url":"https://api.github.com/users/gveiga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gveiga/subscriptions","organizations_url":"https://api.github.com/users/gveiga/orgs","repos_url":"https://api.github.com/users/gveiga/repos","events_url":"https://api.github.com/users/gveiga/events{/privacy}","received_events_url":"https://api.github.com/users/gveiga/received_events","type":"User","site_admin":false},"created_at":"2016-08-22T23:08:52Z","updated_at":"2016-08-22T23:08:52Z","body":"Oh, I forgot about these two catchs with the exit.... They're for extreme conditions, like to not  be able to get the proxy in 10 tries or not be able to delete/unlock a message. The program runs in a loop where it's launched again if it breaks or exit.\r\nI took a look in my logs and I've not found any entry for this two catchs with the exit call... Let's continue with our tests..."}}
{"actor":{"display_login":"gveiga"}}