Currently I noticed there are about 15K open connections to localhost. It is mainly connecting to Memcached. I am clueless where I should start to optimize TCP/IP stack. Memcached support UDP, but the PHP library doesn't support it.
The server has a lot of memory, about 7GB and it is dual core. Any pointers in how to optimize TCP / IP stack in Linux ?
netstat -natp | grep memcached | awk '{ print $6 }' | sort | uniq -c | sort -rn? – quanta Oct 25 '11 at 7:24