logo       

Re: [ gpsdrive ] osm2pgsql errors: msg#00057

Subject: Re: [ gpsdrive ] osm2pgsql errors
Am Montag, 15. Oktober 2007 03:06:10 schrieb Alex Cruz:
> On Sunday 14 October 2007, Joerg Ostertag wrote:
> > ...
> >
> > > Writing way(66k)mapnik-osm-updater.sh: line 318:   677 Segmentation
> > > fault sudo -u "$osm_username" osm2pgsql --database "$database_name"
> > > $planet_file
> > >
> > > Any thoughts as to why this is happening?
...
>  -svn up updated with no errors
>  -compiled osm2pgsql with no errors
>  -I have 2GB of RAM
>  -downloaded the planet file (several times)
>
> What I have noticed is that regardless if the planet file is compressed or
> uncompressed (I didn't realize it was 12GB uncompressed), 

Yes, it't growing really fast ...

> the process 
> always dies when it hits the "Writing way(66k)". 

So this points to an consistent error.

> Also, regardless if it's 
> the only process running, it consumes all available RAM and starts to swap 
> a little, too. 

With your 2GB this shouldn't happen. Last time I remember it should consume 
less than 1GB of RAM. 

> The -s option didn't work either. 

I havn't tried any of these options yet.

> Since I have never used gdb to debug, what parameters should I use to
> capture the information? Thanks.

I hope that a simple backtraced (bt) would help.

Start gdb with
        gdb --args osm2pgsql planetfile.bz2
run the programm with 
        r
and as soon as the SIGSEG is seen type in 
        bt
then cut 'n paste the result and let's see

One more question: Which architecture has you CPU? x86 or different?

-

Joerg


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    politics.lenini...    audio.emagic.ex...    tex.texinfo.gen...    handhelds.linux...    ietf.sipping/20...    lang.erlang.gen...    cygwin.talk/200...    yellowdog.gener...    mozilla.devel.l...    xfree86.newbie/...    openbsd.ports/2...    db.oracle.devel...    kde.kalyxo.deve...    user-groups.lin...    bbc.cvs/2003-04...    gnu.libtool.bug...    redhat.k12osn/2...    emulators.wine....    freebsd.devel.d...    search.xapian.g...    java.izpack.use...    network.mrtg.us...    windows.total-c...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe