Avatar of fosiul01
fosiul01
Flag for United Kingdom of Great Britain and Northern Ireland asked on

is there any way to find out how much tcp buffer currently linux handling? (kernel tunning)

Hi
i know w hich parameter change to tune tcp .. example

net.core.rmem_max = 16777216
net.core.wmem_max = 16777216
net.ipv4.tcp_rmem = 4096 87380 16777216
net.ipv4.tcp_wmem = 4096 65536 16777216


but what i want to know is :
is there any way you can see, or is there any statistics data in the system to find out.. how much tcp buffer it has used in a given time ??

example :
you increased your RAM to 20GB, and you can monitor the uses script.
so suppose your maximum tcp send buffer is 16MB

how will you know that when you  actually need to increase the size ??
or is there any way to know that how much RAM its actually using per connection ???

I know Application or oracle they say that you need to set certain amount of tcp buffer.
unless an application states..
how will you know the uses ??

hope it does make sense

thanks
Linux

Avatar of undefined
Last Comment
fosiul01

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
woolmilkporc

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
fosiul01

ASKER
Sorry for late reply.
I was thinking that aswell.

do you know , if there is any way to see how much or how many semaphore the system is using ??

i know oracle has a set of setting
but how will you know that you need to modify the defualt semaphonr setting?
woolmilkporc

ipcs -s
fosiul01

ASKER
I just created a nother quesiton, pls answer into that one ..
so that i can give you point in their ..

https://www.experts-exchange.com/OS/Linux/Q_27732974.html
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23