why is tar -czpf very slow under tmux CL9

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • oceanwave
    Junior Member
    Forum Explorer
    • Dec 2024
    • 16

    #1

    why is tar -czpf very slow under tmux CL9

    In older cloudlinux versions, I frequently used screen.
    Now that there is no screen in CL9, I'm trying to use tmux, but I find a new problem.
    As root, when I do tar -czpf /backup/somefile.tar.gz /directory to create a 40 GB tar.gz file, if I run it under tmux it runs extremely slow, 10x slower than if I run it directly outside of tmux.
    With screen I didn't have such a problem; is there a setting that I have to set in CL9 to make tmux not run so slowly? Do I need to assign resource limits somehow to tmux?
  • bogdan.sh
    Administrator
    • Nov 2016
    • 1239

    #2
    I believe you still can install screen from EPEL repository.

    Anyway, back to original issue. Do you run this as a root or as a user on a server? How do you log into user? CloudLinux does not limit tools, but userspace.

    Comment

    • oceanwave
      Junior Member
      Forum Explorer
      • Dec 2024
      • 16

      #3
      Thanks. I'm logged into the server via ssh as wheel group user, su - to root
      #root@server tmux
      #root@server tar -czpf file.tar.gz directory
      #root@server ctrl+b d



      Comment

      • bogdan.sh
        Administrator
        • Nov 2016
        • 1239

        #4
        Do you see any ssh banner warning when you login over ssh? It looks the following
        !!!! WARNING: YOU ARE INSIDE LVE !!!!"
        If so, you are inside LVE even after switching to root user. Another easy way is to run 'lveps -p' as root and check the processes, you would see your own session etc.


        Usually wheel group is excluded from LVE, please check pam config as per https://cloudlinux.zendesk.com/hc/en...n-server-login .

        Comment

        Working...