On Thu, Jul 5, 2012 at 12:38 AM, Henderson, Colin (GIS) <
[email protected]> wrote:

>   Hi All,
>
> I am not sure whether this question should be posed in the GeoWebCache or
> GeoServer lists. My issue arises when using the built-in GeoWebCache
> functionality but it seems the error is occuring in GeoServer - hence
> posting in this list but please tell me if it would be more appropriate to
> post to GeoWebCache list.
>
> With that said here is my issue. I am trying to seed a Group Layer whose
> individual layers come from a PostGIS database. I am seeding at zoom level
> 17 with an EPSG:900913 gridset. The threads start running and then one by
> one each thread is terminated - this happens no matter how many threads are
> set running. Inspecting the log file I see that the threads have been
> running and requesting data from GeoServer. At the point where the threads
> start terminating I see a number of the following errors:
>



>
> Caused by: java.net.SocketException: No buffer space available (maximum
> connections reached?): recv failed
>  at java.net.SocketInputStream.socketRead0(Native Method)
>  at java.net.SocketInputStream.read(SocketInputStream.java:150)
>  at java.net.SocketInputStream.read(SocketInputStream.java:121)
>  at
> org.postgresql.core.VisibleBufferedInputStream.read(VisibleBufferedInputStream.java:209)
>  at org.postgresql.core.PGStream.Receive(PGStream.java:445)
>  at org.postgresql.core.PGStream.ReceiveTupleV3(PGStream.java:350)
>  at
> org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1774)
>  at
> org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
>  ... 109 more
> </ServiceException></ServiceExceptionReport>
>
> If I interpret this correctly then it would seem that GeoServer is running
> out of connections? I am also seeing the following error message in the log
> file:
>

"No buffer space available (maximum connections reached?): recv failed"
This error seems to be common on Windows (just googled for it) and may
affect a variety of database (including sql server).
This article seems to be helpful, give it a shot:

http://technology-for-human.blogspot.it/2011/05/postgresql-strange-database-server.html

Cheers
Andrea

-- 
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313
mob:    +39 339 8844549

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to