> > A look into /proc/sys/net/ipv4/tcp_mem showed that that the values in> > there were way to high. I hope that a reduction of these values will> > help (not done yet).

> Sounds different. Please test a more recent kernel and if the problem is> still there, send a report to linux-kernel and cc netdev@vger.kernel.org. > Include the contents of /proc/meminfo and /proc/slabinfo. Thanks.

I solved the issue.

Recent kernels have alloc_large_system_hash() exactly for that, andtcp_init() uses it. It has nr_all_pages and nr_kernel_pages todetermine the actual size of usable RAM, whereas 2.6.10 just usesnum_physpages. That's the reason why the values in tcp_mem are waytoo high on machines with 3-4 Gig RAM.