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

    Jun 15, 2007
    Likes Received:
    Trophy Points:
    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 GET /?cat=26 HTTP/1.1
    18-530 - 0/0/8835 . 0.04 4691 373203976 0.0 0.00 231.21 GET /?p=21434 HTTP/1.1
    19-546 - 0/0/8100 . 29.72 4691 304207264 0.0 0.00 214.38 GET /?p=21630 HTTP/1.1

    How can i kill them?

  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    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...

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