Re: [R] increasing the # of socket connections

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
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,                  ripley@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

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
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 https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.