国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

zookeeper Unable to read additional data from server sessionid 0x0

這篇具有很好參考價(jià)值的文章主要介紹了zookeeper Unable to read additional data from server sessionid 0x0。希望對(duì)大家有所幫助。如果存在錯(cuò)誤或未考慮完全的地方,請(qǐng)大家不吝賜教,您也可以點(diǎn)擊"舉報(bào)違法"按鈕提交疑問。

問題描述

項(xiàng)目是springboot 項(xiàng)目,通過dubbo 對(duì)各個(gè)模塊進(jìn)行調(diào)用,在項(xiàng)目啟動(dòng)的時(shí)候,zookeeper 客戶端報(bào)如下錯(cuò)誤。

Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect


原因分析:

先進(jìn)入機(jī)器 telnet zookeeper 服務(wù)器機(jī)器

telnet 10.20.3.31 2181
Trying 10.20.3.31...
Connected to 10.20.3.31.
Escape character is '^]'.
Connection closed by foreign host.

可以看到其實(shí)2181 這個(gè)端口是通的,但剛連通就被服務(wù)器拒絕。
這個(gè)是時(shí)候換了另外一臺(tái)機(jī)器,telnet zookeeper 主機(jī) 端口 發(fā)現(xiàn)zookeeper 主機(jī)沒有被拒絕。

單個(gè)客戶端與單臺(tái)服務(wù)器之間的連接數(shù)的限制,是ip級(jí)別的,默認(rèn)是60,如果設(shè)置為0,那么表明不作任何限制。請(qǐng)注意這個(gè)限制的使用范圍,僅僅是單臺(tái)客戶端機(jī)器與單臺(tái)ZK服務(wù)器之間的連接數(shù)限制,不是針對(duì)指定客戶端IP,也不是ZK集群的連接數(shù)限制,也不是單臺(tái)ZK對(duì)所有客戶端的連接數(shù)限制。

  1. 查看服務(wù)器2181端口已有連接數(shù)
[root@hdfs-10-18-0-31 ~]# netstat -tanp | grep 2181 | awk '{print $5}' | grep -E '([0-9]+\.){3}[0-9]+' -o | sort | uniq -c
11 10.20.3.31

netstat -tanp | grep 2181

查看具體具體應(yīng)用和狀態(tài),發(fā)現(xiàn)10個(gè)連接是 ESTABLISHED 還有一個(gè)是TIME-WAIT 發(fā)現(xiàn)只有10個(gè)連接
進(jìn)入 zookeeper conf/zoo.cfg 查看配置,發(fā)現(xiàn) -maxClientCnxns 并未配置,
但配置initLimit=10。那按道理是最大連接應(yīng)該60才對(duì),還沒到達(dá)上限
通過下面命令,確實(shí)只有10個(gè)連接。

cat /proc/net/nf_conntrack | grep 2181 | awk '{print $7}'|sort|uniq -c
10 src=10.20.3.31

netstat -tanp | grep 2181 查看啟動(dòng)進(jìn)程有哪些,殺掉其中兩個(gè)進(jìn)程。
telnet zookeeper 主機(jī) 端口 不再被拒絕,重新啟動(dòng)啟動(dòng)失敗的服務(wù)啟動(dòng)成功?,F(xiàn)在可以判定是zookeeper 針對(duì)單個(gè)ip限制到10個(gè),添加zoo.cfg 配置maxClientCnxns=60文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-531685.html

到了這里,關(guān)于zookeeper Unable to read additional data from server sessionid 0x0的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來(lái)自互聯(lián)網(wǎng)用戶投稿,該文觀點(diǎn)僅代表作者本人,不代表本站立場(chǎng)。本站僅提供信息存儲(chǔ)空間服務(wù),不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任。如若轉(zhuǎn)載,請(qǐng)注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實(shí)不符,請(qǐng)點(diǎn)擊違法舉報(bào)進(jìn)行投訴反饋,一經(jīng)查實(shí),立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費(fèi)用

相關(guān)文章

  • error: unable to read askpass response from 解決辦法

    error: unable to read askpass response from 解決辦法

    出現(xiàn)這個(gè)報(bào)錯(cuò),我認(rèn)為原因與你的碼云賬號(hào)有關(guān),因?yàn)槲以诰W(wǎng)上大量搜過這個(gè)問題,最后 檢查了一番原來(lái)是gitee賬號(hào)登錄過期,于是重新進(jìn)行登錄,可是登錄成功還是提示錯(cuò)誤,最后網(wǎng)上找了好久的方法終于找到解決辦法,特此記錄一下。 直接修改項(xiàng)目目錄下面的.git文件夾

    2024年02月10日
    瀏覽(94)
  • Zookeeper Unable to connect to zookeeper server within timeout: 15000

    Zookeeper Unable to connect to zookeeper server within timeout: 15000 一般情況都是防火墻沒關(guān),或者Zookeeper 沒啟動(dòng)。 如果不是上面兩種情況,則可能跟我一樣在Spring初始化過程中去連接了Zookeeper ,由于應(yīng)用啟動(dòng)時(shí)間超過15000,把超時(shí)時(shí)間加大即可。

    2024年02月12日
    瀏覽(19)
  • Git配置代理:fatal: unable to access*** github Failure when receiving data from

    Git配置代理:fatal: unable to access*** github Failure when receiving data from

    github自從被微軟收購(gòu)以后,大多數(shù)情況沒點(diǎn)科技上網(wǎng)都進(jìn)不去了,還是懷念以前隨時(shí)訪問的時(shí)光。 我一直都是開著系統(tǒng)代理的,但是今天拉一個(gè)項(xiàng)目發(fā)現(xiàn)拉不下來(lái)了,報(bào)錯(cuò): 這只能說明我自己的Git里面代理沒生效咯~ 那就自己手動(dòng)設(shè)置吧! 首先看一下自己的配置 設(shè)置代理

    2024年02月05日
    瀏覽(29)
  • fatal: unable to access ‘http://xxxx‘: Empty reply from server

    fatal: unable to access ‘http://xxxx‘: Empty reply from server

    更多課程點(diǎn)擊此處 快速鏈接: . ?????? [專欄目錄]-環(huán)境搭建安裝問題筆記目錄 ?????? 付費(fèi)專欄-付費(fèi)課程 【購(gòu)買須知】: ?????? 個(gè)人博客筆記導(dǎo)讀目錄(全部) ?????? 當(dāng)你遇到 “ fatal: unable to access ‘http://xxxx’: Empty reply from server ” 的錯(cuò)誤信息時(shí),通常表示 Git 客戶

    2024年02月15日
    瀏覽(28)
  • IDEA GIT error:unable to read askpass response from,bash: /dev/tty: No such device or address

    IDEA GIT error:unable to read askpass response from,bash: /dev/tty: No such device or address

    1. 刪除windows憑據(jù),方法這里就不說了自行百度,這種應(yīng)該只適合賬號(hào)密碼輸入錯(cuò)誤的情況,我試了沒啥用 2. git的拉取代碼地址上拼接上賬號(hào)密碼,操作步驟如下 親測(cè)有用 ,修改后的格式如下,雖然可以拉取代碼但是總覺得不夠優(yōu)雅,又去找找有沒有其他方法 https://[userNam

    2024年02月13日
    瀏覽(46)
  • 【git提示error: unable to read askpass response from ‘xxxintellij-git-askpass.bat‘ bash: /dev/tty: No 】

    【git提示error: unable to read askpass response from ‘xxxintellij-git-askpass.bat‘ bash: /dev/tty: No 】

    原因:昨天項(xiàng)目還可以進(jìn)行pull push,可以今天就不行了,idea提示 error: unable to read askpass response from ‘xxxintellij-git-askpass.bat’ bash: /dev/tty: No such device or address. 檢查了一番原來(lái)是gitee賬號(hào)登錄過期,于是重新進(jìn)行登錄,可是登錄成功還是提示錯(cuò)誤,最后網(wǎng)上找了好久的方法終于

    2024年02月14日
    瀏覽(52)
  • 【k8s】Error from server (ServiceUnavailable): the server is currently unable to handle the request

    【k8s】Error from server (ServiceUnavailable): the server is currently unable to handle the request

    安裝metrics-server后,pod啟動(dòng)時(shí)成功的就是一直報(bào)這個(gè)錯(cuò)。網(wǎng)上找了很多放法,不管用,可以試試。 ?解決方法:新增 hostNetwork: true 到metries-server.yaml: 參考地址:kubernetes - Error from server (ServiceUnavailable): the server is currently unable to handle the request (get nodes.metrics.k8s.io) - Stack Overflow

    2024年02月11日
    瀏覽(27)
  • error: unable to read askpass response from ‘C:\Users\***\AppData\Local\JetBrains\IntelliJIdea20

    error: unable to read askpass response from ‘C:\Users\***\AppData\Local\JetBrains\IntelliJIdea20

    18:38:15.369: [tianji] git -c credential.helper= -c core.quotepath=false -c log.showSignature=false push --progress --porcelain origin refs/heads/dev:dev --set-upstream Enumerating objects: 23, done. ..... Writing objects: 100% (12/12), 920 bytes | 184.00 KiB/s, done. Total 12 (delta 5), reused 0 (delta 0), pack-reused 0 Invocation failed Server returned inv

    2024年02月14日
    瀏覽(42)
  • unable to read askpass response from ‘C:\Users\EDY\AppData\Local\JetBrains\IntelliJIdea2023.2\tmp\in

    unable to read askpass response from ‘C:\Users\EDY\AppData\Local\JetBrains\IntelliJIdea2023.2\tmp\in

    在Windows中安裝git之后,在idea中又配置git的倉(cāng)庫(kù)。 在我通過VCS方式去拉取遠(yuǎn)程代碼的時(shí)候就出現(xiàn)如下問題: unable to read askpass response from \\\'C:UsersEDYAppDataLocalJetBrainsIntelliJIdea2023.2tmpintellij-git-askpass-local.sh\\\' bash: line 1: /dev/tty: No such device or address failed to execute prompt script (exit c

    2024年02月07日
    瀏覽(18)
  • could not read ok from ADB Server

    could not read ok from ADB Server

    ADB不能連接: 關(guān)閉防火墻可以解決。 保存退出,重啟ADB連接即可。

    2024年02月11日
    瀏覽(18)

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請(qǐng)作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包