ping: sendmsg: No buffer space available

Hello,

I am having a little Problem with my internet connection and currently I have no idea how to fix it or even how to go on after this.

I have Leap installed on a Tuxedo BC1503 notebook. At home I connect to the internet via lan, at work via wlan.
Since today this lan connection doesn’t work anymore.

I can connect, and I can ping a website.
I can also load google.com, but once I load wired.com for example or any other “bigger” website, the ping stops (no messages appear anymore) and the browser stops loading the website.
Sometimes instead of leaving an empty line, the ping command gives

ping: sendmsg: No buffer space available

My wireless connection still works and two days ago the lan connection also did work.

I read it might have something to do with my NIC, so:

marc@TheD:~> sudo lspci | egrep -i --color 'network|ethernet'
03:00.0 **Network** controller: Intel Corporation Wireless 3160 (rev 83)
04:00.1 **Ethernet** controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit **Ethernet** Controller (rev 12)

I remember there was a kernel update (or at least a “red” update) yesterday. Might that ahve changed something?

Best
Marc

Have checked how much free disk space you have available?
The following command displays your disk partitions and usage

df -h

TSU

That’s

marc@TheD:~> df -h
Dateisystem    Größe Benutzt Verf. Verw% Eingehängt auf
devtmpfs        3,9G       0  3,9G    0% /dev
tmpfs           3,9G    188K  3,9G    1% /dev/shm
tmpfs           3,9G    2,2M  3,9G    1% /run
tmpfs           3,9G       0  3,9G    0% /sys/fs/cgroup
/dev/sda2        50G     15G   32G   32% /
/dev/sda3       173G     64G  110G   37% /home


Interestingly, if I click disconnect, then click connect, the lan connection is stuck in finding ip configuration.
If I physically remove the lan cable, and plug it in again the lan connection works again. (Until I do sth which causes too much traffic, like loading a big website)

Just installed this update on RTL 8111/8168 PCI Expr. NICs.

Reproduced the problem before restart, and tried it afterwards.

The updates seems to fix the problem.

Wow, that was fast. I’m impressed. Thank you!

OK,
It looks like you aren’t lacking disk space, so your problem problem probably really is a TCP/IP buffer problem.

Googling your error, the problem is likely…

  • A possible hardware or firmware related problem. This is an easy answer, since if no solution is found, hardware is the easiest to blame.
  • The wmem_max TCP/IP buffer variable might need to be enlarged. I’ll give you first the original reference, and then also the paper I wrote a long time how to inspect the TCP/IP buffer values and modify as needed. Particularly if you’re running a machine with busy and high load network connections, the default values would be inadequate. The paper I wrote describes this in detail if you want to understand the complete issues and solutions
    The specific article, note the author describes he runs bittorrent which I also mention in my article as a prime cause of heavy network loads
    http://www.linuxquestions.org/questions/linux-networking-3/sendmsg-no-buffer-space-available-334631/
    My TCP/IP optimization article, you can click on the link in the navigation pane to start from the beginning, this link is to the page which describes inspecting the TCP/IP buffer values. Note that sysctl method I describe in my article is safer than issueing the /proc/sys/ command in the above reference so that if you make a mistake it won’t hang your system.
    https://sites.google.com/site/4techsecrets/optimize-and-fix-your-network-connection/tcp-buffer-re-sizing/viewinng

HTH,
TSU

Hi,

as I said, there was an update a few minutes ago, which fixed the problem.

But thank you very much for your effort. I will take a look at the papers anyway. Such info is always good to have.

Best
Marc

Cool, then it was a firmware/hardware problem (typically pushed through kernel updates).

TSU