GCE rate limits to 20 requests/second so you are probably hitting that with the 
default polling periods. Try setting POLL_INITIAL_PERIOD to something like 1000 
and POLL_MAX_PERIOD to 5000 and see if that helps.

Thanks,
Chris
-- 
Chris Custine


From: Yaron Rosenbaum <[email protected]>
Reply: [email protected] <[email protected]>
Date: October 26, 2015 at 11:00:36 AM
To: [email protected] <[email protected]>
Subject:  Creating multiple nodes in separate threads  

Hi

I’m trying to create multiple nodes in multiple threads on GCE (each thread 
creates a single node) (the nodes have different properties, hence need 
different templates).

The problem is, that when trying to create more than 4 nodes, the fifth node 
doesn’t get created. The API just hangs.
I’m guessing there’s some sort of rate limiting on the GCE side, wondering if 
this is correct, and if so - how to throttle down jClouds. Otherwise - what 
could possibly be causing this?


Regards,
Yaron
(Y)

Reply via email to