On 10/19/2012 02:44 PM, Xavier Naveira wrote:
Hi,
I'm trying to speed up some processes that imply a high number of
queries to the api (currently 48 at a time) by running these queries in
parallel. I see that sometimes get (xml)parser errors and I was
wondering, is there any default max for concurrent connections to the API?
Can you share the xml parser errors? Are they coming from the backend or
from Deltacloud?
There is no setting in Deltacloud that limits how much concurrent
connections can be done, however thin has this ability:
$thin --help
--max-conns NUM Maximum number of open file descriptors
(default: 1024)
Might require sudo to set higher than 1024
--max-persistent-conns NUM Maximum number of persistent connections
(default: 100)
AFAIK we use the default settings.
-- Michal
--
Michal Fojtik <[email protected]>
Deltacloud API, CloudForms