How to kill a ip/connection from apache status?
Hello, I just noticed that some ip addressees where all day connected to one of my boxes, some kind of servers or autosurfs bots, i blocked them in iptables, however if i go to Whm>>Server Status>>Apache Status i see them "connected" to my box, how can i kick them or kill its connections? (i dont want to restart apache)
I identify this thanks to Cloudlinux LVE manager i saw that one website still in the "current usage" tab for a lot of minutes then i check in apache status and i found the ip addresses and that they had a very high "req", i just want to know how can i kill those connections.
After i blocked them with iptables the website disappear from the "current usage" tab in Cloudlinux LVE manager however the connection still there in Apache status:
Srv PID Acc M CPU SS Req Conn Child Slot Client VHost Request
17-533 - 0/0/11053 . 0.07 4691 351195970 0.0 0.00 306.33 104.131.236.218 XXXXXXX.com:80 GET /?cat=26 HTTP/1.1
18-530 - 0/0/8835 . 0.04 4691 373203976 0.0 0.00 231.21 194.114.133.131 xxxxxx.com:80 GET /?p=21434 HTTP/1.1
19-546 - 0/0/8100 . 29.72 4691 304207264 0.0 0.00 214.38 104.131.236.210 xxxxxx.com:80 GET /?p=21630 HTTP/1.1
How can i kill them?
Thanks
-
Hello :) Is there any particular reason you prefer to not restart Apache? It's likely why you still see those connections under "Apache Status". Thank you. 0
Please sign in to leave a comment.
Comments
1 comment