Linux echo tcp server message size limitation
It is apparent that the Echo TCP Server in Linux has a message size limitation of around 200 KB. I adjusted the echo file configuration in xinetd.d, to move the port from the default 7 but have the same result – it works fine for messages less than 200 KB but stalls with anything larger. I have tried adding other attributes such as “= rlimit_data UNLIMITED”. I was considering increasing Linux’s maximum TCP buffer size but thought I might break something else.
Does anyone know how to resolve this?
Current contents of echo file:
service echo
{
type = INTERNAL UNLISTED
id = echo-stream
socket_type = stream
protocol = tcp
user = root
wait = no
disable = no
port = 10000
}
|