Download System Administrator`s Guide

Transcript
Diagnosing System Problems
Chapter 11
The text string indicates the cause of the exception, as in these examples:
Unable to allocate sufficient stores for a bucket in the partitioned
region....
Ran out of retries attempting to allocate a bucket in the partitioned
region....
Response:
Check the network for traffic congestion or a broken connection to a member.
Look at the overall installation for problems, such as operations at the application level set to a
higher priority than the GemFire processes.
If you keep seeing PartitionedRegionStorageException, you should evaluate whether you
need to start more members. See Managing Resources for Partitioned Regions on page 137.
Application Crashes Without Producing an Exception
If an application crashes without any exception, this may be caused by an object memory problem. The
process is probably hitting its virtual address space limits. For details, see OutOfMemoryError on
page 205.
Response: Control memory use by setting entry limits for the regions. See Memory Overhead Introduced
by the Cache API on page 135, Keeping Your Data Current With Expiration on page 176 of the GemFire
Enterprise Developer’s Guide, and Controlling Memory Use With Eviction and Overflow on page 182
of the GemFire Enterprise Developer’s Guide.
Timeout Alert
If a distributed message does not get a response within a specified time, it sends an alert to signal that
something might be wrong with the system member that hasn’t responded. The alert is logged in the
sender’s log as a warning.
A timeout alert can be considered normal.
Response:
If you’re seeing a lot of timeouts and you haven’t seen them before, check whether your network is
flooded.
If you see these alerts constantly during normal operation, consider raising the ack-waitthreshold (page 48) above the default 15 seconds.
Member Produces SocketTimeoutException
A client, server, gateway, or gateway hub produces a SocketTimeoutException when it stops waiting
for a response from the other side of the connection and closes the socket. This exception typically
happens on the handshake or when establishing a callback connection.
Response:
Increase the default socket timeout setting for the member. This timeout is set separately for the client
Pool and for the Gateway and GatewayHub, either in the cache.xml file or through the API. For
details on the client/server configuration, see Socket Timeout on page 266 of the GemFire Enterprise
Developer’s Guide. For the gateway, see socket-read-timeout on page 273 of the GemFire
Enterprise Developer’s Guide.
206
GemStone Systems, Inc.