Hi,

it turned out to be caused by a high maximum number of connections
(setMaxTotalConnections) and/or connections per route
(setMaxConnectionsPerRoute). Setting these values to 500 and 200
respectively makes it work normally again.

Using only IPv4 did not improve things, neither did openJDK or 32bit
versions of the jvm.

-Chris


> Might be worth trying a different JVM in case it behaves differently.
>
> Or a different OS ;-) as a bit of googling finds:
>
> http://uclue.com/?xq=2127
>
> which points to a problem with IPv6 and Ubuntu/Java and suggests trying:
>
> -Djava.net.preferIPv4Stack=true
>
>
>> Thanks,
>> Chris
>>
>>
>> java.net.UnknownHostException: marco4bella.blogspot.com
>>        at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
>>        at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:850)
>>        at 
>> java.net.InetAddress.getAddressFromNameService(InetAddress.java:1201)
>>        at java.net.InetAddress.getAllByName0(InetAddress.java:1154)
>>        at java.net.InetAddress.getAllByName(InetAddress.java:1084)
>>        at java.net.InetAddress.getAllByName(InetAddress.java:1020)
>>        at 
>> org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:126)
>>        at 
>> org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149)
>>        at 
>> org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:108)
>>        at 
>> org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:415)
>>        at 
>> org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:641)
>>        at 
>> org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:576)
>>        at 
>> org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:554)
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to