ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    ScreenConnect on CentOS is sluggish

    Scheduled Pinned Locked Moved IT Discussion
    screenconnectcentos 7
    36 Posts 5 Posters 4.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller @gjacobse
      last edited by

      @gjacobse said in ScreenConnect on CentOS is sluggish:

      @JaredBusch said in ScreenConnect on CentOS is sluggish:

      Support Tech said:

      Ok, 6.1 has our improved video encoding routine.
      You may need to assign more CPU to that.
      Our server definitely does perform better on a Windows OS as we use .NET instead of Mono.

      Yes - They push Windows OS pretty hard. Which is 'okay' but dang it,.. we are on centOS and that is where we are staying.

      Cheaper to push more CPU and RAM at it on Linux. We could double what we have and still be cheaper than where it used to be on Windows. Maybe even quadruple it. And it wasn't that much faster on Windows.

      1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller @JaredBusch
        last edited by

        @JaredBusch said in ScreenConnect on CentOS is sluggish:

        Our server definitely does perform better on a Windows OS as we use .NET instead of Mono.

        While native .NET does have advantages over Mono, that statement alone doesn't make sense. That's only one piece of the puzzle.

        thwrT 1 Reply Last reply Reply Quote 1
        • thwrT
          thwr @scottalanmiller
          last edited by

          @scottalanmiller said in ScreenConnect on CentOS is sluggish:

          @JaredBusch said in ScreenConnect on CentOS is sluggish:

          Our server definitely does perform better on a Windows OS as we use .NET instead of Mono.

          While native .NET does have advantages over Mono, that statement alone doesn't make sense. That's only one piece of the puzzle.

          Totally agree here. Mono does a pretty good job in most cases, even performance-wise.

          scottalanmillerS 1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller @thwr
            last edited by

            @thwr said in ScreenConnect on CentOS is sluggish:

            @scottalanmiller said in ScreenConnect on CentOS is sluggish:

            @JaredBusch said in ScreenConnect on CentOS is sluggish:

            Our server definitely does perform better on a Windows OS as we use .NET instead of Mono.

            While native .NET does have advantages over Mono, that statement alone doesn't make sense. That's only one piece of the puzzle.

            Totally agree here. Mono does a pretty good job in most cases, even performance-wise.

            And why even use Mono? Native .NET is available. I wonder why they don't mention it?

            https://www.microsoft.com/net/core#linuxredhat

            JaredBuschJ 1 Reply Last reply Reply Quote 1
            • gjacobseG
              gjacobse
              last edited by gjacobse

              Current htop sorted by memory:

              0_1486401995311_2017-02-06 12_25_59-gene@dny-lnx-sc_~.png

              1 Reply Last reply Reply Quote 0
              • JaredBuschJ
                JaredBusch @scottalanmiller
                last edited by

                @scottalanmiller said in ScreenConnect on CentOS is sluggish:

                @thwr said in ScreenConnect on CentOS is sluggish:

                @scottalanmiller said in ScreenConnect on CentOS is sluggish:

                @JaredBusch said in ScreenConnect on CentOS is sluggish:

                Our server definitely does perform better on a Windows OS as we use .NET instead of Mono.

                While native .NET does have advantages over Mono, that statement alone doesn't make sense. That's only one piece of the puzzle.

                Totally agree here. Mono does a pretty good job in most cases, even performance-wise.

                And why even use Mono? Native .NET is available. I wonder why they don't mention it?

                https://www.microsoft.com/net/core#linuxredhat

                That is quite new, and they probably have not spent time to change because they prefer windows.

                scottalanmillerS 1 Reply Last reply Reply Quote 1
                • scottalanmillerS
                  scottalanmiller @JaredBusch
                  last edited by

                  @JaredBusch said in ScreenConnect on CentOS is sluggish:

                  @scottalanmiller said in ScreenConnect on CentOS is sluggish:

                  @thwr said in ScreenConnect on CentOS is sluggish:

                  @scottalanmiller said in ScreenConnect on CentOS is sluggish:

                  @JaredBusch said in ScreenConnect on CentOS is sluggish:

                  Our server definitely does perform better on a Windows OS as we use .NET instead of Mono.

                  While native .NET does have advantages over Mono, that statement alone doesn't make sense. That's only one piece of the puzzle.

                  Totally agree here. Mono does a pretty good job in most cases, even performance-wise.

                  And why even use Mono? Native .NET is available. I wonder why they don't mention it?

                  https://www.microsoft.com/net/core#linuxredhat

                  That is quite new, and they probably have not spent time to change because they prefer windows.

                  I'm not surprised that they've not put time into it, but just saying that it's slow on Linux because of Mono needs a qualifier like "and we've decided to use Mono for now" or "Native .NET isn't ready yet and lacks something we need". The statement that they make is sensible only because we know Mono is being used by them, but on its own, the statement is weird because Linux is a fully viable Microsoft .NET platform now and it's been a big deal.

                  I'm not upset that they haven't tested or ported yet, but they could present that better, I feel. And it suggests that moving to Windows for .NET isn't a long term thing as we already have it native on Linux now. So we just have to wait for them to start using it.

                  JaredBuschJ 1 Reply Last reply Reply Quote 0
                  • JaredBuschJ
                    JaredBusch @scottalanmiller
                    last edited by

                    @scottalanmiller said in ScreenConnect on CentOS is sluggish:

                    @JaredBusch said in ScreenConnect on CentOS is sluggish:

                    @scottalanmiller said in ScreenConnect on CentOS is sluggish:

                    @thwr said in ScreenConnect on CentOS is sluggish:

                    @scottalanmiller said in ScreenConnect on CentOS is sluggish:

                    @JaredBusch said in ScreenConnect on CentOS is sluggish:

                    Our server definitely does perform better on a Windows OS as we use .NET instead of Mono.

                    While native .NET does have advantages over Mono, that statement alone doesn't make sense. That's only one piece of the puzzle.

                    Totally agree here. Mono does a pretty good job in most cases, even performance-wise.

                    And why even use Mono? Native .NET is available. I wonder why they don't mention it?

                    https://www.microsoft.com/net/core#linuxredhat

                    That is quite new, and they probably have not spent time to change because they prefer windows.

                    I'm not surprised that they've not put time into it, but just saying that it's slow on Linux because of Mono needs a qualifier like "and we've decided to use Mono for now" or "Native .NET isn't ready yet and lacks something we need". The statement that they make is sensible only because we know Mono is being used by them, but on its own, the statement is weird because Linux is a fully viable Microsoft .NET platform now and it's been a big deal.

                    I'm not upset that they haven't tested or ported yet, but they could present that better, I feel. And it suggests that moving to Windows for .NET isn't a long term thing as we already have it native on Linux now. So we just have to wait for them to start using it.

                    Looks like they are testing it. I asked about it.

                    That was a subject of our meeting with development last week. They hit some kind of roadblock, but it's definitely being looked into.

                    scottalanmillerS 1 Reply Last reply Reply Quote 0
                    • scottalanmillerS
                      scottalanmiller @JaredBusch
                      last edited by

                      @JaredBusch Cool, if they had it out on that in 6-9 months I'd be thrilled. Our performance has been okay with Mono, but the whole Mono-wrapper thing is an unnecessary bit of overhead. I'm guessing the Linux server will surge forward in speed once they get that working. Hopefully no major roadblocks.

                      1 Reply Last reply Reply Quote 1
                      • JaredBuschJ
                        JaredBusch
                        last edited by JaredBusch

                        Alright, upped the memory to 4gb for testing and wiped the sessions.db file.

                        So far only a single high CPU warning right at boot time, so going to expect/accept that.

                        2017-02-06 11:41:29 CPU user (82.1/84.6/87.0)
                        
                        1 Reply Last reply Reply Quote 1
                        • JaredBuschJ
                          JaredBusch
                          last edited by

                          Session.db changed dramatically.

                          [root@bnasc ~]# ls -l /opt/screenconnect/App_Data/Session.*
                          -rw-r--r--. 1 root root    794624 Feb  6 11:41 /opt/screenconnect/App_Data/Session.db
                          -rw-r--r--. 1 root root 322928640 Feb  6 11:29 /opt/screenconnect/App_Data/Session.db.2017.02.06
                          -rw-r--r--. 1 root root     32768 Feb  6 11:50 /opt/screenconnect/App_Data/Session.db-shm
                          -rw-r--r--. 1 root root   4128272 Feb  6 11:50 /opt/screenconnect/App_Data/Session.db-wal
                          
                          gjacobseG 1 Reply Last reply Reply Quote 1
                          • gjacobseG
                            gjacobse @JaredBusch
                            last edited by

                            @JaredBusch

                            Question on that - Do you have the system do DB maintenance?0_1486403889779_2017-02-06 12_57_57-NTG Remote Portal.png

                            JaredBuschJ 1 Reply Last reply Reply Quote 0
                            • JaredBuschJ
                              JaredBusch @gjacobse
                              last edited by JaredBusch

                              @gjacobse said in ScreenConnect on CentOS is sluggish:

                              @JaredBusch

                              Question on that - Do you have the system do DB maintenance?!

                              That answer, is no. My bad on that.

                              gjacobseG 1 Reply Last reply Reply Quote 0
                              • gjacobseG
                                gjacobse @JaredBusch
                                last edited by

                                @JaredBusch said in ScreenConnect on CentOS is sluggish:

                                @gjacobse said in ScreenConnect on CentOS is sluggish:

                                @JaredBusch

                                Question on that - Do you have the system do DB maintenance?!

                                That answer, is no. My bad on that.

                                It wasn't set on the NTG system at first either. But once set, and allowed to cycle it's kept the DB in check. If you set today, it's likely that it won't process until the next run time, which will be Tuesday Night / Wednesday Morning....

                                At least that is what SC Support explained to me.

                                JaredBuschJ 1 Reply Last reply Reply Quote 0
                                • JaredBuschJ
                                  JaredBusch @gjacobse
                                  last edited by

                                  @gjacobse said in ScreenConnect on CentOS is sluggish:

                                  @JaredBusch said in ScreenConnect on CentOS is sluggish:

                                  @gjacobse said in ScreenConnect on CentOS is sluggish:

                                  @JaredBusch

                                  Question on that - Do you have the system do DB maintenance?!

                                  That answer, is no. My bad on that.

                                  It wasn't set on the NTG system at first either. But once set, and allowed to cycle it's kept the DB in check. If you set today, it's likely that it won't process until the next run time, which will be Tuesday Night / Wednesday Morning....

                                  At least that is what SC Support explained to me.

                                  I have a clean Session.db, so nothing there now anyway. Debating if I should put the old one back and let this run.

                                  1 Reply Last reply Reply Quote 0
                                  • JaredBuschJ
                                    JaredBusch
                                    last edited by JaredBusch

                                    ok, just moved the new session DB out and copied the old one back in. going to setup the maintenance task and see what happens.

                                    [root@bnasc ~]# ls -l /opt/screenconnect/App_Data/
                                    total 635964
                                    -rw-r--r--. 1 root root       803 Nov  4 12:41 ExtensionConfiguration.xml
                                    drwxr-xr-x. 2 root root        42 Jan 31 17:59 Helper
                                    -rw-r--r--. 1 root root       381 Aug 10 01:05 License.xml
                                    -rw-r--r--. 1 root root     16220 Jan 31 17:59 Role.xml
                                    -rw-r--r--. 1 root root 322928640 Feb  6 17:03 Session.db
                                    -rw-r--r--. 1 root root 322928640 Feb  6 11:29 Session.db.2017.02.06.old
                                    -rw-r--r--. 1 root root   1163264 Feb  6 16:30 Session.db.2017.02.06.new
                                    -rw-r--r--. 1 root root     32768 Feb  6 17:00 Session.db-shm
                                    -rw-r--r--. 1 root root   4132392 Feb  6 17:00 Session.db-wal
                                    -rw-r--r--. 1 root root      1045 Jul  1  2014 SessionEventTrigger.xml
                                    -rw-r--r--. 1 root root      3250 Jun 21  2016 SessionGroup.xml
                                    drwxr-xr-x. 2 root root        86 Jan 31 18:09 Toolbox
                                    -rw-r--r--. 1 root root      6001 Feb  6 12:07 User.xml
                                    
                                    1 Reply Last reply Reply Quote 1
                                    • JaredBuschJ
                                      JaredBusch
                                      last edited by JaredBusch

                                      big ba-da boom

                                      0_1486422455491_upload-f82269d1-a1fe-4d52-bdfc-4ec92b42ad64

                                      1 Reply Last reply Reply Quote 1
                                      • JaredBuschJ
                                        JaredBusch
                                        last edited by

                                        Put the new one back and it start up just fine /sigh

                                        1 Reply Last reply Reply Quote 1
                                        • gjacobseG
                                          gjacobse
                                          last edited by

                                          Well at least the new one is still okay... would be a major pain otherwise.

                                          1 Reply Last reply Reply Quote 0
                                          • JaredBuschJ
                                            JaredBusch
                                            last edited by

                                            A week later, the database file is still small with 157 devices having reported back in.

                                            -rw-r--r--. 1 root root   1163264 Feb  6 16:30 Session.db.2017.02.06.new
                                            -rw-r--r--. 1 root root 322928640 Feb  6 11:29 Session.db.2017.02.06.old
                                            -rw-r--r--. 1 root root   1654784 Feb 11 16:03 Session.db.2017.02.11.new
                                            

                                            Time to test the backup and contact support if it doesn't load.

                                            1 Reply Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post