This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
*newbie* /dev/root full after 24hrs
#31
(2018-08-06, 05:49 PM)tkurki Wrote: Could you try once more with 

Code:
sudo lsof -i | grep 30330


when the problem is occurring?

What I am looking for is the other end of the single active connection, which is not included in the listing with all the CLOSE_WAIT connections that you sent:

Code:
kplex     3363   pi   11u  IPv4 434938      0t0  TCP 10.10.10.1:30330->10.10.10.1:55516 (ESTABLISHED)

My guess is that lsof is not listing all network connections without sudo.

What I am looking for is something like this:

Code:
lsof -i | grep 30330
kplex     8862  tjk    6u  IPv6 0x1b4146e9b77ce467      0t0  TCP *:30330 (LISTEN)
kplex     8862  tjk    7u  IPv6 0x1b4146e9af129447      0t0  TCP localhost:30330->localhost:56510 (ESTABLISHED)
nc        8863  tjk    5u  IPv6 0x1b4146e9b69ff987      0t0  TCP localhost:56510->localhost:30330 (ESTABLISHED)

You can see kplex server listening for new connections and then one established connection from application nc.

As far as I understand this kplex is not handling connections that are closed by a client properly but keeps the file descriptor open with the connection in CLOSE_WAIT state - when there is no data being processed. From what you are saying it closes the connections properly if there is data flowing.


What i don't understand is that in your listings signalk-server does not have any open connections: it is only listening for new http connections on port 3000.

########
OK, just turned off the node red sending NMEA to UDP flow. Maybe worth mentioning there is a sigK node red app running as well.
Code:
pi@openplotter:~ $ sudo lsof -i | grep 30330
node-red   1392        pi   26u  IPv4 203279      0t0  TCP 10.10.10.1:53648->10.10.10.1:30330 (ESTABLISHED)
kplex      7684        pi    5u  IPv4  98545      0t0  TCP *:30330 (LISTEN)
kplex      7684        pi    9u  IPv4  97032      0t0  TCP 10.10.10.1:30330->10.10.10.1:57268 (CLOSE_WAIT)
kplex      7684        pi   10u  IPv4 113133      0t0  TCP 10.10.10.1:30330->10.10.10.1:53648 (ESTABLISHED)
kplex      7684        pi   11u  IPv4  97045      0t0  TCP localhost:30330->localhost:53508 (CLOSE_WAIT)
kplex      7684        pi   12u  IPv4 202443      0t0  TCP localhost:30330->localhost:46636 (CLOSE_WAIT)
kplex      7684        pi   13u  IPv4 205935      0t0  TCP localhost:30330->localhost:46678 (CLOSE_WAIT)
kplex      7684        pi   14u  IPv4 206015      0t0  TCP localhost:30330->localhost:46720 (CLOSE_WAIT)
kplex      7684        pi   15u  IPv4 206033      0t0  TCP localhost:30330->localhost:46762 (CLOSE_WAIT)
kplex      7684        pi   16u  IPv4 206082      0t0  TCP localhost:30330->localhost:46804 (CLOSE_WAIT)
kplex      7684        pi   17u  IPv4 206123      0t0  TCP localhost:30330->localhost:46846 (ESTABLISHED)
node       8745        pi   12u  IPv4 206143      0t0  TCP localhost:46846->localhost:30330 (ESTABLISHED)
HTH, thanks
Reply


Messages In This Thread
*newbie* /dev/root full after 24hrs - by Yannick - 2018-06-06, 06:27 PM
*newbie* /dev/root full after 24hrs - by tkurki - 2018-08-05, 02:41 PM
RE: *newbie* /dev/root full after 24hrs - by PaddyB - 2018-08-06, 09:16 PM
*newbie* /dev/root full after 24hrs - by PaddyB - 2018-08-06, 11:39 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)