Another thing - can you just change over from using minutely to hourly replication files without re-initializing? I tried that and now it does not seem to pick up any replication files any more, neither does osmosis give me an error. Osmosis just runs for about a second and then exits cleanly, leaving the state file intact. This is with the replication base URL set to http://planet.openstreetmap.org/hour-replicate/ and the interval to 7200.
On Fri, Dec 16, 2011 at 4:41 PM, Martijn van Exel <m...@rtijn.org> wrote: > Brett, > > On Tue, Dec 13, 2011 at 3:20 AM, Brett Henderson <br...@bretth.com> wrote: >> On 13 December 2011 06:31, Martijn van Exel <m...@rtijn.org> wrote: >>> >>> Hi all, >>> >>> I have a replication task set up, initially with a longer interval >>> because my planet file is a few weeks old. I have had it running in a >>> cron job with a two hour interval but I get a lot of errors similar to >>> this one: >>> >>> SEVERE: Thread for task 1-rri failed >>> org.openstreetmap.osmosis.core.OsmosisRuntimeException: Unable to >>> parse xml file /tmp/change8301792328184763034.tmp. publicId=(null), >>> systemId=(null), lineNumber=7384, columnNumber=3. >>> .... >>> Caused by: org.xml.sax.SAXParseException; lineNumber: 746; >>> columnNumber: 3; The element type "osmChange" must be terminated by >>> the matching end-tag "</osmChange>". >> >> >> It sounds like the change files are incomplete. Perhaps some of the >> downloads are failing. Is your network connection usually reliable? > > Well, it's comcast cable, so no. > >>> >>> >>> Out of 50 executions, this error appeared 23 times. >>> I have my replication interval set to one day, could that be the problem? >>> Processing (when it succeeds) takes about 90 minutes. I have the cron >>> job set to execute every two hours. >> >> >> How is your replication configured? Specifically which replication files >> are you using (ie. minute, hour or day)? It may be worth switching to files >> with a longer interval if you are patching a file to reduce the number of >> downloads required. Minute replication files would typically be more >> suitable to patching a database where small files can be applied quickly. > > Hmm. I had this set to retrieve the minutely updates. I set it to > hourly now and am expecting much better results. > Thanks for the pointers, Brett, > Martijn > -- > martijn van exel > geospatial omnivore > 1109 1st ave #2 > salt lake city, ut 84103 > 801-550-5815 > http://oegeo.wordpress.com -- martijn van exel geospatial omnivore 1109 1st ave #2 salt lake city, ut 84103 801-550-5815 http://oegeo.wordpress.com _______________________________________________ osmosis-dev mailing list osmosis-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/osmosis-dev