garbage of TCP sock mem in sockstat?

2007-04-07 Thread Kumiko Ono
Hi all, I tried to find out why some amount of memory remains allocated for TCP socket buffers after an application completes to read the buffers. Although I looked for similar topics in this ML, I couldn't find it. While a client create hundreds of new TCP connections to a server and sends 5

PROBLEM: What happend when exceeding allocatable memory for TCP socket buffers?

2007-03-09 Thread Kumiko Ono
Hi, I tried to find out how many TCP connections a server can establish with a simple test program. But when trying 120K connections for receiving 512 bytes message for each connection sequentially, of which sending rate was 15,000 requests/second, the system stops. I suspect the system was re

How can we make more use of memory for TCP properly?

2006-06-13 Thread Kumiko Ono
Hi all, Although I tried to find similar topics in the maling list, I found no useful clue. If I overlooked, please let me know the pointer. I need to increase the value of sysctl_tcp_mem[2] that limit the total amount of memory allocated for TCP in order to maintain a number of simultateous