Hi there Dharam,
It is possible that persistence has an effect on the performance of the
system. But generally socket timeouts occur due to other issues like GC
or system load.
What is the server load around the time of the disconnection? Have you
enabled redundant copies for your cq?
Could you please provide your client configuration for this problem.
Maybe even a snippet of the server logs around the time of the client
disconnection. (a minute either side of the client disconnection is a
good start).
--Udo
On 12/19/16 05:22, Thacker, Dharam wrote:
Hi,
Has anyone faced below exceptions while cqlistener thread is working
on? It started coming once after I changes regions to be persistent.
Am I missing anything related to socket timeout?
<geode:disk-storeid=/"my_diskstore"/ cache-ref=/"geodeCache"/
compaction-threshold=/"50"/
auto-compact=/"false"/
allow-force-compaction=/"true"/
max-oplog-size=/"512"/
queue-size=/"10000"/
time-interval=/"500"/
write-buffer-size=/"65536"/
disk-usage-warning-percentage=/"80"/
disk-usage-critical-percentage=/"98"/>
<geode:disk-dirlocation=/"mydata"/ max-size=/"25600"//>
</geode:disk-store>
It tells me that server is unreachable but bouncing client connects to
server again but after some interval of activity with server, again
throws back below exception!
[warn 2016/12/19 18:43:22.608 IST <cqListenerContainer-1> tid=0x6c]
Pool unexpected socket timed out on client connection=Pooled
Connection to XXXX:40404: Connection[XXXX:40404]@1743344121). Server
unreachable: could not connect after 1 attempts
[cqListenerContainer-1] ERROR
o.s.d.g.l.a.ContinuousQueryListenerAdapter Listener execution failed...
_org.apache.geode.cache.client.ServerConnectivityException_: Pool
unexpected socket timed out on client connection=Pooled Connection to
XXXX:40404: Connection[XXXX:40404]@1743344121). Server unreachable:
could not connect after 1 attempts
at
org.apache.geode.cache.client.internal.OpExecutorImpl.handleException(_OpExecutorImpl.java:819_)
at
org.apache.geode.cache.client.internal.OpExecutorImpl.handleException(_OpExecutorImpl.java:603_)
at
org.apache.geode.cache.client.internal.OpExecutorImpl.execute(_OpExecutorImpl.java:173_)
at
org.apache.geode.cache.client.internal.OpExecutorImpl.execute(_OpExecutorImpl.java:110_)
at
org.apache.geode.cache.client.internal.PoolImpl.execute(_PoolImpl.java:697_)
at
org.apache.geode.cache.client.internal.PutAllOp.execute(_PutAllOp.java:110_)
at
org.apache.geode.cache.client.internal.ServerRegionProxy.putAll(_ServerRegionProxy.java:643_)
at
org.apache.geode.internal.cache.LocalRegion.basicPutAll(_LocalRegion.java:10166_)
at
org.apache.geode.internal.cache.LocalRegion.putAll(_LocalRegion.java:10101_)
at
org.apache.geode.internal.cache.LocalRegion.putAll(_LocalRegion.java:10113_)
at
org.springframework.data.gemfire.GemfireTemplate.putAll(_GemfireTemplate.java:201_)
... 25 common frames omitted
Thanks,
Dharam
This email is confidential and subject to important disclaimers and
conditions including on offers for the purchase or sale of securities,
accuracy and completeness of information, viruses, confidentiality,
legal privilege, and legal entity disclaimers, available at
http://www.jpmorgan.com/pages/disclosures/email