[Tilecache] error raise when seeding tiles - No buffer space available

Martin Ouellet geomartino at gmail.com
Tue Aug 5 09:49:15 EDT 2008


No, the problem is still raising sometimes... (python 2.5.2 and tilecache
2.0.2)

Martin

2008/8/5, Tibor Arpas <tibor.arpas at infinit.sk>:
>
> Hi,
>
> I too get the "No buffer space available". After that happens, my
> Windows 2003 Server cannot open new TCP connections from any
> application. Some of the old ports which are already bound seem to
> work (RDP, Oracle). The IIS on the other hand is reseting all new
> connections. The only remedy I've found so far is restarting the
> machine. This is Python 2.5.2.
>
> Martin, did you find solution for this? Does anybody successfully use
> seeding on Windows (what version of python)? Looks like urllib2 or
> underlying layers are not releasing resources properly.
>
> Tibor
>
>
>
>
>
> On Fri, Jun 20, 2008 at 7:14 PM, Martin Ouellet <geomartino at gmail.com>
> wrote:
> > I've tried both ("system managed" and increase MaxUserPort and/or
> decrease
> > TCPTimedWaitDelay) but I still got the same message after a while???
> >
> > Thanks Fredrik and if something else come up to your mind, please free to
> > let me know!
> >
> > Martin
> >
> > 2008/6/19 Fredrik Lundh <fredrik at pythonware.com>:
> >>
> >> > After a while of seeding tiles with the current command:
> >> > C:\Python25\python tilecache_seed.py
> >> > "http://localhost/tilecache/tilecache.cgy?" osl_baselayer 8 9
> >> > "30000,75000,869680,1097720"
> >> >
> >> > the following error message shows up:
> >> > urllib2.URLError: <urlopen error (10055, 'No buffer space available')>
> >>
> >> this means that winsock has run out of memory, possibly because it
> >> runs out of TCP socket buffers or port numbers (since closed sockets
> >> are kept for a while, in case new packages arrive).
> >>
> >> a quick googling indicates that you may get around this by increasing
> >> the size of the paging file (or setting it to "system managed").  if
> >> that doesn't help, you may have to tweak the TCP parameters (increase
> >> MaxUserPort and/or decrease TCPTimedWaitDelay):
> >>
> >>    http://support.microsoft.com/kb/196271/en-us
> >>
> >> maybe the seed application could check for this error, and sleep for a
> >> few minutes (TCPTimedWaitDelay is 120 seconds by default) before
> >> retrying the request?
> >>
> >> </F>
> >> _______________________________________________
> >> Tilecache mailing list
> >> Tilecache at openlayers.org
> >> http://openlayers.org/mailman/listinfo/tilecache
> >
> >
> > _______________________________________________
> > Tilecache mailing list
> > Tilecache at openlayers.org
> > http://openlayers.org/mailman/listinfo/tilecache
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/tilecache/attachments/20080805/a1b34ce0/attachment.html


More information about the Tilecache mailing list