Hi,
want to give a status update:
It looks like all was caused by the unclean shutdown of my server by netcup (my hosting provider). They had to do maintenance because the server did show frequent thermal throttle events. This is caused by the CPU overheating, usually an indication of a cooling problem.
I had expected they send a shutdown command before shutting down the vserver. Unfortunately this did not happen and the database came up unclean and reverted the unlogged tables to a blank state.
Unlogged tables are a new feature of postgresql. They should speed up imports into the database as no logfile is written for rollback. I thought it’s safe to skip as I imagined worst case to roll back the replication state file.
All missing ways seem to be changed after the crash of the DB Tuesday morning which killed the node lookup table used by the update process. I suppose they get lost after the lookup does not return valid nodes.
My analysis was delayed due to the fact that I looked up the wrong way in the db (the still existing one) and wondered what broke the rendering. In fact it was the replication of the database which was broken.
Yesterday I started another import of the data, using the bounding box including Thailand, Laos, Vietnam, Cambodia (97.3,5.6,109.6,23.4) as I discovered the severity of the broken DB.
I experience a much slower update speed as I knew from the past. Last year a full reload of that bounding box completed within three hours.
It could have happened that the amount of data increased a lot, that osm 64bit IDs slows down the process or that postgresql 9.2 is slower in the configuration used. Or the server has a different scheme to allocate the resources or the general load on the server increased (it’s a shared vserver).
Currently the import is running since 24h, largely IO bound as can be seen on the iowait times in the graph.
Updates are disabled until the import is completed, the currently served map tiles are the cached ones. There are already 60.000, so most parts of Thailand should display fine on the map.
I expect the import to be completed in a few hours, after that I will restart the replication which will also need a few hours to catch up. The current age of the data is available on the about page of the nametool, in case someone is interested.
A dedicated server would perform much better but I’m currently not willing to pay 600 EUR a year for OSM server hardware.
This is a typical hardware needed: http://www.hetzner.de/en/hosting/produkte_rootserver/ex4
Increased performance options would be +10EUR for additional 16GB RAM, +19EUR for 240GB SSD monthly.
Renting a server in Thailand is a lot more expensive, I have not yet seen anything comparable. So if we could come up with a solution to finance a dedicated server I’m willing to manage it.
For your infomation, this is the setup I’m currently using: http://www.netcup.de/bestellen/produkt.php?produkt=87
Stephan