Hello Nan,

>[warning 2017/10/19 16:00:47.219 EDT a1  <Handshaker 0.0.0.0/0.0.0.0:40411
Thread 20> tid=0x11e9] Rejected
>connection from /171.135.144.25 because current connection count of 800 is
greater than or equal to the
>configured max of 800
   :
>Is the first line means max-connection is a server side settting?

It means that the number of client connections for the server
exceeds max-connections setting in the server side setting at cache-server
attribute.

http://geode.apache.org/docs/guide/12/reference/topics/cache_xml.html#cache-server

>The whole cluster only take 800 client connections? Or it’s a client side
setting, so each client can use up to 800 connections, so if I have 5
clients, server side will be 4000 connections?

It's a server side configuration for the each servers. Each cache servers
accepts 800 clients connections by default.

>[warning 2017/10/19 16:00:47.220 EDT a1 <Handshaker 0.0.0.0/0.0.0.0:40411
Thread 20> tid=0x11e9] Rejected
>connection from Server connection from [client host
address=171.135.144.71; client port=45894] because
>incoming request was rejected by pool possibly due to thread exhaustion
  :
>Second line means no more thread on the server? I have about 4000 threads
on server. any way to limit geode use certain number of thread?

In this case, "pool" should mean the instance of
java.util.concurrent.ThreadPoolExecutor used for server connections. The
size of this pool equals to max-connections. So, those both two warning
messages basically indicate that the number of client connections exceeds
max-connections setting.

The difference is that the first one is for client connections used for
'client to server' messages related to a client
   * queue (register interest, create cq, etc.) and the second one is for
other purposes of client connections, according to the source code.

You can find exact parts
at org.apache.geode.internal.cache.tier.sockets.AcceptorImpl by searching
the following words.

*
AcceptorImpl_REJECTED_CONNECTION_FROM_0_BECAUSE_CURRENT_CONNECTION_COUNT_OF_1_IS_GREATER_THAN_OR_EQUAL_TO_THE_CONFIGURED_MAX_OF_2
* AcceptorImpl_REJECTED_CONNECTION_FROM_0_BECAUSE_REQUEST_REJECTED_BY_POOL

Thanks.



-- 
Akihiro Kitada  |  Staff Customer Engineer |  +81 80 3716 3736
Support.Pivotal.io <http://support.pivotal.io/>  |  Mon-Fri  9:00am to
5:30pm JST  |  1-877-477-2269
[image: support] <https://support.pivotal.io/> [image: twitter]
<https://twitter.com/pivotal> [image: linkedin]
<https://www.linkedin.com/company/3048967> [image: facebook]
<https://www.facebook.com/pivotalsoftware> [image: google plus]
<https://plus.google.com/+Pivotal> [image: youtube]
<https://www.youtube.com/playlist?list=PLAdzTan_eSPScpj2J50ErtzR9ANSzv3kl>


2017-10-20 5:54 GMT+09:00 Xu, Nan <[email protected]>:

> Hi,
>
>
>
>     When load test our geode cluster, see those from our server log
>
>
>
>
>
> [warning 2017/10/19 16:00:47.219 EDT a1  <Handshaker 0.0.0.0/0.0.0.0:40411
> Thread 20> tid=0x11e9] Rejected connection from /171.135.144.25 because
> current connection count of 800 is greater than or equal to the configured
> max of 800
>
>
>
> [warning 2017/10/19 16:00:47.220 EDT a1 <Handshaker 0.0.0.0/0.0.0.0:40411
> Thread 20> tid=0x11e9] Rejected connection from Server connection from
> [client host address=171.135.144.71; client port=45894] because incoming
> request was rejected by pool possibly due to thread exhaustion
>
>
>
> We are client server setup.
>
>
>
> Is the first line means max-connection is a server side settting?  The
> whole cluster only take 800 client connections? Or it’s a client side
> setting, so each client can use up to 800 connections, so if I have 5
> clients, server side will be 4000 connections?
>
>
>
> Second line means no more thread on the server? I have about 4000 threads
> on server. any way to limit geode use certain number of thread?
>
>
>
> Thanks,
>
> Nan
>
>
>
>
>
>
>
> ------------------------------
> This message, and any attachments, is for the intended recipient(s) only,
> may contain information that is privileged, confidential and/or proprietary
> and subject to important terms and conditions available at
> http://www.bankofamerica.com/emaildisclaimer. If you are not the intended
> recipient, please delete this message.
>

Reply via email to