I am getting this error in squid (which goes away after about 20 seconds but annoys the users to no end)

(105) No buffer space available

Then if I go to the command line and try and ping I get this error

ping www.google.com
connect: No buffer space available

So the error seems to be kernel related.

So I added these lines to /etc/sysctl.conf

net.core.rmem_max = 16777216
net.core.wmem_max = 16777216
net.ipv4.tcp_rmem = 4096 87380 16777216 
net.ipv4.tcp_wmem = 4096 65536 16777216
net.ipv4.tcp_timestamps = 1
net.ipv4.tcp_sack = 1
net.ipv4.tcp_no_metrics_save = 1
net.core.netdev_max_backlog = 5000

and reloaded the changes .... But still getting the error

Any suggestions?

link|improve this question
feedback

migrated from stackoverflow.com Jul 14 '11 at 16:35

This question came from our site for professional and enthusiast programmers.

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown