免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2160 | 回复: 6
打印 上一主题 下一主题

[网络管理] 老问题怎么知道端口(80)的链接数 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-02-10 23:27 |只看该作者 |倒序浏览
最近在跑squid webcache  发现80上的连接数满了(我没有发现 是我师兄发现的 ) 请问

linux下怎么知道一个端口的连接数 譬如说 80

netstat |grep|wc  这个我知道

我感绝不对  请高手指正下

进一步  怎么提高/调低端口得连接数

论坛徽章:
3
戌狗
日期:2014-09-10 17:07:162015年辞旧岁徽章
日期:2015-03-03 16:54:15wusuopu
日期:2016-06-17 17:43:45
2 [报告]
发表于 2009-02-11 01:06 |只看该作者
原帖由 hehe2727 于 2009-2-10 23:27 发表
netstat |grep|wc  这个我知道

我感绝不对   

感觉哪里不对呢

论坛徽章:
1
寅虎
日期:2015-01-23 02:35:47
3 [报告]
发表于 2009-02-11 09:11 |只看该作者
技术的东西对就对,不对就不对,不能来感觉判断问题结果,要有依据

论坛徽章:
0
4 [报告]
发表于 2009-02-11 11:04 |只看该作者

回复 #3 cuci 的帖子

dmesg |grep 80


possible SYN flooding on port 80. Sending cookies.
possible SYN flooding on port 80. Sending cookies.
possible SYN flooding on port 80. Sending cookies.
possible SYN flooding on port 80. Sending cookies.
possible SYN flooding on port 80. Sending cookies.
possible SYN flooding on port 80. Sending cookies.

用netstat 发现只有4个链接

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
5 [报告]
发表于 2009-02-11 12:06 |只看该作者
原帖由 hehe2727 于 2009-2-11 11:04 发表
dmesg |grep 80


possible SYN flooding on port 80. Sending cookies.
possible SYN flooding on port 80. Sending cookies.
possible SYN flooding on port 80. Sending cookies.
possible SYN floodi ...

会不会受攻击了

论坛徽章:
0
6 [报告]
发表于 2009-02-11 12:43 |只看该作者
原帖由 hehe2727 于 2009-2-11 11:04 发表
dmesg |grep 80


possible SYN flooding on port 80. Sending cookies.
possible SYN flooding on port 80. Sending cookies.
possible SYN flooding on port 80. Sending cookies.
possible SYN floodi ...

你怎么得出4的

论坛徽章:
34
亥猪
日期:2015-03-20 13:55:11戌狗
日期:2015-03-20 13:57:01酉鸡
日期:2015-03-20 14:03:56未羊
日期:2015-03-20 14:18:30子鼠
日期:2015-03-20 14:20:14丑牛
日期:2015-03-20 14:20:31辰龙
日期:2015-03-20 14:35:34巳蛇
日期:2015-03-20 14:35:56操作系统版块每日发帖之星
日期:2015-11-06 06:20:00操作系统版块每日发帖之星
日期:2015-11-08 06:20:00操作系统版块每日发帖之星
日期:2015-11-19 06:20:00黄金圣斗士
日期:2015-11-24 10:43:13
7 [报告]
发表于 2009-02-11 15:33 |只看该作者
可用连接数在 httpd.conf 里面修改
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP