[Tilesathome] (Mis?)usage of UploadTargetDirectory in upload.pl

Dirk-Lüder Kreie osm-list at deelkar.net
Sun Aug 10 19:06:57 BST 2008


Ævar Arnfjörð Bjarmason schrieb:
> Shouldn't this in upload.pl:
> 
> 65: ## FIXME: this is one of the things that make upload.pl not
> multithread safe
> 66: my $ZipDir = $Config->get("WorkingDirectory") . "/uploadable";
> 
> Be changed to use UploadTargetDirectory? I was setting up a
> configuration pretty much equivalent to the one described here[1] and
> had to symlink my upload process's WorkingDirectory/upload to the
> global UploadTargetDirectory.
> 
> 1. http://lists.openstreetmap.org/pipermail/tilesathome/2007-December/001678.html

That's not how it should work.
each client running on the same machine needs it's own working directory 
for itself (we're slowly fixing all issues with that, so at some time in 
the future this will not be necessary anymore)

So if you want to use uploadToDirectory, that means you do have multiple 
clients running, each in their own working directory, pointing their 
UploadTargetDirectory to one additional client, which has that same 
directory set as its working directory, and uploading what ever gets 
pushed there to the server (preferrably by ./tilesGen.pl upload_loop)


-- 

Dirk-Lüder "Deelkar" Kreie
Bremen - 53.0952°N 8.8652°E

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openstreetmap.org/pipermail/tilesathome/attachments/20080810/0393dac0/attachment.pgp>


More information about the Tilesathome mailing list