iptables suddently stop working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 06 November 2002 9:57 pm, Luis Fernando Barrera wrote:

> My output is the following:
>
> (right now everything is working)
>
> # wc -l /proc/net/ip_conntrack
>     	156 /proc/net/ip_conntrack
> # cat /proc/sys/net/ipv4/ip_conntrack_max
> 	65424
>
> My box has 1GB RAM.

Okay, so this means you have 156 connections being tracked through your 
firewall (seems a perfectly reasonable number for 200 users), with capacity 
for up to 65424 connections before the box gets overloaded.

If you ever got more than 65424 connections from 200 users it would indicate 
a serious problem (eg Nimda on the machines...) - I would never expect that 
to happen.

So, can you check the next time things lock up:

1. wc -l /proc/net/ip_conntrack
just to see how many connection there are at that time

2. top
to see what process is using up most cpu time (and also what the current 
system load is).

Anyone else got any ideas on how to investigate this ?

Antony.

-- 

Perfection in design is achieved not when there is nothing left to add,
but rather when there is nothing left to take away.

 - Antoine de Saint-Exupery



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux