[OSM-dev] [Nominatim] Import hangs inside virtualized host

fatzopilot fatzopilot at gmx.net
Thu Feb 2 22:07:24 GMT 2012


Hi,

hope this is the right/best place to ask.
I am trying to import the mapquest npi data inside a virtualized  
environment and it gets stuck all the time after a while. Latest svn  
version tried is 27508 and last time it got stuck after 38765(k) features.  
I don't think the problem is related to nominatim directly but rather to a  
problem with inter process communication in the virtualized environment  
(afaics nominatim uses pipes to connect to postgres). Probably, the  
problem would not occur in a non virtualized environment. Since I still  
would like to see it running virtualized, I am trying to understand the  
cause of the problem, so I run it "straced". Here is the output of the  
last few lines (of ~160GB in total) before it got stuck:

recvfrom(3, "2\0\0\0\4n\0\0\0\4C\0\0\0\rDELETE 0\0Z\0\0\0\5I", 16384, 0,  
NULL, NULL) = 30
sendto(3, "B\0\0\0.\0search_name_delete\0\0\0\0\1\0\0\0"..., 69,  
MSG_NOSIGNAL, NULL, 0) = 69
poll([{fd=3, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=3, revents=POLLIN}])
recvfrom(3, "2\0\0\0\4n\0\0\0\4C\0\0\0\rDELETE 0\0Z\0\0\0\5I", 16384, 0,  
NULL, NULL) = 30
sendto(3, "B\0\0\0004\0place_addressline_delete\0\0"..., 75, MSG_NOSIGNAL,  
NULL, 0) = 75
poll([{fd=3, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=3, revents=POLLIN}])
recvfrom(3, "2\0\0\0\4n\0\0\0\4C\0\0\0\rDELETE 0\0Z\0\0\0\5I", 16384, 0,  
NULL, NULL) = 30
sendto(3, "B\0\0\0\301\0placex_insert\0\0\0\0\16\0\0\0\n2060"..., 216,  
MSG_NOSIGNAL, NULL, 0) = 216
poll([{fd=3, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=3, revents=POLLIN}])
recvfrom(3, "2\0\0\0\4n\0\0\0\4C\0\0\0\17INSERT 0 1\0Z\0\0\0\5I", 16384,  
0, NULL, NULL) = 32
sendto(3, "B\0\0\0q\0place_addressline_insert\0\0"..., 136, MSG_NOSIGNAL,  
NULL, 0) = 136
poll([{fd=3, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=3, revents=POLLIN}])
recvfrom(3, "2\0\0\0\4n\0\0\0\4C\0\0\0\17INSERT 0 1\0Z\0\0\0\5I", 16384,  
0, NULL, NULL) = 32
sendto(3, "B\0\0\0

Could somebody tell me what the problem is?

Thanks
fatzopilot



More information about the dev mailing list