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!

Error log Drop pocket

Discussion in 'General Discussion' started by mahdy_sharifi, Sep 17, 2014.

  1. mahdy_sharifi

    mahdy_sharifi Well-Known Member

    Joined:
    Feb 26, 2012
    Messages:
    203
    Likes Received:
    0
    Trophy Points:
    66
    cPanel Access Level:
    Root Administrator
    Hi :

    Sometimes server gows slow or even down over webserver , after check messages logs following error seeing :

    Code:
    nf_conntrack: table full, dropping packet
    TCP: time wait bucket table overflow
    No any attack on server , I increased nf_conntrack_max but not helpfull.
    but when Iptables stop this problem resolve and server back with good speed

    What is problem ?

    Thank You
     
  2. cPanelPeter

    cPanelPeter Technical Analyst III
    Staff Member

    Joined:
    Sep 23, 2013
    Messages:
    575
    Likes Received:
    20
    Trophy Points:
    93
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    What happens when you type the following:

    Code:
    netstat -antp | grep TIME_WAIT | wc -l
    
    How many connections were returned?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. mahdy_sharifi

    mahdy_sharifi Well-Known Member

    Joined:
    Feb 26, 2012
    Messages:
    203
    Likes Received:
    0
    Trophy Points:
    66
    cPanel Access Level:
    Root Administrator
    netstat -antp | grep TIME_WAIT | wc -l
    4599
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,303
    Likes Received:
    1,847
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    Do you notice any particular output to /usr/local/apache/logs/error_log when this happens?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. mahdy_sharifi

    mahdy_sharifi Well-Known Member

    Joined:
    Feb 26, 2012
    Messages:
    203
    Likes Received:
    0
    Trophy Points:
    66
    cPanel Access Level:
    Root Administrator
    No ... error_log normal.

    when this problem occur I run :
    service iptables stop

    and problem solved , although iptables start again after 5 min , but till 24 hrs no problem occur . (24 hrs till next cpanel update)
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,303
    Likes Received:
    1,847
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    You may want to try installing a third-party firewall such as CSF if your default iptables firewall rules appear to be the cause of the problem.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. mahdy_sharifi

    mahdy_sharifi Well-Known Member

    Joined:
    Feb 26, 2012
    Messages:
    203
    Likes Received:
    0
    Trophy Points:
    66
    cPanel Access Level:
    Root Administrator
    I am using CSF !
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,303
    Likes Received:
    1,847
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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