SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Enthusiast
    Join Date
    May 2009
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Thumbs up Apache2 connect limit was reached

    Due to increase in traffic my server is very slow and not responding .

    I have changed ServerLimit and MaxClients, the system becomes unstable around 5000 and really unstable at 7000.

    How to deal with it .

    Server config . Quad Core , 8GB Ram . 10mbps unlimited

    I have checked the logs it shows

    Jun 1 02:30:00 LSN-D2208 kernel: printk: 6935 messages suppressed.

    Jun 1 02:30:00 LSN-D2208 kernel: ip_conntrack: table full, dropping packet.

    Jun 1 02:30:05 LSN-D2208 kernel: printk: 7108 messages suppressed.

    Jun 1 02:30:05 LSN-D2208 kernel: ip_conntrack: table full, dropping packet.

    Jun 1 02:30:06 LSN-D2208 kernel: Removing netfilter NETLINK layer.

    Jun 1 02:30:12 LSN-D2208 kernel: possible SYN flooding on port 80. Sending cookies.

  2. #2
    SitePoint Enthusiast
    Join Date
    May 2009
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    my bandwidth is 10mbps unlimited , will it help upgrading to 100mbps ?

  3. #3
    SitePoint Member
    Join Date
    Mar 2006
    Posts
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes, if you're getting that much traffic that you need to up the connections in apache to those then 10mbps is going to be topping out for sure. You may not need 100mbps with unlimited BW but you will need a port upgrade.

    If it's still slow and non responsive after that it may be time to upgrade your server or troubleshoot other things.

  4. #4
    SitePoint Enthusiast
    Join Date
    May 2009
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for your help . upgrading to 100 mbps port

  5. #5
    SitePoint Enthusiast
    Join Date
    May 2007
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No it won't the iptables module conntrack (connection tracking) is hitting the max set in /proc/sys/net/ipv4/netfilter/ip_conntrack_max and is dropping quite a few packets. You need to give a lot more information before any conclusions can be made, I would recommend hiring someone to work on this.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •