We have a relatively small dataset loaded and have 3-4 people editing simultaneously. We aren't doing a bulk upload.<div><br></div><div>Everything is on one box, but it's a decent box: 4 fast CPUs, 6GB RAM, SATA RAID.</div>
<div><br></div><div>I just did some tweaking. Set PasengerMaxPoolSize 20. Increased SHMMAX so I can increase Postgres' buffer size. I am now seeing memory usage approach 100% (but not go to swap). </div><div><br></div>
<div>But it still seems to bog down after a few minutes of intense editing with Potlatch (edit with save). Vector data is slow to return when scrolling (getting the blinky triangle).</div><div><br></div><div>-Eric</div><div>
<br clear="all">-=--=---=----=----=---=--=-=--=---=----=---=--=-=-<br>Eric B. Wolf 720-334-7734<br><br><br><br>
<br><br><div class="gmail_quote">On Mon, Sep 13, 2010 at 3:49 PM, Brendan Morley <span dir="ltr"><<a href="mailto:morb.gis@beagle.com.au">morb.gis@beagle.com.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#ffffff" text="#000000">
What parts of the API are you exercising?<br>
<br>
When setting up servers for CommonMap, I found that a 50,000 element
upload takes 40 to 80 minutes to complete, depending on the type of
server I used.<br>
<br>
Ruby on Rails is very inefficient for that kind of thing.<br>
<br>
<br>
Brendan<div><div></div><div class="h5"><br>
<br>
On 14/09/2010 6:15 AM, Eric Wolf wrote:
</div></div><blockquote type="cite"><div><div></div><div class="h5">We finally have our system running and are doing some
field tests with multiple editors. The system keeps getting bogged
down. Looking at the process list, I'm seeing 7-8 ruby tasks, each
eating 50%-100% of a CPU core (thank god for multiple CPUs &
cores). They are persisting for 20+ minutes. Any idea what may be up?
Should ruby tasks be hanging around that long?
<div><br>
</div>
<div>I'm running a pretty much default Postgres install. Any hints on
optimizing Postgres for OSM?<br>
<div><br>
</div>
<div>-Eric</div>
<div><br clear="all">
-=--=---=----=----=---=--=-=--=---=----=---=--=-=-<br>
Eric B. Wolf 720-334-7734<br>
<br>
<br>
<br>
</div>
</div>
</div></div><pre><fieldset></fieldset>
_______________________________________________
dev mailing list
<a href="mailto:dev@openstreetmap.org" target="_blank">dev@openstreetmap.org</a>
<a href="http://lists.openstreetmap.org/listinfo/dev" target="_blank">http://lists.openstreetmap.org/listinfo/dev</a>
</pre>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
dev mailing list<br>
<a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/dev" target="_blank">http://lists.openstreetmap.org/listinfo/dev</a><br>
<br></blockquote></div><br></div>