Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

How to kill a ip/connection from apache status?

Discussion in 'EasyApache' started by tui, Aug 25, 2014.

  1. tui

    tui Well-Known Member

    Joined:
    Jun 15, 2007
    Messages:
    79
    Likes Received:
    5
    Trophy Points:
    58
    Location:
    Mexico
    cPanel Access Level:
    Root Administrator
    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
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,699
    Likes Received:
    1,790
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice