I tired to search for this in the search forum section, but I have been unable to locate what I need.
I will explain what I have done and what system I am using and I am hoping that someone can help me.
First I have Debian Jessie installed on my server with no GUI.
I have a quad core AMD FX™-4100 Quad-Core Processor at 3.6Ghz.
I also have 16 Gb of ram and 32 GB of swap.
I ran this command twice to get the world map.
wget -bc -o /home/rehome/osmPlanet/planetosm_wget.log http://ftp.osuosl.org/pub/openstreetmap/planet/planet-latest.osm.bz2
I have tried to unzip the file with the following command:
bzip2 -sdk planet-latest.osm.bz2 > osmbzip2.txt 2>&1 &
I also tried it with out the slim mode.
It has said the the file is corrupt numerous times. I tried re-downloading the file, with the same results.
I read somewhere that if the file is too large that the bzip2 can create segment faults in the memory.
The thing I do not understand is that is is using all my memory for this. I read up on memory management, but it indicated that on decompression it is not relevant.
I recall having this problem a few years ago the last time I downloaded the file and I needed to run it a few times to get it to work. However with the file size I am thinking that maybe it is causing problems with the system.
Is it possible that it is my system and not the download. I run bzip2 -t and it said it was corrupted too.
Wget said that everything was fine when it was downloaded both times. The file is 51G, which I read is smaller then the latest copy. However, both times the download was the same size.
I don’t want to keep re-downloading the file because I don’t want to be hitting their server over and over, if it is not necessary and I only have so much bandwidth allowed to me.
Please let me know what you think.
Thanks,
Donald
P.S. I hope I have put everthing in here that you will need.