Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IDE: node is leaking file descriptors? #550

Open
giuliomoro opened this issue Apr 22, 2019 · 5 comments
Open

IDE: node is leaking file descriptors? #550

giuliomoro opened this issue Apr 22, 2019 · 5 comments

Comments

@giuliomoro
Copy link
Contributor

@giuliomoro giuliomoro commented Apr 22, 2019

From https://forum.bela.io/d/872-output-when-patch-when-not-running:

btw: I also noticed when Ive been working on something for a while (or perhaps its just when IDE is running for a long time?) , I start getting the following messages in the console of the IDE

Failed to get journal fd: Too many open files

but doesn't seem to be journald, seems to be node, as its got 387 file descriptors?

pid = 237 with 387 fds: node
pid = 1 with 47 fds: systemd
pid = 111 with 27 fds: systemd-journal
pid = 233 with 17 fds: avahi-daemon
pid = 257 with 16 fds: systemd-logind
pid = 222 with 14 fds: systemd-timesyn
pid = 149 with 14 fds: systemd-udevd
pid = 267 with 12 fds: dbus-daemon
pid = 241 with 12 fds: rsyslogd
pid = 2009 with 12 fds: journalctl

EDIT: yeah restarting ide, and after a few minutes (to let it fully get started) , its back down to ~20...
pid = 24357 with 21 fds: node

@giuliomoro

This comment has been minimized.

Copy link
Contributor Author

@giuliomoro giuliomoro commented Aug 17, 2019

I cannot reproduce this. @TheTechnobear could you describe a bit more of what you were doing? E.g.: opening several projects, editing several files ... ??

@TheTechnobear

This comment has been minimized.

Copy link
Contributor

@TheTechnobear TheTechnobear commented Aug 17, 2019

@giuliomoro

This comment has been minimized.

Copy link
Contributor Author

@giuliomoro giuliomoro commented Oct 12, 2019

I got this, just seconds after starting the IDE (note this was after several hours of IDE development, although this should be pretty much irrelevant, because the node process was being restarted very often).
A message got printed in the IDE frontend console:

Failed to get journal fd: Too many open files

According to ulimit -a I have a limit of 1024 files per process.

However, when I ran this I got ("only") 260 open files:

root@bela:~# lsof  | grep "\<node\>"
node      19155                   root  cwd       DIR      179,2     4096     262964 /root/Bela/IDE
node      19155                   root  rtd       DIR      179,2     4096          2 /
node      19155                   root  txt       REG      179,2 31445682      22355 /usr/bin/node
node      19155                   root  mem       REG      179,2   902996       1545 /lib/arm-linux-gnueabihf/libc-2.24.so
node      19155                   root  mem       REG      179,2   106972       1592 /lib/arm-linux-gnueabihf/libpthread-2.24.so
node      19155                   root  mem       REG      179,2   100044       1540 /lib/arm-linux-gnueabihf/libgcc_s.so.1
node      19155                   root  mem       REG      179,2   423484       1549 /lib/arm-linux-gnueabihf/libm-2.24.so
node      19155                   root  mem       REG      179,2  1023864      25783 /usr/lib/arm-linux-gnueabihf/libstdc++.so.6.0.22
node      19155                   root  mem       REG      179,2    22540       1594 /lib/arm-linux-gnueabihf/librt-2.24.so
node      19155                   root  mem       REG      179,2     9804       1548 /lib/arm-linux-gnueabihf/libdl-2.24.so
node      19155                   root  mem       REG      179,2   101716       1541 /lib/arm-linux-gnueabihf/ld-2.24.so
node      19155                   root    0r      CHR        1,3      0t0      13562 /dev/null
node      19155                   root    1u     unix 0xc3f74a00      0t0     151379 type=STREAM
node      19155                   root    2u     unix 0xc3f74a00      0t0     151379 type=STREAM
node      19155                   root    3u  a_inode       0,12        0      13557 [eventpoll]
node      19155                   root    4r     FIFO       0,11      0t0     151386 pipe
node      19155                   root    5w     FIFO       0,11      0t0     151386 pipe
node      19155                   root    6r     FIFO       0,11      0t0     151387 pipe
node      19155                   root    7w     FIFO       0,11      0t0     151387 pipe
node      19155                   root    8u  a_inode       0,12        0      13557 [eventfd]
node      19155                   root    9r      CHR        1,3      0t0      13562 /dev/null
node      19155                   root   10u     IPv6     151411      0t0        TCP *:http (LISTEN)
node      19155                   root   11u     unix 0xc2ae5b80      0t0     151412 type=STREAM
node      19155                   root   13u     unix 0xc2ae5900      0t0     151414 type=STREAM
node      19155                   root   15u     unix 0xc2ae4500      0t0     151416 type=STREAM
node      19155                   root   16u     IPv6     151434      0t0        TCP 192.168.7.2:http->192.168.7.1:51947 (ESTABLISHED)
node      19155 19159             root  cwd       DIR      179,2     4096     262964 /root/Bela/IDE
node      19155 19159             root  rtd       DIR      179,2     4096          2 /
node      19155 19159             root  txt       REG      179,2 31445682      22355 /usr/bin/node
node      19155 19159             root  mem       REG      179,2   902996       1545 /lib/arm-linux-gnueabihf/libc-2.24.so
node      19155 19159             root  mem       REG      179,2   106972       1592 /lib/arm-linux-gnueabihf/libpthread-2.24.so
node      19155 19159             root  mem       REG      179,2   100044       1540 /lib/arm-linux-gnueabihf/libgcc_s.so.1
node      19155 19159             root  mem       REG      179,2   423484       1549 /lib/arm-linux-gnueabihf/libm-2.24.so
node      19155 19159             root  mem       REG      179,2  1023864      25783 /usr/lib/arm-linux-gnueabihf/libstdc++.so.6.0.22
node      19155 19159             root  mem       REG      179,2    22540       1594 /lib/arm-linux-gnueabihf/librt-2.24.so
node      19155 19159             root  mem       REG      179,2     9804       1548 /lib/arm-linux-gnueabihf/libdl-2.24.so
node      19155 19159             root  mem       REG      179,2   101716       1541 /lib/arm-linux-gnueabihf/ld-2.24.so
node      19155 19159             root    0r      CHR        1,3      0t0      13562 /dev/null
node      19155 19159             root    1u     unix 0xc3f74a00      0t0     151379 type=STREAM
node      19155 19159             root    2u     unix 0xc3f74a00      0t0     151379 type=STREAM
node      19155 19159             root    3u  a_inode       0,12        0      13557 [eventpoll]
node      19155 19159             root    4r     FIFO       0,11      0t0     151386 pipe
node      19155 19159             root    5w     FIFO       0,11      0t0     151386 pipe
node      19155 19159             root    6r     FIFO       0,11      0t0     151387 pipe
node      19155 19159             root    7w     FIFO       0,11      0t0     151387 pipe
node      19155 19159             root    8u  a_inode       0,12        0      13557 [eventfd]
node      19155 19159             root    9r      CHR        1,3      0t0      13562 /dev/null
node      19155 19159             root   10u     IPv6     151411      0t0        TCP *:http (LISTEN)
node      19155 19159             root   11u     unix 0xc2ae5b80      0t0     151412 type=STREAM
node      19155 19159             root   13u     unix 0xc2ae5900      0t0     151414 type=STREAM
node      19155 19159             root   15u     unix 0xc2ae4500      0t0     151416 type=STREAM
node      19155 19159             root   16u     IPv6     151434      0t0        TCP 192.168.7.2:http->192.168.7.1:51947 (ESTABLISHED)
node      19155 19160             root  cwd       DIR      179,2     4096     262964 /root/Bela/IDE
node      19155 19160             root  rtd       DIR      179,2     4096          2 /
node      19155 19160             root  txt       REG      179,2 31445682      22355 /usr/bin/node
node      19155 19160             root  mem       REG      179,2   902996       1545 /lib/arm-linux-gnueabihf/libc-2.24.so
node      19155 19160             root  mem       REG      179,2   106972       1592 /lib/arm-linux-gnueabihf/libpthread-2.24.so
node      19155 19160             root  mem       REG      179,2   100044       1540 /lib/arm-linux-gnueabihf/libgcc_s.so.1
node      19155 19160             root  mem       REG      179,2   423484       1549 /lib/arm-linux-gnueabihf/libm-2.24.so
node      19155 19160             root  mem       REG      179,2  1023864      25783 /usr/lib/arm-linux-gnueabihf/libstdc++.so.6.0.22
node      19155 19160             root  mem       REG      179,2    22540       1594 /lib/arm-linux-gnueabihf/librt-2.24.so
node      19155 19160             root  mem       REG      179,2     9804       1548 /lib/arm-linux-gnueabihf/libdl-2.24.so
node      19155 19160             root  mem       REG      179,2   101716       1541 /lib/arm-linux-gnueabihf/ld-2.24.so
node      19155 19160             root    0r      CHR        1,3      0t0      13562 /dev/null
node      19155 19160             root    1u     unix 0xc3f74a00      0t0     151379 type=STREAM
node      19155 19160             root    2u     unix 0xc3f74a00      0t0     151379 type=STREAM
node      19155 19160             root    3u  a_inode       0,12        0      13557 [eventpoll]
node      19155 19160             root    4r     FIFO       0,11      0t0     151386 pipe
node      19155 19160             root    5w     FIFO       0,11      0t0     151386 pipe
node      19155 19160             root    6r     FIFO       0,11      0t0     151387 pipe
node      19155 19160             root    7w     FIFO       0,11      0t0     151387 pipe
node      19155 19160             root    8u  a_inode       0,12        0      13557 [eventfd]
node      19155 19160             root    9r      CHR        1,3      0t0      13562 /dev/null
node      19155 19160             root   10u     IPv6     151411      0t0        TCP *:http (LISTEN)
node      19155 19160             root   11u     unix 0xc2ae5b80      0t0     151412 type=STREAM
node      19155 19160             root   13u     unix 0xc2ae5900      0t0     151414 type=STREAM
node      19155 19160             root   15u     unix 0xc2ae4500      0t0     151416 type=STREAM
node      19155 19160             root   16u     IPv6     151434      0t0        TCP 192.168.7.2:http->192.168.7.1:51947 (ESTABLISHED)
node      19155 19161             root  cwd       DIR      179,2     4096     262964 /root/Bela/IDE
node      19155 19161             root  rtd       DIR      179,2     4096          2 /
node      19155 19161             root  txt       REG      179,2 31445682      22355 /usr/bin/node
node      19155 19161             root  mem       REG      179,2   902996       1545 /lib/arm-linux-gnueabihf/libc-2.24.so
node      19155 19161             root  mem       REG      179,2   106972       1592 /lib/arm-linux-gnueabihf/libpthread-2.24.so
node      19155 19161             root  mem       REG      179,2   100044       1540 /lib/arm-linux-gnueabihf/libgcc_s.so.1
node      19155 19161             root  mem       REG      179,2   423484       1549 /lib/arm-linux-gnueabihf/libm-2.24.so
node      19155 19161             root  mem       REG      179,2  1023864      25783 /usr/lib/arm-linux-gnueabihf/libstdc++.so.6.0.22
node      19155 19161             root  mem       REG      179,2    22540       1594 /lib/arm-linux-gnueabihf/librt-2.24.so
node      19155 19161             root  mem       REG      179,2     9804       1548 /lib/arm-linux-gnueabihf/libdl-2.24.so
node      19155 19161             root  mem       REG      179,2   101716       1541 /lib/arm-linux-gnueabihf/ld-2.24.so
node      19155 19161             root    0r      CHR        1,3      0t0      13562 /dev/null
node      19155 19161             root    1u     unix 0xc3f74a00      0t0     151379 type=STREAM
node      19155 19161             root    2u     unix 0xc3f74a00      0t0     151379 type=STREAM
node      19155 19161             root    3u  a_inode       0,12        0      13557 [eventpoll]
node      19155 19161             root    4r     FIFO       0,11      0t0     151386 pipe
node      19155 19161             root    5w     FIFO       0,11      0t0     151386 pipe
node      19155 19161             root    6r     FIFO       0,11      0t0     151387 pipe
node      19155 19161             root    7w     FIFO       0,11      0t0     151387 pipe
node      19155 19161             root    8u  a_inode       0,12        0      13557 [eventfd]
node      19155 19161             root    9r      CHR        1,3      0t0      13562 /dev/null
node      19155 19161             root   10u     IPv6     151411      0t0        TCP *:http (LISTEN)
node      19155 19161             root   11u     unix 0xc2ae5b80      0t0     151412 type=STREAM
node      19155 19161             root   13u     unix 0xc2ae5900      0t0     151414 type=STREAM
node      19155 19161             root   15u     unix 0xc2ae4500      0t0     151416 type=STREAM
node      19155 19161             root   16u     IPv6     151434      0t0        TCP 192.168.7.2:http->192.168.7.1:51947 (ESTABLISHED)
node      19155 19162             root  cwd       DIR      179,2     4096     262964 /root/Bela/IDE
node      19155 19162             root  rtd       DIR      179,2     4096          2 /
node      19155 19162             root  txt       REG      179,2 31445682      22355 /usr/bin/node
node      19155 19162             root  mem       REG      179,2   902996       1545 /lib/arm-linux-gnueabihf/libc-2.24.so
node      19155 19162             root  mem       REG      179,2   106972       1592 /lib/arm-linux-gnueabihf/libpthread-2.24.so
node      19155 19162             root  mem       REG      179,2   100044       1540 /lib/arm-linux-gnueabihf/libgcc_s.so.1
node      19155 19162             root  mem       REG      179,2   423484       1549 /lib/arm-linux-gnueabihf/libm-2.24.so
node      19155 19162             root  mem       REG      179,2  1023864      25783 /usr/lib/arm-linux-gnueabihf/libstdc++.so.6.0.22
node      19155 19162             root  mem       REG      179,2    22540       1594 /lib/arm-linux-gnueabihf/librt-2.24.so
node      19155 19162             root  mem       REG      179,2     9804       1548 /lib/arm-linux-gnueabihf/libdl-2.24.so
node      19155 19162             root  mem       REG      179,2   101716       1541 /lib/arm-linux-gnueabihf/ld-2.24.so
node      19155 19162             root    0r      CHR        1,3      0t0      13562 /dev/null
node      19155 19162             root    1u     unix 0xc3f74a00      0t0     151379 type=STREAM
node      19155 19162             root    2u     unix 0xc3f74a00      0t0     151379 type=STREAM
node      19155 19162             root    3u  a_inode       0,12        0      13557 [eventpoll]
node      19155 19162             root    4r     FIFO       0,11      0t0     151386 pipe
node      19155 19162             root    5w     FIFO       0,11      0t0     151386 pipe
node      19155 19162             root    6r     FIFO       0,11      0t0     151387 pipe
node      19155 19162             root    7w     FIFO       0,11      0t0     151387 pipe
node      19155 19162             root    8u  a_inode       0,12        0      13557 [eventfd]
node      19155 19162             root    9r      CHR        1,3      0t0      13562 /dev/null
node      19155 19162             root   10u     IPv6     151411      0t0        TCP *:http (LISTEN)
node      19155 19162             root   11u     unix 0xc2ae5b80      0t0     151412 type=STREAM
node      19155 19162             root   13u     unix 0xc2ae5900      0t0     151414 type=STREAM
node      19155 19162             root   15u     unix 0xc2ae4500      0t0     151416 type=STREAM
node      19155 19162             root   16u     IPv6     151434      0t0        TCP 192.168.7.2:http->192.168.7.1:51947 (ESTABLISHED)
node      19155 19163             root  cwd       DIR      179,2     4096     262964 /root/Bela/IDE
node      19155 19163             root  rtd       DIR      179,2     4096          2 /
node      19155 19163             root  txt       REG      179,2 31445682      22355 /usr/bin/node
node      19155 19163             root  mem       REG      179,2   902996       1545 /lib/arm-linux-gnueabihf/libc-2.24.so
node      19155 19163             root  mem       REG      179,2   106972       1592 /lib/arm-linux-gnueabihf/libpthread-2.24.so
node      19155 19163             root  mem       REG      179,2   100044       1540 /lib/arm-linux-gnueabihf/libgcc_s.so.1
node      19155 19163             root  mem       REG      179,2   423484       1549 /lib/arm-linux-gnueabihf/libm-2.24.so
node      19155 19163             root  mem       REG      179,2  1023864      25783 /usr/lib/arm-linux-gnueabihf/libstdc++.so.6.0.22
node      19155 19163             root  mem       REG      179,2    22540       1594 /lib/arm-linux-gnueabihf/librt-2.24.so
node      19155 19163             root  mem       REG      179,2     9804       1548 /lib/arm-linux-gnueabihf/libdl-2.24.so
node      19155 19163             root  mem       REG      179,2   101716       1541 /lib/arm-linux-gnueabihf/ld-2.24.so
node      19155 19163             root    0r      CHR        1,3      0t0      13562 /dev/null
node      19155 19163             root    1u     unix 0xc3f74a00      0t0     151379 type=STREAM
node      19155 19163             root    2u     unix 0xc3f74a00      0t0     151379 type=STREAM
node      19155 19163             root    3u  a_inode       0,12        0      13557 [eventpoll]
node      19155 19163             root    4r     FIFO       0,11      0t0     151386 pipe
node      19155 19163             root    5w     FIFO       0,11      0t0     151386 pipe
node      19155 19163             root    6r     FIFO       0,11      0t0     151387 pipe
node      19155 19163             root    7w     FIFO       0,11      0t0     151387 pipe
node      19155 19163             root    8u  a_inode       0,12        0      13557 [eventfd]
node      19155 19163             root    9r      CHR        1,3      0t0      13562 /dev/null
node      19155 19163             root   10u     IPv6     151411      0t0        TCP *:http (LISTEN)
node      19155 19163             root   11u     unix 0xc2ae5b80      0t0     151412 type=STREAM
node      19155 19163             root   13u     unix 0xc2ae5900      0t0     151414 type=STREAM
node      19155 19163             root   15u     unix 0xc2ae4500      0t0     151416 type=STREAM
node      19155 19163             root   16u     IPv6     151434      0t0        TCP 192.168.7.2:http->192.168.7.1:51947 (ESTABLISHED)
node      19155 19200             root  cwd       DIR      179,2     4096     262964 /root/Bela/IDE
node      19155 19200             root  rtd       DIR      179,2     4096          2 /
node      19155 19200             root  txt       REG      179,2 31445682      22355 /usr/bin/node
node      19155 19200             root  mem       REG      179,2   902996       1545 /lib/arm-linux-gnueabihf/libc-2.24.so
node      19155 19200             root  mem       REG      179,2   106972       1592 /lib/arm-linux-gnueabihf/libpthread-2.24.so
node      19155 19200             root  mem       REG      179,2   100044       1540 /lib/arm-linux-gnueabihf/libgcc_s.so.1
node      19155 19200             root  mem       REG      179,2   423484       1549 /lib/arm-linux-gnueabihf/libm-2.24.so
node      19155 19200             root  mem       REG      179,2  1023864      25783 /usr/lib/arm-linux-gnueabihf/libstdc++.so.6.0.22
node      19155 19200             root  mem       REG      179,2    22540       1594 /lib/arm-linux-gnueabihf/librt-2.24.so
node      19155 19200             root  mem       REG      179,2     9804       1548 /lib/arm-linux-gnueabihf/libdl-2.24.so
node      19155 19200             root  mem       REG      179,2   101716       1541 /lib/arm-linux-gnueabihf/ld-2.24.so
node      19155 19200             root    0r      CHR        1,3      0t0      13562 /dev/null
node      19155 19200             root    1u     unix 0xc3f74a00      0t0     151379 type=STREAM
node      19155 19200             root    2u     unix 0xc3f74a00      0t0     151379 type=STREAM
node      19155 19200             root    3u  a_inode       0,12        0      13557 [eventpoll]
node      19155 19200             root    4r     FIFO       0,11      0t0     151386 pipe
node      19155 19200             root    5w     FIFO       0,11      0t0     151386 pipe
node      19155 19200             root    6r     FIFO       0,11      0t0     151387 pipe
node      19155 19200             root    7w     FIFO       0,11      0t0     151387 pipe
node      19155 19200             root    8u  a_inode       0,12        0      13557 [eventfd]
node      19155 19200             root    9r      CHR        1,3      0t0      13562 /dev/null
node      19155 19200             root   10u     IPv6     151411      0t0        TCP *:http (LISTEN)
node      19155 19200             root   11u     unix 0xc2ae5b80      0t0     151412 type=STREAM
node      19155 19200             root   13u     unix 0xc2ae5900      0t0     151414 type=STREAM
node      19155 19200             root   15u     unix 0xc2ae4500      0t0     151416 type=STREAM
node      19155 19200             root   16u     IPv6     151434      0t0        TCP 192.168.7.2:http->192.168.7.1:51947 (ESTABLISHED)
node      19155 19201             root  cwd       DIR      179,2     4096     262964 /root/Bela/IDE
node      19155 19201             root  rtd       DIR      179,2     4096          2 /
node      19155 19201             root  txt       REG      179,2 31445682      22355 /usr/bin/node
node      19155 19201             root  mem       REG      179,2   902996       1545 /lib/arm-linux-gnueabihf/libc-2.24.so
node      19155 19201             root  mem       REG      179,2   106972       1592 /lib/arm-linux-gnueabihf/libpthread-2.24.so
node      19155 19201             root  mem       REG      179,2   100044       1540 /lib/arm-linux-gnueabihf/libgcc_s.so.1
node      19155 19201             root  mem       REG      179,2   423484       1549 /lib/arm-linux-gnueabihf/libm-2.24.so
node      19155 19201             root  mem       REG      179,2  1023864      25783 /usr/lib/arm-linux-gnueabihf/libstdc++.so.6.0.22
node      19155 19201             root  mem       REG      179,2    22540       1594 /lib/arm-linux-gnueabihf/librt-2.24.so
node      19155 19201             root  mem       REG      179,2     9804       1548 /lib/arm-linux-gnueabihf/libdl-2.24.so
node      19155 19201             root  mem       REG      179,2   101716       1541 /lib/arm-linux-gnueabihf/ld-2.24.so
node      19155 19201             root    0r      CHR        1,3      0t0      13562 /dev/null
node      19155 19201             root    1u     unix 0xc3f74a00      0t0     151379 type=STREAM
node      19155 19201             root    2u     unix 0xc3f74a00      0t0     151379 type=STREAM
node      19155 19201             root    3u  a_inode       0,12        0      13557 [eventpoll]
node      19155 19201             root    4r     FIFO       0,11      0t0     151386 pipe
node      19155 19201             root    5w     FIFO       0,11      0t0     151386 pipe
node      19155 19201             root    6r     FIFO       0,11      0t0     151387 pipe
node      19155 19201             root    7w     FIFO       0,11      0t0     151387 pipe
node      19155 19201             root    8u  a_inode       0,12        0      13557 [eventfd]
node      19155 19201             root    9r      CHR        1,3      0t0      13562 /dev/null
node      19155 19201             root   10u     IPv6     151411      0t0        TCP *:http (LISTEN)
node      19155 19201             root   11u     unix 0xc2ae5b80      0t0     151412 type=STREAM
node      19155 19201             root   13u     unix 0xc2ae5900      0t0     151414 type=STREAM
node      19155 19201             root   15u     unix 0xc2ae4500      0t0     151416 type=STREAM
node      19155 19201             root   16u     IPv6     151434      0t0        TCP 192.168.7.2:http->192.168.7.1:51947 (ESTABLISHED)
node      19155 19202             root  cwd       DIR      179,2     4096     262964 /root/Bela/IDE
node      19155 19202             root  rtd       DIR      179,2     4096          2 /
node      19155 19202             root  txt       REG      179,2 31445682      22355 /usr/bin/node
node      19155 19202             root  mem       REG      179,2   902996       1545 /lib/arm-linux-gnueabihf/libc-2.24.so
node      19155 19202             root  mem       REG      179,2   106972       1592 /lib/arm-linux-gnueabihf/libpthread-2.24.so
node      19155 19202             root  mem       REG      179,2   100044       1540 /lib/arm-linux-gnueabihf/libgcc_s.so.1
node      19155 19202             root  mem       REG      179,2   423484       1549 /lib/arm-linux-gnueabihf/libm-2.24.so
node      19155 19202             root  mem       REG      179,2  1023864      25783 /usr/lib/arm-linux-gnueabihf/libstdc++.so.6.0.22
node      19155 19202             root  mem       REG      179,2    22540       1594 /lib/arm-linux-gnueabihf/librt-2.24.so
node      19155 19202             root  mem       REG      179,2     9804       1548 /lib/arm-linux-gnueabihf/libdl-2.24.so
node      19155 19202             root  mem       REG      179,2   101716       1541 /lib/arm-linux-gnueabihf/ld-2.24.so
node      19155 19202             root    0r      CHR        1,3      0t0      13562 /dev/null
node      19155 19202             root    1u     unix 0xc3f74a00      0t0     151379 type=STREAM
node      19155 19202             root    2u     unix 0xc3f74a00      0t0     151379 type=STREAM
node      19155 19202             root    3u  a_inode       0,12        0      13557 [eventpoll]
node      19155 19202             root    4r     FIFO       0,11      0t0     151386 pipe
node      19155 19202             root    5w     FIFO       0,11      0t0     151386 pipe
node      19155 19202             root    6r     FIFO       0,11      0t0     151387 pipe
node      19155 19202             root    7w     FIFO       0,11      0t0     151387 pipe
node      19155 19202             root    8u  a_inode       0,12        0      13557 [eventfd]
node      19155 19202             root    9r      CHR        1,3      0t0      13562 /dev/null
node      19155 19202             root   10u     IPv6     151411      0t0        TCP *:http (LISTEN)
node      19155 19202             root   11u     unix 0xc2ae5b80      0t0     151412 type=STREAM
node      19155 19202             root   13u     unix 0xc2ae5900      0t0     151414 type=STREAM
node      19155 19202             root   15u     unix 0xc2ae4500      0t0     151416 type=STREAM
node      19155 19202             root   16u     IPv6     151434      0t0        TCP 192.168.7.2:http->192.168.7.1:51947 (ESTABLISHED)
node      19155 19203             root  cwd       DIR      179,2     4096     262964 /root/Bela/IDE
node      19155 19203             root  rtd       DIR      179,2     4096          2 /
node      19155 19203             root  txt       REG      179,2 31445682      22355 /usr/bin/node
node      19155 19203             root  mem       REG      179,2   902996       1545 /lib/arm-linux-gnueabihf/libc-2.24.so
node      19155 19203             root  mem       REG      179,2   106972       1592 /lib/arm-linux-gnueabihf/libpthread-2.24.so
node      19155 19203             root  mem       REG      179,2   100044       1540 /lib/arm-linux-gnueabihf/libgcc_s.so.1
node      19155 19203             root  mem       REG      179,2   423484       1549 /lib/arm-linux-gnueabihf/libm-2.24.so
node      19155 19203             root  mem       REG      179,2  1023864      25783 /usr/lib/arm-linux-gnueabihf/libstdc++.so.6.0.22
node      19155 19203             root  mem       REG      179,2    22540       1594 /lib/arm-linux-gnueabihf/librt-2.24.so
node      19155 19203             root  mem       REG      179,2     9804       1548 /lib/arm-linux-gnueabihf/libdl-2.24.so
node      19155 19203             root  mem       REG      179,2   101716       1541 /lib/arm-linux-gnueabihf/ld-2.24.so
node      19155 19203             root    0r      CHR        1,3      0t0      13562 /dev/null
node      19155 19203             root    1u     unix 0xc3f74a00      0t0     151379 type=STREAM
node      19155 19203             root    2u     unix 0xc3f74a00      0t0     151379 type=STREAM
node      19155 19203             root    3u  a_inode       0,12        0      13557 [eventpoll]
node      19155 19203             root    4r     FIFO       0,11      0t0     151386 pipe
node      19155 19203             root    5w     FIFO       0,11      0t0     151386 pipe
node      19155 19203             root    6r     FIFO       0,11      0t0     151387 pipe
node      19155 19203             root    7w     FIFO       0,11      0t0     151387 pipe
node      19155 19203             root    8u  a_inode       0,12        0      13557 [eventfd]
node      19155 19203             root    9r      CHR        1,3      0t0      13562 /dev/null
node      19155 19203             root   10u     IPv6     151411      0t0        TCP *:http (LISTEN)
node      19155 19203             root   11u     unix 0xc2ae5b80      0t0     151412 type=STREAM
node      19155 19203             root   13u     unix 0xc2ae5900      0t0     151414 type=STREAM
node      19155 19203             root   15u     unix 0xc2ae4500      0t0     151416 type=STREAM
node      19155 19203             root   16u     IPv6     151434      0t0        TCP 192.168.7.2:http->192.168.7.1:51947 (ESTABLISHED)
@giuliomoro

This comment has been minimized.

Copy link
Contributor Author

@giuliomoro giuliomoro commented Oct 12, 2019

I think I found out what the issues is. In lsof there are several instances of journacltl.

ps aux | grep journalctl

gives lines such as :

root     28448  0.0  0.7  30516  3792 ?        S    22:02   0:00 journalctl -fu bela_startup

so it seems that journalctl, which is used to display in the console the log of the startup program, may not be killed appropriately. I am not sure if this is a byproduct of developing for the IDE, as I am doing today, or it is a common behaviour when just using it. Will verify that.

@giuliomoro

This comment has been minimized.

Copy link
Contributor Author

@giuliomoro giuliomoro commented Oct 12, 2019

confirmed, it's journalctl. Every time you refresh the page, it starts a new instance and it never kills it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.