JohannesEbke / aws_list_all

List all your AWS resources, all regions, all services.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Handle Too Many Open Files (Open Connections)

JohannesEbke opened this issue · comments

If run with a nlimit of 1024, aws-list-all runs into OSErrors due to too many open files (connections).

The reason for this is that AWS has over 1000 endpoints (region/service pairs), and aws-list-all distributes requests randomly across these endpoints to avoid throttling.

Workaround: If you list regions one-by-one, you should not run out of open files.