iptables memory allocation problem

N

NoAgendas

Guest
Anyone know what could take APF so long to start? It stops fine (service apf restart) but starting up again takes forever.

I have about 12 blocks of 8 IP's on the server (reseller), APF v 0.9.6

The deny list is almost empty, only 5-6 IP's listed.

The server is fast (dual xeons / 4GB memory) and the load minimal anyway.

While I waited for APF to start up again, it finally spewed infinite lines of these

iptables: Memory allocation problem
iptables: Memory allocation problem
iptables: Memory allocation problem
iptables: Memory allocation problem

Code:
             total       used       free     shared    buffers     cached
Mem:       4149252    3751364     397888          0     354924    2716012
-/+ buffers/cache:     680428    3468824
Swap:      4192956       2948    4190008
This is *not* a vps, regular server.
 

celliott

Well-Known Member
Jan 2, 2006
460
0
166
United Kingdom
I know this isnt relavent to your problem exactly but what are you hosting on this server? It seems awfully strange that a server just booted up would instantly use 3GB Ram.
 

jonwatson

Well-Known Member
Apr 1, 2007
101
1
168
That's typical of a Linux server. Windows and Linux handle memory in two very different ways. A Linux system will almost always show 90% or more memory usage. The trick is that you don't want to see a lot of swap.