<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                # 總結日常問題 ## 為什么啟動TCP服務器后客戶端發送消息會斷開連接 客戶端發送的消息必須符合服務器定義的協議規范,tcp協議和http協議不同,tcp協議需要自定義協議規范,告訴服務器如何分割消息,常見的分割消息的方法有eof和length.如果客戶端隨意發送消息,將會被服務器踢下線. ## inotify報錯upper limit on inotify watches reached 在對一個大磁盤進行inotify監聽時,爆出如下錯誤: ``` Failed to watch /mnt/; upper limit on inotify watches reached! Please increase the amount of inotify watches allowed per user via ``` cat一下/proc/sys/fs/inotify/max_user_watches,默認值是8192,執行下面的語句即可 ``` echo 8192000 > /proc/sys/fs/inotify/max_user_watches ``` ## swSocket_set_buffer_size ![](https://box.kancloud.cn/86f7db02070eafac410f578e0fbe3a93_1835x208.png) 一般出現在虛擬機或者mac系統中。 如果出現上面的錯誤,請手動進入server.php配置中,將max_connection字段修改到1024或者更小。 >線上版本需要把max_connection設置到足夠的大,一般100000,代表支持100000個連接。 ## [CoroutineTask]: Time Out!,[Request]: [Event][PR] ``` [CoroutineTask]: Time Out!, [Request]: [Event][PR]3->9:1 ``` 出現Event[PR]這種錯誤,如果你是使用虛擬機那么很抱歉,虛擬機中Swoole的進程間通訊功能有可能不能使用,如果想用完整的SD功能那么請使用docker或者物理機。 ## 出現Class not found 如果出現這個錯誤,請檢查命名空間問題,一般情況是命名空間不對,或者不符合psr/4規范 ## 服務器突然無響應,各種協程超時 請查看下進程,如果進程cpu占用了率100%那么代表你業務代碼出現了死循環。
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看