Recent content by mitsos1os

  1. M

    What is using (kernel) memory?

    Hi @mmmike. In our setup we had some NodeJS Clients that were connecting to FluentD. It seemed that there was a bug leaving TCP connections open in Node version 13.8.0 > < 14.15.5 which I am not yet 100% sure that was the cause of the problem, but after upgrading NodeJS clients to latest >=...
  2. M

    How to calculate TCP socket memory usage?

    After a lot of searching around, I finally came to a conclusion. My understanding of how to calculate TCP memory usage is correct. For every socket add socket_memory = rmem_alloc + wmem_alloc + fwd_alloc + wmem_queued + opt_mem + back_log (the r,t, f, w, bl, o fields in skmem) The reason that...
  3. M

    What is using (kernel) memory?

    Hi guys, We are seeing an increase in memory usage in some of our servers, but this memory seems to be unaccounted by any tool. I am trying to figure out where this memory is being used. We are currently running an AWS EC2 instance with the following specs: t3.medium instance with 4GB RAM and...
  4. M

    How to calculate TCP socket memory usage?

    Hi everyone, I am running a Debian GNU/Linux 9.5 (stretch) with kernel: 4.9.0-7-amd64. I am trying to figure out TCP sockets memory usage, but with my calculations I seem to be missing something. According to the following outputs /proc/net/sockstat: sockets: used 779 TCP: inuse 23 orphan 0...
Top