Member since
08-08-2017
1652
Posts
30
Kudos Received
11
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 1948 | 06-15-2020 05:23 AM | |
| 15858 | 01-30-2020 08:04 PM | |
| 2093 | 07-07-2019 09:06 PM | |
| 8186 | 01-27-2018 10:17 PM | |
| 4645 | 12-31-2017 10:12 PM |
06-12-2018
05:57 PM
Geoffrey , this cluster is diff cluster , not the clkuster with the namenode isshue ,
... View more
06-12-2018
10:42 AM
we kill the CLOSE-WAIT and restart the zoo , but still zoo connection are more then max , what we can do with this ?
... View more
06-12-2018
06:29 AM
in the zoo logs we get the following warning : we also get disconnecting issues from zookeper , is it possible to increase the "60" value? what should be the ressolution for this ? Too many connections from /10.54.23.11 - max is 60
from zoo log: 2018-06-12 06:31:56,901 - ERROR [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory$1@44] - Thread Thread[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181,5,main] died
java.lang.OutOfMemoryError: Java heap space
at java.nio.HeapByteBuffer.<init>(HeapByteBuffer.java:57)
at java.nio.ByteBuffer.allocate(ByteBuffer.java:335)
at org.apache.zookeeper.server.NIOServerCnxn.readLength(NIOServerCnxn.java:934)
at org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:237)
at org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:208)
at java.lang.Thread.run(Thread.java:745
2018-06-12 06:18:16,687 - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1008] - Closed socket connection for client /10.164.46.204:52745 which had sessionid 0x163f299c1e20003
2018-06-12 06:18:16,687 - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:Learner@108] - Revalidating client: 0x163f299c1e20003
2018-06-12 06:18:16,688 - INFO [QuorumPeer[myid=1]/0:0:0:0:0:0:0:0:2181:ZooKeeperServer@617] - Established session 0x163f299c1e20003 with negotiated timeout 40000 for client /10.164.46.204:52835
2018-06-12 06:18:16,878 - WARN [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@193] - Too many connections from /10.54.23.11 - max is 60
2018-06-12 06:18:17,550 - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@197] - Accepted socket connection from /10.164.46.170:42523
2018-06-12 06:18:17,550 - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@861] - Client attempting to renew session 0x163f299c1e20004 at /10.54.23.12:42523
2018-06-12 06:18:17,550 - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1008] - Closed socket connection for client /10.164.46.170:42495 which had sessionid 0x163f299c1e20004
2018-06-12 06:18:17,551 - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:Learner@108] - Revalidating client: 0x163f299c1e20004
2018-06-12 06:18:17,552 - INFO [QuorumPeer[myid=1]/0:0:0:0:0:0:0:0:2181:ZooKeeperServer@617] - Established session 0x163f299c1e20004 with negotiated timeout 40000 for client /10.164.46.170:42523
2018-06-12 06:18:18,296 - WARN [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@193] - Too many connections from /10.54.23.11 - max is 60
2018-06-12 06:18:19,695 - WARN [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@193] - Too many connections from /10.54.23.11 - max is 60
2018-06-12 06:18:21,042 - WARN [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@193] - Too many connections from /10.54.23.11 - max is 60
2018-06-12 06:18:21,761 - WARN [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@193] - Too many connections from /10.54.23.11 - max is 60
2018-06-12 06:18:22,408 - WARN [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@193] - Too many connections from /10.54.23.11 - max is 60
2018-06-12 06:18:23,561 - WARN [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@193] - Too many connections from /10.54.23.11 - max is 60
2018-06-12 06:18:24,192 - WARN [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@193] - Too many connections from /10.54.23.11 - max is 60
^C
[root@master01 zookeeper]# host 10.54.23.11
169.46.164.10.in-addr.arpa domain name pointer master01.sys76.com.
... View more
Labels:
06-11-2018
05:41 AM
what variable represented the - "enabled replication for this Postgres instance" ?
... View more
06-11-2018
05:33 AM
@Geoffrey , files are created each day ( average 5 files each day ) , on other clusters this isnt happens , so if I will delete the old files then the problem will return , so I need to find the root cause , maybe conf problem but my cluster have the same conf of cluster that not have this problem , so I am little confuse ,
... View more
06-10-2018
03:07 PM
I have found myself in a situation where the pg_xlog folder contains 80GB of data maybe because wrong configuration how to purge or cleanup the files under pg_xlog? /var/lib/pgsql/data/pg_xlog
[root@master02 pg_xlog]# ls -ltr | more
total 53887180
-rw-------. 1 postgres postgres 16777216 Sep 19 2017 0000000100000000000000F1
-rw-------. 1 postgres postgres 16777216 Sep 19 2017 0000000100000000000000F2
-rw------- 1 postgres postgres 16777216 Sep 19 2017 0000000100000000000000F3
-rw------- 1 postgres postgres 16777216 Sep 19 2017 0000000100000000000000F4
-rw------- 1 postgres postgres 16777216 Sep 19 2017 0000000100000000000000F5
-rw------- 1 postgres postgres 16777216 Sep 20 2017 0000000100000000000000F6
-rw------- 1 postgres postgres 16777216 Sep 20 2017 0000000100000000000000F7
-rw------- 1 postgres postgres 16777216 Sep 20 2017 0000000100000000000000F8
-rw------- 1 postgres postgres 16777216 Sep 20 2017 0000000100000000000000F9
-rw------- 1 postgres postgres 16777216 Sep 20 2017 0000000100000000000000FA
-rw------- 1 postgres postgres 16777216 Sep 20 2017 0000000100000000000000FB
-rw------- 1 postgres postgres 16777216 Sep 20 2017 0000000100000000000000FC
-rw------- 1 postgres postgres 16777216 Sep 20 2017 0000000100000000000000FD
-rw------- 1 postgres postgres 16777216 Sep 21 2017 0000000100000000000000FE
-rw------- 1 postgres postgres 16777216 Sep 21 2017 000000010000000100000000
-rw------- 1 postgres postgres 16777216 Sep 21 2017 000000010000000100000001
-rw------- 1 postgres postgres 16777216 Sep 21 2017 000000010000000100000002
-rw------- 1 postgres postgres 16777216 Sep 21 2017 000000010000000100000003
-rw------- 1 postgres postgres 16777216 Sep 21 2017 000000010000000100000004
-rw------- 1 postgres postgres 16777216 Sep 21 2017 000000010000000100000005
-rw------- 1 postgres postgres 16777216 Sep 22 2017 000000010000000100000006
-rw------- 1 postgres postgres 16777216 Sep 22 2017 000000010000000100000007
-rw------- 1 postgres postgres 16777216 Sep 22 2017 000000010000000100000008
-rw------- 1 postgres postgres 16777216 Sep 22 2017 000000010000000100000009
-rw------- 1 postgres postgres 16777216 Sep 22 2017 00000001000000010000000A
-rw------- 1 postgres postgres 16777216 Sep 22 2017 00000001000000010000000B
-rw------- 1 postgres postgres 16777216 Sep 23 2017 00000001000000010000000C
-rw------- 1 postgres postgres 16777216 Sep 23 2017 00000001000000010000000D
-rw------- 1 postgres postgres 16777216 Sep 23 2017 00000001000000010000000E
-rw------- 1 postgres postgres 16777216 Sep 23 2017 00000001000000010000000F
-rw------- 1 postgres postgres 16777216 Sep 23 2017 000000010000000100000010
-rw------- 1 postgres postgres 16777216 Sep 23 2017 000000010000000100000011
-rw------- 1 postgres postgres 16777216 Sep 23 2017 000000010000000100000012
-rw------- 1 postgres postgres 16777216 Sep 24 2017 000000010000000100000013
-rw------- 1 postgres postgres 16777216 Sep 24 2017 000000010000000100000014
-rw------- 1 postgres postgres 16777216 Sep 24 2017 000000010000000100000015
-rw------- 1 postgres postgres 16777216 Sep 24 2017 000000010000000100000016
-rw------- 1 postgres postgres 16777216 Sep 24 2017 000000010000000100000017
-rw------- 1 postgres postgres 16777216 Sep 24 2017 000000010000000100000018
-rw------- 1 postgres postgres 16777216 Sep 24 2017 000000010000000100000019
-rw------- 1 postgres postgres 16777216 Sep 24 2017 00000001000000010000001A
-rw------- 1 postgres postgres 16777216 Sep 24 2017 00000001000000010000001B
-rw------- 1 postgres postgres 16777216 Sep 25 2017 00000001000000010000001C
-rw------- 1 postgres postgres 16777216 Sep 25 2017 00000001000000010000001D
-rw------- 1 postgres postgres 16777216 Sep 25 2017 00000001000000010000001E
-rw------- 1 postgres postgres 16777216 Sep 25 2017 00000001000000010000001F
-rw------- 1 postgres postgres 16777216 Sep 25 2017 000000010000000100000020
-rw------- 1 postgres postgres 16777216 Sep 25 2017 000000010000000100000021
--More--
... View more
Labels:
06-10-2018
10:13 AM
hi all we want to trigger the spark history deletion each hour ( spark.history.fs.cleaner.interval = 1h ) and to delete the spark history logs that older then one day ( spark.history.fs.cleaner.maxAge = 1d ) so we set the following: and restart the spark services but after 2 hours still logs not deleted in spite logs need to deleted after one hour according to our setings why logs not deleted after one hour ?
... View more
Labels:
06-09-2018
09:01 PM
I also found that, so what is the right variable to set ? ( JAVA_OPTS or JVMFLAGS ) export JVMFLAGS="-Djute.maxbuffer=11000000"
... View more