Hi,<br><br>the problem seen that your application create for every insert a connection and not closing that after the insert.<br>That exacerbates the maximum connection param from postgres (at postgresql.conf).<br>Maybe if you modified your application to close that connection after the insert or uses a pool of connection (like Kiril points).<br>
[]'s<br> <br clear="all">Luigi Castro Cardeles<br>
<br><br><div class="gmail_quote">2009/11/11 Kirill Zinov <span dir="ltr"><<a href="mailto:kirill.zinov@gmail.com">kirill.zinov@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello Fernando,<br>
<br>
I think this is java application design problem. I don't use PostGIS with Java but Postgres works perfectly for me.<br>
<br>
Do you use connection pooling?<br><font color="#888888">
<br>
Kirill,</font><div class="im"><br>
<br>
Fernando Tong wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks for your repplies.<br>
<br>
Yes, Rob, i'm connecting and disconnecting every time. Here some part of the logs, sorry if it's a noob question but why when the connection is received the port number is increasing? it starts in 3668 and the next connection is 3669 and so on<br>
<br>
</blockquote>
<br></div><div><div></div><div class="h5">
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@postgis.refractions.net" target="_blank">postgis-users@postgis.refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
</div></div></blockquote></div><br>