On 13 December 2011 06:31, Martijn van Exel <span dir="ltr"><<a href="mailto:m@rtijn.org">m@rtijn.org</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
<br>
I have a replication task set up, initially with a longer interval<br>
because my planet file is a few weeks old. I have had it running in a<br>
cron job with a two hour interval but I get a lot of errors similar to<br>
this one:<br>
<br>
SEVERE: Thread for task 1-rri failed<br>
org.openstreetmap.osmosis.core.OsmosisRuntimeException: Unable to<br>
parse xml file /tmp/change8301792328184763034.tmp. publicId=(null),<br>
systemId=(null), lineNumber=7384, columnNumber=3.<br>
....<br>
Caused by: org.xml.sax.SAXParseException; lineNumber: 746;<br>
columnNumber: 3; The element type "osmChange" must be terminated by<br>
the matching end-tag "</osmChange>".<br></blockquote><div><br>It sounds like the change files are incomplete. Perhaps some of the downloads are failing. Is your network connection usually reliable?<br> </div>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Out of 50 executions, this error appeared 23 times.<br>
I have my replication interval set to one day, could that be the problem?<br>
Processing (when it succeeds) takes about 90 minutes. I have the cron<br>
job set to execute every two hours.<br></blockquote><div><br>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.<br>
<br>Brett<br></div></div><br>