VPS被关了,服务商给出了接受,各位能帮我看看什么问题吗?

2013-09-15 18:14:45 +08:00
 hopestar86
Your VPS is causing huge connections on the server which is making our entire hardware node unstable and its affecting the other clients on the server. We have stopped your VPS temporarily to make the things stable. We need you to take necessary action towards this issue.

[root@lanode5 ~]# cat /proc/net/nf_conntrack | grep -i 192.210.149.10 | wc -l
10671
[root@lanode5 ~]# cat /proc/net/nf_conntrack | grep -i 192.210.149.10 | head -20
ipv4 2 tcp 6 425698 ESTABLISHED src=192.210.149.10 dst=82.80.234.140 sport=80 dport=29698 [UNREPLIED] src=82.80.234.140 dst=192.210.149.10 sport=29698 dport=80 mark=0 secmark=0 use=2
ipv4 2 tcp 6 426358 ESTABLISHED src=192.210.149.10 dst=82.80.244.52 sport=80 dport=23313 [UNREPLIED] src=82.80.244.52 dst=192.210.149.10 sport=23313 dport=80 mark=0 secmark=0 use=2
ipv4 2 tcp 6 426883 ESTABLISHED src=192.210.149.10 dst=82.80.244.53 sport=80 dport=58136 [UNREPLIED] src=82.80.244.53 dst=192.210.149.10 sport=58136 dport=80 mark=0 secmark=0 use=2
ipv4 2 tcp 6 423472 ESTABLISHED src=192.210.149.10 dst=82.80.244.59 sport=80 dport=15321 [UNREPLIED] src=82.80.244.59 dst=192.210.149.10 sport=15321 dport=80 mark=0 secmark=0 use=2
ipv4 2 tcp 6 424828 ESTABLISHED src=192.210.149.10 dst=82.80.244.54 sport=80 dport=18471 [UNREPLIED] src=82.80.244.54 dst=192.210.149.10 sport=18471 dport=80 mark=0 secmark=0 use=2

这个vps我只是作为图片服务器,是不是82.80.244IP段在采集照成的
1140 次点击
所在节点    VPS
11 条回复
wzzyj8
2013-09-15 18:48:27 +08:00
看下web日志,看看到底在访问点什么,我之前遇到过类似的情况,结果看了日志发现是bing的蜘蛛在抓取图片。。
shierji
2013-09-15 19:01:09 +08:00
hopestar86
2013-09-15 19:02:53 +08:00
@shierji 192.210.149.10是我vps的IP
Kvm
2013-09-15 19:14:06 +08:00
连接数过多。。。。。
顺道说下为啥会给你关掉的原因,连接数一旦上限将会引起宿主服务器网络不稳定由而产生丢包高延迟状况,宿主内核是2.6.18下尤为明显。。。。。
hopestar86
2013-09-15 19:17:43 +08:00
@Kvm 请教怎么限制或者解决吗。
作为图片服务器用的,一天都没多少ip,这都能超?
Kvm
2013-09-15 19:20:23 +08:00
@hopestar86 用tcpdump抓包和netstat分下下吧
hopestar86
2013-09-15 19:35:16 +08:00
@Kvm 客服给出了解释
The attack is from the range 82.80.*.*

请教iptables屏蔽
iptables -I INPUT -s 82.80.0.0/8 -j DROP
是这样吗,谢谢
hadoop
2013-09-15 19:49:37 +08:00
@hopestar86 ptables -I INPUT -p tcp -s 82.80.0.0/16 -j DROP
donnior
2013-09-15 21:59:25 +08:00
会这么多么?我在vps上面跑KAD网络的爬虫程序都没有被停。。。
loveminds
2013-09-16 03:25:14 +08:00
@hopestar86 82.80.以色列的IP...
Kvm
2013-09-16 06:51:21 +08:00
@hopestar86 直接 82.0.0.0/8干净点吧,中东大牛太多了。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/82539

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX