Send Buffer is full, ignoring error

tarynkelley

Retired Staff
Retired Staff
Trusted Member
Nov 14, 2015
575
178
28
Parts Unknown
I'm sometimes getting the message:

Send Buffer is full, ignoring error:
A non-blocking socket operation could not be performed immediately.

And in this moment the rust server seems to freeze and lag very much.

Is this probably a Network attack on the server?
 

Jakkee

Retired Staff
Retired Staff
Plugin Developer
Jul 28, 2014
1,465
932
113
Australia
Could also be because you're upload speed is poor and can't handle that many players at once.
I used to get it wayyyy back when running off of my laptop.
Would only happen once I hit 25+players.
Could also have nothing to do with upload speed, that was just my take on it
 

tarynkelley

Retired Staff
Retired Staff
Trusted Member
Nov 14, 2015
575
178
28
Parts Unknown
My Rust server is running on a VPS.

I get this message only very rare. They only appear for some seconds and then the server works fine again. So its not a big problem for me, I was only wondering what it means.
 

tarynkelley

Retired Staff
Retired Staff
Trusted Member
Nov 14, 2015
575
178
28
Parts Unknown
I'm getting the
Send Buffer is full, ignoring error: A non-blocking socket operation could not b
e completed immediately error now very often on a dedicated server with Windows 2012 R2.

What could be the problem?
 

Jakkee

Retired Staff
Retired Staff
Plugin Developer
Jul 28, 2014
1,465
932
113
Australia
I'm getting the
Send Buffer is full, ignoring error: A non-blocking socket operation could not b
e completed immediately error now very often on a dedicated server with Windows 2012 R2.

What could be the problem?
I used to get that while hosting on a laptop, Anyway you've reached the "Sending buffer" as it say in the error, Maybe poor upload speed / connection to players?
 

tarynkelley

Retired Staff
Retired Staff
Trusted Member
Nov 14, 2015
575
178
28
Parts Unknown
I'm not hosting on a low end device.

Its a 2.8 GHZ Quad Core i5 with 16 GB RAM and 100mbit up/down in a Datacenter.
 

tarynkelley

Retired Staff
Retired Staff
Trusted Member
Nov 14, 2015
575
178
28
Parts Unknown
It is a dedicated machine. I have 4 cores and CPU load is at 14 %. RAM load at 20%

Nothing else is running than Rust Server .
 

Jakkee

Retired Staff
Retired Staff
Plugin Developer
Jul 28, 2014
1,465
932
113
Australia
If I remember correctly, Rust only uses 1 core. Maybe it's maxing out one of your cores?
If not then I don't really have an answer sorry
 

tarynkelley

Retired Staff
Retired Staff
Trusted Member
Nov 14, 2015
575
178
28
Parts Unknown
The core(s) can go upto 3,1 GHZ. I don't think its because of that. I changed in the Taskmanger to the Logical Processors and all CPU Cores are balanced
 

tarynkelley

Retired Staff
Retired Staff
Trusted Member
Nov 14, 2015
575
178
28
Parts Unknown
I noticed there is always an Upload Throughput spike when this error is happening.
My max upload speed is 100Mbit.

upload_2016-2-27_17-6-56.png
 

tarynkelley

Retired Staff
Retired Staff
Trusted Member
Nov 14, 2015
575
178
28
Parts Unknown
I increased the Transmit buffer size of the Intel Gigabit Adapter to 2048.

This seem to have fixed the problem.
 

tarynkelley

Retired Staff
Retired Staff
Trusted Member
Nov 14, 2015
575
178
28
Parts Unknown
I noticed that this message is appearing when players are in an area with a lot of buildings / structures.

For example my Small Rads is looking like this:

upload_2016-4-22_0-31-33.png

When i teleport to this area and the structures get loaded the error message immediately show up.

I also noticed that there is a spike in the servers upload traffic.

Normal is around 500 Kbps but it goes up to 3-4 and upto 10 mbit.
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,093
4,784
113
At your house.
github.com
I noticed that this message is appearing when players are in an area with a lot of buildings / structures.

For example my Small Rads is looking like this:

View attachment 1360

When i teleport to this area and the structures get loaded the error message immediately show up.

I also noticed that there is a spike in the servers upload traffic.

Normal is around 500 Kbps but it goes up to 3-4 and upto 10 mbit.
You might be right. I think the server tries to.send all the objects at once

Sent From My Samsung Galaxy S4