Skip to contentSkip to conversation

tcp_mem problem

DISCUSSION David Osojnik 2 participants 3 messages May 20, 2001

lore
Share & tools
lore
#0 lore raw

the system with problem is using kernel 2.4.2 on an P200 with 64mb ram. It has about 20 users that use the box... (ftp, telnet, lynx, bitchx,...).

the problem is when the parameter tcp_mem HIGH gets exeded after about a day of use! Then the box is going from the net and its not awailable. I tried to tune the system with adding more in proc tcp_mem but the problem is still there the box only lasts for bout 2h longer.

and i get this in messages

kernel: TCP: too many of orphaned sockets

It looks like my system is not droping closed sockets?

David

#1 lore raw
Quoted 8 lines · David Osojnik

the system with problem is using kernel 2.4.2 on an P200 with 64mb ram. It has about 20 users that use the box... (ftp, telnet, lynx, bitchx,...).

the problem is when the parameter tcp_mem HIGH gets exeded after about a day of use! Then the box is going from the net and its not awailable. I tried to tune the system with adding more in proc tcp_mem but the problem is still there the box only lasts for bout 2h longer.

Quoted 5 lines

and i get this in messages

kernel: TCP: too many of orphaned sockets

It looks like my system is not droping closed sockets?

You can check by using netstat -tan
Normally the message is harmless; when it happens the closed sockets are RST instead of being closed properly.

-Andi

#2 lore raw
In reply to David Osojnik
Quoted 4 lines

the system with problem is using kernel 2.4.2 on an P200 with 64mb ram. It has about 20 users that use the box... (ftp, telnet, lynx, bitchx,...).

the problem is when the parameter tcp_mem HIGH gets exeded after about a

day

Quoted 1 line

of use! Then the box is going from the net and its not awailable. I tried

to

Quoted 8 lines

tune the system with adding more in proc tcp_mem but the problem is still there the box only lasts for bout 2h longer.

and i get this in messages

kernel: TCP: too many of orphaned sockets

It looks like my system is not droping closed sockets?

Quoted 7 lines · you

You can check by using netstat -tan
Normally the message is harmless; when it happens the closed sockets are RST instead of being closed properly.

-Andi

But why is the server going down when that message apheres in the log?... No one can telnet to the computer, ssh, web is not awailabe... And the message gets repeted all the time. The only thing to do is to reset the server.

Well I dont know what else to do.

netstat -tan doesnt show anything wrong.

David