Friday, October 22, 2010

kernal parameter "socket max connection" and how to change it


socket max connection defined as 128 here on both app and DB, I think it's a good idea to
                        increase to 8000 (1000 buffer for your 5000 users).

net.core.somaxconn

echo 8000 > /proc/sys/net/core/somaxconn

[root@siebelapp1 ~]# echo 8000 > /proc/sys/net/core/somaxconn
[root@siebelapp1 ~]# sysctl -a | grep net.core.somaxconn
net.core.somaxconn = 8000




root@siebeloracle(DB-SERVER):/root#>sysctl -a | grep net.core.somaxconn
net.core.somaxconn = 128


root@siebeloracle(DB-SERVER):/root#>echo 8000 > /proc/sys/net/core/somaxconn
root@siebeloracle(DB-SERVER):/root#>sysctl -a | grep net.core.somaxconn
net.core.somaxconn = 8000

No comments:

Post a Comment