[Tilecache] seed questions

Bart van den Eijnden (OSGIS) bartvde at osgis.nl
Fri May 11 02:17:59 EDT 2007


Hi list,

two questions:

1) we have a cluser of 4 servers which run the Web Map Services, what is the
easiest way for the TileCache seed script to make use of this power so we
can get the seeding done faster?

2) when seeding 1 zoomlevel we got the following error after 75% of the
tiles was retrieved (the script ran for 12 hours approximately and then
stopped):

04 (000074, 000121) = (215216.6921 733665.1317 218800.7015 737249.1410)
[3.5320s : 0.277/s] 11933/15778
Traceback (most recent call last):
  File "../tilecache_seed.py", line 9, in ?
    TileCache.Client.main()
  File "/var/www/cgi-bin/tilecache-1.8.1/TileCache/Client.py", line 104, in
main
    seed(base, layer, map(int, sys.argv[3:]))
  File "/var/www/cgi-bin/tilecache-1.8.1/TileCache/Client.py", line 90, in
seed
    client.fetch()
  File "/var/www/cgi-bin/tilecache-1.8.1/TileCache/Client.py", line 41, in
fetch
    response = self.client.open(urlrequest)
  File "/usr/lib/python2.4/urllib2.py", line 358, in open
    response = self._open(req, data)
  File "/usr/lib/python2.4/urllib2.py", line 376, in _open
    '_open', req)
  File "/usr/lib/python2.4/urllib2.py", line 337, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.4/urllib2.py", line 1021, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/usr/lib/python2.4/urllib2.py", line 994, in do_open
    r = h.getresponse()
  File "/usr/lib/python2.4/httplib.py", line 862, in getresponse
    response.begin()
  File "/usr/lib/python2.4/httplib.py", line 333, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python2.4/httplib.py", line 297, in _read_status
    raise BadStatusLine(line)
httplib.BadStatusLine

Any ideas what this could be?

Thanks in advance.

Best regards,
Bart

--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl








More information about the Tilecache mailing list