|
nileader
2011-11-28, 11:11
Camille Fournier
2011-11-28, 14:18
Patrick Hunt
2011-11-29, 21:26
nileader
2011-11-30, 00:11
Mahadev Konar
2011-11-30, 09:10
Patrick Hunt
2011-11-30, 17:54
Neha Narkhede
2011-12-06, 17:59
Ted Dunning
2011-12-06, 18:07
Neha Narkhede
2011-12-06, 18:13
Patrick Hunt
2011-12-06, 18:52
Neha Narkhede
2011-12-06, 19:04
Patrick Hunt
2011-12-06, 19:19
Neha Narkhede
2011-12-07, 16:19
|
-
Any command zookeeper administrator can use to close or reject client connetion with ip level?nileader 2011-11-28, 11:11
Any command zookeeper administrator can use to close or reject client
connetion with ip level?
-
Re: Any command zookeeper administrator can use to close or reject client connetion with ip level?Camille Fournier 2011-11-28, 14:18
Not that I'm aware. It's annoying because you could use an
AuthenticationProvider to reject most commands from a client, but that can't prevent it from connecting. If the client doesn't ever call addAuth, you don't have a hook in to close it. C On Mon, Nov 28, 2011 at 6:11 AM, nileader <[EMAIL PROTECTED]> wrote: > Any command zookeeper administrator can use to close or reject client > connetion with ip level? >
-
Re: Any command zookeeper administrator can use to close or reject client connetion with ip level?Patrick Hunt 2011-11-29, 21:26
iptables is very flexible. There's even this which I think is pretty
amazing (rate limit new connections): https://access.redhat.com/kb/docs/DOC-18730 On Mon, Nov 28, 2011 at 3:11 AM, nileader <[EMAIL PROTECTED]> wrote: > Any command zookeeper administrator can use to close or reject client > connetion with ip level?
-
Re: Any command zookeeper administrator can use to close or reject client connetion with ip level?nileader 2011-11-30, 00:11
Ok, Thanks. I will use.In other words, now, we can only use
'maxClientCnxns' to limit the request of one ip. Throuth the docs( http://zookeeper.apache.org/doc/r3.3.3/zookeeperAdmin.html#sc_configuration), i know that 'maxClientCnxns' is the limit for a single client, identified by IP address. So, how can i limit the total connections of zookeeper server. I mean all client total. [EMAIL PROTECTED]
-
Re: Any command zookeeper administrator can use to close or reject client connetion with ip level?Mahadev Konar 2011-11-30, 09:10
There isnt any such option in ZK as of right now. Should be very easy
to add one. Interested? mahadev On Tue, Nov 29, 2011 at 4:11 PM, nileader <[EMAIL PROTECTED]> wrote: > Ok, Thanks. I will use.In other words, now, we can only use > 'maxClientCnxns' to limit the request of one ip. > Throuth the docs( > http://zookeeper.apache.org/doc/r3.3.3/zookeeperAdmin.html#sc_configuration), > i know that 'maxClientCnxns' is the limit for a single client, identified > by IP address. So, how can i limit the total connections of zookeeper > server. I mean all client total. > > > [EMAIL PROTECTED]
-
Re: Any command zookeeper administrator can use to close or reject client connetion with ip level?Patrick Hunt 2011-11-30, 17:54
iptables can do this for you today easily. We had a discussion on dev@
recently that's related to this - how to handle the ZK server file handles ulimit. Setting the default for this feature based on available ulimit would be nice. Patrick On Tue, Nov 29, 2011 at 4:11 PM, nileader <[EMAIL PROTECTED]> wrote: > Ok, Thanks. I will use.In other words, now, we can only use > 'maxClientCnxns' to limit the request of one ip. > Throuth the docs( > http://zookeeper.apache.org/doc/r3.3.3/zookeeperAdmin.html#sc_configuration), > i know that 'maxClientCnxns' is the limit for a single client, identified > by IP address. So, how can i limit the total connections of zookeeper > server. I mean all client total. > > > [EMAIL PROTECTED]
-
Re: Any command zookeeper administrator can use to close or reject client connetion with ip level?Neha Narkhede 2011-12-06, 17:59
>> So, how can i limit the total connections of zookeeper
server. I mean all client total. +1 Also, a related question is being able to monitor the number of disconnect operations on a client. This is generally indicative of a client going through large number of GC and hence disconnecting way too often from a zookeeper cluster. What is a good way of monitoring this ? Thanks, Neha On Wed, Nov 30, 2011 at 9:54 AM, Patrick Hunt <[EMAIL PROTECTED]> wrote: > iptables can do this for you today easily. We had a discussion on dev@ > recently that's related to this - how to handle the ZK server file > handles ulimit. Setting the default for this feature based on > available ulimit would be nice. > > Patrick > > On Tue, Nov 29, 2011 at 4:11 PM, nileader <[EMAIL PROTECTED]> wrote: > > Ok, Thanks. I will use.In other words, now, we can only use > > 'maxClientCnxns' to limit the request of one ip. > > Throuth the docs( > > > http://zookeeper.apache.org/doc/r3.3.3/zookeeperAdmin.html#sc_configuration > ), > > i know that 'maxClientCnxns' is the limit for a single client, identified > > by IP address. So, how can i limit the total connections of zookeeper > > server. I mean all client total. > > > > > > [EMAIL PROTECTED] >
-
Re: Any command zookeeper administrator can use to close or reject client connetion with ip level?Ted Dunning 2011-12-06, 18:07
Look at the logs?
On Tue, Dec 6, 2011 at 9:59 AM, Neha Narkhede <[EMAIL PROTECTED]>wrote: > Also, a related question is being able to monitor the number of disconnect > operations on a client. This is generally indicative of a client going > through large number of GC and hence disconnecting way too often from a > zookeeper cluster. What is a good way of monitoring this ? >
-
Re: Any command zookeeper administrator can use to close or reject client connetion with ip level?Neha Narkhede 2011-12-06, 18:13
Well, the point is to monitor and alert on it. So maybe a JMX bean or one
of the 4-letter commands would be reasonable. Thanks, Neha On Tue, Dec 6, 2011 at 10:07 AM, Ted Dunning <[EMAIL PROTECTED]> wrote: > Look at the logs? > > On Tue, Dec 6, 2011 at 9:59 AM, Neha Narkhede <[EMAIL PROTECTED] > >wrote: > > > Also, a related question is being able to monitor the number of > disconnect > > operations on a client. This is generally indicative of a client going > > through large number of GC and hence disconnecting way too often from a > > zookeeper cluster. What is a good way of monitoring this ? > > >
-
Re: Any command zookeeper administrator can use to close or reject client connetion with ip level?Patrick Hunt 2011-12-06, 18:52
Please add both jmx and 4lw, I think this would be useful for
operators. There have been a couple recent jiras on this - capturing a count of the number of connections in "srvr" comes to mind. This would be useful summary there as well (in addition to being in stat and mntr). Patrick On Tue, Dec 6, 2011 at 10:13 AM, Neha Narkhede <[EMAIL PROTECTED]> wrote: > Well, the point is to monitor and alert on it. So maybe a JMX bean or one > of the 4-letter commands would be reasonable. > > Thanks, > Neha > > On Tue, Dec 6, 2011 at 10:07 AM, Ted Dunning <[EMAIL PROTECTED]> wrote: > >> Look at the logs? >> >> On Tue, Dec 6, 2011 at 9:59 AM, Neha Narkhede <[EMAIL PROTECTED] >> >wrote: >> >> > Also, a related question is being able to monitor the number of >> disconnect >> > operations on a client. This is generally indicative of a client going >> > through large number of GC and hence disconnecting way too often from a >> > zookeeper cluster. What is a good way of monitoring this ? >> > >>
-
Re: Any command zookeeper administrator can use to close or reject client connetion with ip level?Neha Narkhede 2011-12-06, 19:04
Patrick,
>> There have been a couple recent jiras on this - capturing a count of the number of connections in "srvr" comes to mind. Are you referring to adding another entry for "number_of_client_connections" to both JMX and srvr/mntr ? Please can you point me to a JIRA, if one exists ? Thanks, Neha On Tue, Dec 6, 2011 at 10:52 AM, Patrick Hunt <[EMAIL PROTECTED]> wrote: > Please add both jmx and 4lw, I think this would be useful for > operators. There have been a couple recent jiras on this - capturing a > count of the number of connections in "srvr" comes to mind. This would > be useful summary there as well (in addition to being in stat and > mntr). > > Patrick > > On Tue, Dec 6, 2011 at 10:13 AM, Neha Narkhede <[EMAIL PROTECTED]> > wrote: > > Well, the point is to monitor and alert on it. So maybe a JMX bean or one > > of the 4-letter commands would be reasonable. > > > > Thanks, > > Neha > > > > On Tue, Dec 6, 2011 at 10:07 AM, Ted Dunning <[EMAIL PROTECTED]> > wrote: > > > >> Look at the logs? > >> > >> On Tue, Dec 6, 2011 at 9:59 AM, Neha Narkhede <[EMAIL PROTECTED] > >> >wrote: > >> > >> > Also, a related question is being able to monitor the number of > >> disconnect > >> > operations on a client. This is generally indicative of a client going > >> > through large number of GC and hence disconnecting way too often from > a > >> > zookeeper cluster. What is a good way of monitoring this ? > >> > > >> >
-
Re: Any command zookeeper administrator can use to close or reject client connetion with ip level?Patrick Hunt 2011-12-06, 19:19
It must have come up in conversation, I can't find it in jira. Feel
free to enter one. Yes, it would be useful to have insight into the number of connections currently to a server as a summary in srvr & mntr, currently you can only get it by running "stat" and counting the result. That's alot of work for the server to do just to get connection count. Additionally it would be good to have some stats on how things are changing over time. ie new/lost connections in the last 5/10/15 seconds/minutes or somesuch. However this is best left to the monitoring system itself. Patrick On Tue, Dec 6, 2011 at 11:04 AM, Neha Narkhede <[EMAIL PROTECTED]> wrote: > Patrick, > >>> There have been a couple recent jiras on this - capturing a > count of the number of connections in "srvr" comes to mind. > > Are you referring to adding another entry for > "number_of_client_connections" to both JMX and srvr/mntr ? > > Please can you point me to a JIRA, if one exists ? > > Thanks, > Neha > > On Tue, Dec 6, 2011 at 10:52 AM, Patrick Hunt <[EMAIL PROTECTED]> wrote: > >> Please add both jmx and 4lw, I think this would be useful for >> operators. There have been a couple recent jiras on this - capturing a >> count of the number of connections in "srvr" comes to mind. This would >> be useful summary there as well (in addition to being in stat and >> mntr). >> >> Patrick >> >> On Tue, Dec 6, 2011 at 10:13 AM, Neha Narkhede <[EMAIL PROTECTED]> >> wrote: >> > Well, the point is to monitor and alert on it. So maybe a JMX bean or one >> > of the 4-letter commands would be reasonable. >> > >> > Thanks, >> > Neha >> > >> > On Tue, Dec 6, 2011 at 10:07 AM, Ted Dunning <[EMAIL PROTECTED]> >> wrote: >> > >> >> Look at the logs? >> >> >> >> On Tue, Dec 6, 2011 at 9:59 AM, Neha Narkhede <[EMAIL PROTECTED] >> >> >wrote: >> >> >> >> > Also, a related question is being able to monitor the number of >> >> disconnect >> >> > operations on a client. This is generally indicative of a client going >> >> > through large number of GC and hence disconnecting way too often from >> a >> >> > zookeeper cluster. What is a good way of monitoring this ? >> >> > >> >> >>
-
Re: Any command zookeeper administrator can use to close or reject client connetion with ip level?Neha Narkhede 2011-12-07, 16:19
Thanks ! Filed https://issues.apache.org/jira/browse/ZOOKEEPER-1321 to
track this. Thanks, Neha On Tue, Dec 6, 2011 at 11:19 AM, Patrick Hunt <[EMAIL PROTECTED]> wrote: > It must have come up in conversation, I can't find it in jira. Feel > free to enter one. > > Yes, it would be useful to have insight into the number of connections > currently to a server as a summary in srvr & mntr, currently you can > only get it by running "stat" and counting the result. That's alot of > work for the server to do just to get connection count. > > Additionally it would be good to have some stats on how things are > changing over time. ie new/lost connections in the last 5/10/15 > seconds/minutes or somesuch. However this is best left to the > monitoring system itself. > > Patrick > > On Tue, Dec 6, 2011 at 11:04 AM, Neha Narkhede <[EMAIL PROTECTED]> > wrote: > > Patrick, > > > >>> There have been a couple recent jiras on this - capturing a > > count of the number of connections in "srvr" comes to mind. > > > > Are you referring to adding another entry for > > "number_of_client_connections" to both JMX and srvr/mntr ? > > > > Please can you point me to a JIRA, if one exists ? > > > > Thanks, > > Neha > > > > On Tue, Dec 6, 2011 at 10:52 AM, Patrick Hunt <[EMAIL PROTECTED]> wrote: > > > >> Please add both jmx and 4lw, I think this would be useful for > >> operators. There have been a couple recent jiras on this - capturing a > >> count of the number of connections in "srvr" comes to mind. This would > >> be useful summary there as well (in addition to being in stat and > >> mntr). > >> > >> Patrick > >> > >> On Tue, Dec 6, 2011 at 10:13 AM, Neha Narkhede <[EMAIL PROTECTED] > > > >> wrote: > >> > Well, the point is to monitor and alert on it. So maybe a JMX bean or > one > >> > of the 4-letter commands would be reasonable. > >> > > >> > Thanks, > >> > Neha > >> > > >> > On Tue, Dec 6, 2011 at 10:07 AM, Ted Dunning <[EMAIL PROTECTED]> > >> wrote: > >> > > >> >> Look at the logs? > >> >> > >> >> On Tue, Dec 6, 2011 at 9:59 AM, Neha Narkhede < > [EMAIL PROTECTED] > >> >> >wrote: > >> >> > >> >> > Also, a related question is being able to monitor the number of > >> >> disconnect > >> >> > operations on a client. This is generally indicative of a client > going > >> >> > through large number of GC and hence disconnecting way too often > from > >> a > >> >> > zookeeper cluster. What is a good way of monitoring this ? > >> >> > > >> >> > >> > |