亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 12030 | 回復: 9
打印 上一主題 下一主題

使用netstat -an看到很多TIME_WAIT狀態(tài) [復制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2008-09-23 11:51 |只看該作者 |倒序瀏覽
使用netstat -an看到很多TIME_WAIT狀態(tài),導致客戶打無法正常訪問該服務器,請問是否可以修改Linux 下的TIME_WAIT時間,謝謝!

[ 本帖最后由 三劍 于 2008-9-23 17:53 編輯 ]

論壇徽章:
0
2 [報告]
發(fā)表于 2008-09-23 14:09 |只看該作者
什么機器?

不是TIME_WAIT和CLOSE_WAIT的state嗎?

怎么有WAIT-LIST狀態(tài)?

例如修改TIME_WAIT
/sbin/sysctl -w net.ipv4.vs.timeout_timewait=60
套接口將保持TIME_WAIT狀態(tài)不超過60秒.

看看tcp狀態(tài)機吧

論壇徽章:
3
CU大;照
日期:2013-03-13 15:29:07CU大;照
日期:2013-03-13 15:29:49CU大;照
日期:2013-03-13 15:30:19
3 [報告]
發(fā)表于 2008-09-23 15:42 |只看該作者
LZ跑的什么服務?感覺應該是和服務本身有關(guān)

論壇徽章:
0
4 [報告]
發(fā)表于 2008-09-23 15:51 |只看該作者
netstat還可看到服務層面?

他的state就是下面這些:
   State
       The  state of the socket. Since there are no states in raw mode and usually no states used in UDP, this column may be left
       blank. Normally this can be one of several values:

       ESTABLISHED
              The socket has an established connection.

       SYN_SENT
              The socket is actively attempting to establish a connection.

       SYN_RECV
              A connection request has been received from the network.

       FIN_WAIT1
              The socket is closed, and the connection is shutting down.

       FIN_WAIT2
              Connection is closed, and the socket is waiting for a shutdown from the remote end.

       TIME_WAIT
              The socket is waiting after close to handle packets still in the network.

       CLOSED The socket is not being used.

       CLOSE_WAIT
              The remote end has shut down, waiting for the socket to close.

       LAST_ACK
              The remote end has shut down, and the socket is closed. Waiting for acknowledgement.

       LISTEN The socket is listening for incoming connections.  Such sockets are not included in the output unless  you  specify
              the --listening (-l) or --all (-a) option.

       CLOSING
              Both sockets are shut down but we still don鈥檛 have all our data sent.

       UNKNOWN
              The state of the socket is unknown.

論壇徽章:
3
CU大;照
日期:2013-03-13 15:29:07CU大;照
日期:2013-03-13 15:29:49CU大牛徽章
日期:2013-03-13 15:30:19
5 [報告]
發(fā)表于 2008-09-23 16:21 |只看該作者
當然可以看到了。比如你看apache的連接數(shù)不也可以用netstat ??

論壇徽章:
0
6 [報告]
發(fā)表于 2008-09-23 17:12 |只看該作者
提示: 作者被禁止或刪除 內(nèi)容自動屏蔽

論壇徽章:
0
7 [報告]
發(fā)表于 2008-09-23 17:42 |只看該作者
我用的是RedHat AS3 update9 運行domino 6.5.6版本,每過幾天客戶端就無法訪問,提示not responding,使用netstat -an全部都是:

tcp        0      0 192.168.1.2:1352          207.46.120.105:443          TIME_WAIT   
tcp        0      0 192.168.1.2:1352              65.54.171.48:80             TIME_WAIT   
tcp        0      1 192.168.1.2:1352             202.144.75.78:80            FIN_WAIT1   
tcp        0      0 192.168.1.2:1352                10.16.11.248:4257           TIME_WAIT   

不知道能否修改一下所有session的TIME-WAIT的等待時間,謝謝!

論壇徽章:
0
8 [報告]
發(fā)表于 2008-09-25 11:50 |只看該作者
那位知道linux系統(tǒng)是否可以設置對TIME_WAIT的時間,謝謝!

論壇徽章:
0
9 [報告]
發(fā)表于 2008-09-25 12:17 |只看該作者

回復 #8 三劍 的帖子

2樓不是說了嗎?

沒看?

論壇徽章:
0
10 [報告]
發(fā)表于 2008-09-25 12:18 |只看該作者
lz真強啊

重新編輯了帖子都不說一聲

人家看回復都不不知道在說什么的?
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP