[Xastir] rtree purge
Jerry Chamberlin
jerryc at netlab.org
Tue Mar 1 20:34:24 EST 2005
That explaines the issue I had a week ago , before the rtree purge, My Xastir
grew so large it was always swapping..
128 MEG AND XASTIR WAS AT 80 MEG.. AFTYER RUNNING SEVERAL DAYS. IT APPEARS OK
NOW.
Darn Caps lock Deamon.
On Tue, 1 Mar 2005, William McKeehan wrote:
> Swap appears to be my issue...that's what you get when you have a 64 MB
> Machine running several things :-)
>
> In my case, I have a total of around 25 MB total memory used by xastir - only
> 9 MB of that is resident.
>
> I also re-enabled the printf statements in shp_hash.c and verified that the
> search is finding the file in the hash.
>
> Thanks for the help with debugging!
>
> On Tue, March 1, 2005 8:42 pm, Tom Russo said:
> > On Tue, Mar 01, 2005 at 06:28:26PM -0500, we recorded a bogon-computron
> > collision of the <mckeehan at mckeehan.homeip.net> flavor, containing:
> >> I guess it's possible that my machine is slow enough and has such a small
> >> amount of RAM that the rtree stuff is getting swapped out and when I refresh
> >> the map, it's not rebuilding the rtree, but swapping?
> >
> > I was thinking that might be a possibility, but assumed that since you
> > said there was minimal memory bloat that it wouldn't have been a problem.
> > It seems unlikely that swap could account for the rtree fetches "taking
> > forever" as you noted. But I guess if there's a lot of thrashing it could
> > happen. I'd consider that exactly the kind of excessive memory bloat I was
> > trying to avoid by purging unused trees. I did at one time see the rtree
> > stuff bloat my xastir process to over 80M, but that doesn't happen anymore
> > both because I no longer use doubles in the rtree structure (thereby halving
> > the memory requirement), and do purge the unused rtrees.
> >
> > Is this on a linux box? If so, perhaps you could watch "top" and see if there
> > is a lot of swap activity at such times. That'd pretty much settle the
> > question.
> >
> > --
> > Tom Russo KM5VY SAR502 DM64ux http://www.swcp.com/~russo/
> > Tijeras, NM QRPL#1592 K2#398 SOC#236 AHTB#1
> > "When life gives you lemons, find someone with a paper cut."
> >
> >
>
>
> --
> William McKeehan
> KI4HDU
> Internet: mckeehan at mckeehan.homeip.net
> http://mckeehan.homeip.net
> _______________________________________________
> Xastir mailing list
> Xastir at xastir.org
> https://lists.xastir.org/mailman/listinfo/xastir
>
The Net Lab year 2000 and beyond Internet Education is Science
http://www.netlab.org
WA0JRJ - Jerry
used to be ICQ 6408731
used to be AIM PappyJerry
More information about the Xastir
mailing list