[R] increasing the # of socket connections
Prof Brian Ripley
ripley at stats.ox.ac.uk
Fri Aug 25 17:47:40 CEST 2006
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,
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help