{"action":"created","issue":{"url":"https://api.github.com/repos/alestic/ec2-expire-snapshots/issues/6","labels_url":"https://api.github.com/repos/alestic/ec2-expire-snapshots/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/alestic/ec2-expire-snapshots/issues/6/comments","events_url":"https://api.github.com/repos/alestic/ec2-expire-snapshots/issues/6/events","html_url":"https://github.com/alestic/ec2-expire-snapshots/issues/6","id":14147644,"number":6,"title":"The script hangs for quite a long time (about 15 minutes.)","user":{"login":"varunwy","id":245368,"avatar_url":"https://avatars.githubusercontent.com/u/245368?v=3","gravatar_id":"","url":"https://api.github.com/users/varunwy","html_url":"https://github.com/varunwy","followers_url":"https://api.github.com/users/varunwy/followers","following_url":"https://api.github.com/users/varunwy/following{/other_user}","gists_url":"https://api.github.com/users/varunwy/gists{/gist_id}","starred_url":"https://api.github.com/users/varunwy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varunwy/subscriptions","organizations_url":"https://api.github.com/users/varunwy/orgs","repos_url":"https://api.github.com/users/varunwy/repos","events_url":"https://api.github.com/users/varunwy/events{/privacy}","received_events_url":"https://api.github.com/users/varunwy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2013-05-09T14:12:44Z","updated_at":"2015-09-08T06:29:27Z","closed_at":"2015-09-08T06:29:27Z","body":"I have two Amazon EC2 instances. One having Ubuntu (Kernel 2.6.32-318) and the other is having Amazo Linux (Kernel 3.4.37-40.44). Both have similar hardware configuration. The script executes in about 10 seconds on Ubuntu machine but on the Amazon Linux instance it takes 10 to 15 minutes to complete. On the Amazon Linux instance I debugged and found that it waits on the line:\r\n\r\neval {\r\n        $snapshots = $ec2->describe_snapshots();\r\n    };\r\n\r\nI have the package aws-apitools-ec2.noarch version 1.6.7.2 installed on the Amazon Linux machine. Can someone please point me to what's going on here? Why the describe_snapshots command takes so... long on the Amazon Linux instance and finishes in a few seconds on the Ubuntu instance."},"comment":{"url":"https://api.github.com/repos/alestic/ec2-expire-snapshots/issues/comments/138449235","html_url":"https://github.com/alestic/ec2-expire-snapshots/issues/6#issuecomment-138449235","issue_url":"https://api.github.com/repos/alestic/ec2-expire-snapshots/issues/6","id":138449235,"user":{"login":"ehammond","id":531159,"avatar_url":"https://avatars.githubusercontent.com/u/531159?v=3","gravatar_id":"","url":"https://api.github.com/users/ehammond","html_url":"https://github.com/ehammond","followers_url":"https://api.github.com/users/ehammond/followers","following_url":"https://api.github.com/users/ehammond/following{/other_user}","gists_url":"https://api.github.com/users/ehammond/gists{/gist_id}","starred_url":"https://api.github.com/users/ehammond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehammond/subscriptions","organizations_url":"https://api.github.com/users/ehammond/orgs","repos_url":"https://api.github.com/users/ehammond/repos","events_url":"https://api.github.com/users/ehammond/events{/privacy}","received_events_url":"https://api.github.com/users/ehammond/received_events","type":"User","site_admin":false},"created_at":"2015-09-08T06:29:27Z","updated_at":"2015-09-08T06:29:27Z","body":"I believe this issue has been improved in a more recent version of ec2-expire-snapshots.\r\n\r\nPlease test with the latest version and re-open if you are still experiencing problems."}}