Nxclient.bin high cpu load (>100%) [ ubuntu 20.04 LTS ]

Forums / NoMachine for Linux / Nxclient.bin high cpu load (>100%) [ ubuntu 20.04 LTS ]

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #33270
    Avatarcommandline
    Participant

    NX 7.4.1 as many other 7.x release binaries shows problematic reliability on Linux.

    On this machine [ ubuntu 20.04 LTS ] there is a consistent high CPU load for /usr/NX/nxclient.bin --monitor --tray

    The machine is an AMD Ryzen 3700U with 32GB of ram, nvme SSD and sata SSD.
    ADMGPU module is loaded
    modinfo amdgpu | grep -i version
    srcversion:     6FFA8AEDB85BA2663225F21
    vermagic:       5.8.0-50-generic SMP mod_unload modversions

    Looking at the binary there may be issues with dependencies for yet unclear reasons. These libraries do exist in /usr/NX/lib.

    ldd /usr/NX/bin/nxclient.bin
    linux-vdso.so.1 (0x00007fff9edf5000)
    libqt.so => not found
    libnxdixl.so => not found
    libnxdiex.so => not found
    libnxdift.so => not found
    libnxdifb.so => not found
    libnxup.so => not found
    libnxd.so => not found
    libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f22ff0ef000)
    libnxn.so => not found
    libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f22ff0ea000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f22ff0e4000)
    libnxcau.so => not found
    libnxs.so => not found
    libsync.so => not found
    libnxcsl.so => not found
    libnxc.so => not found
    libnx.so => not found
    libz.so => /lib/x86_64-linux-gnu/libz.so (0x00007f22ff0c6000)
    libpng.so => /lib/x86_64-linux-gnu/libpng.so (0x00007f22ff08c000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f22ff069000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f22fef1a000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f22feeff000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f22fed0d000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f22ff2f4000)

    #33318
    AvatarTor
    Contributor

    Hi.

    NX 7.4.1 as many other 7.x release binaries shows problematic reliability on Linux.

    We’re not aware of reliability issues on Linux, so it would be great if you can share your experience.

    On this machine [ ubuntu 20.04 LTS ] there is a consistent high CPU load for /usr/NX/nxclient.bin –monitor –tray

    Ubuntu 20 is one of our most common Linux testing environments, we would have noticed an obvious problem. Do you mind collecting the following information and sending it to forum[at]nomachine[dot]com :
    – Directories with prefix “M-” in $HOME/.nx directory of the machine where nxclient.bin takes too much CPU
    – File top.txt created with the command top -b -n 5 -H -p $(pgrep nxclient.bin) > top.txt (it’ll require a few seconds to dump the data)
    – File strace.txt created with the command sudo strace -o strace.txt -tt -p $(pgrep nxclient.bin)

    If you’ve multiple nxclient.bin instances but only some of them have high CPU load, replace the “pgrep nxclient.bin” command with the PID of one of those instances.

    Looking at the binary there may be issues with dependencies for yet unclear reasons.

    The NoMachine libraries path is not in the default search path for dynamic linker, so if you want to print all dependencies you need to run LD_LIBRARY_PATH=/usr/NX/lib ldd /usr/NX/bin/nxclient.bin.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.