Re: [R] increasing the # of socket connections

From: Prof Brian Ripley <>
Date: Sat 26 Aug 2006 - 01:47:40 EST

On Fri, 25 Aug 2006, Marc Kirchner wrote:

> Dear "R-help"ers,
> using snow on socket connections, I ran into the following error
> > cl <- makeSOCKcluster(hosts)
> Error in socketConnection(port = port, server = TRUE,
> blocking = TRUE : all connections are in use
> with "showConnections(all=T)" showing 50 open connections.
> As - for administrative reasons - I would prefer to use snow's
> SOCK capabilities (instead of MPI and the like), I wonder if there is a
> way to increase the number of simultaneous open connections allowed in
> an R session (~100 would be sufficient).

If you really need them open at once (and are not just forgetting to close them), then change the constant in the file and recompile.

> Any help/hints are greatly appreciated,

Is this the appropriate list: not on my reading of the posting guide!

> best regards,
> Marc

Brian D. Ripley,        
Professor of Applied Statistics,
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Sat Aug 26 02:22:43 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sat 26 Aug 2006 - 08:23:24 EST.

Mailing list information is available at Please read the posting guide before posting to the list.