Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: xterm slow to initialise

  1. #1
    Join Date
    Apr 2011
    Location
    Stockholm
    Posts
    81

    Default xterm slow to initialise

    Of late xterm has started to be really slow to fire up if I haven't used it for a while. Initially it takes about 30 s to give me a prompt! Subsequent instances much faster. Then if I leave it for half an hour or so, same thing again: 30 s to prompt. My hardware is not to blame: processor Intel(R) Xeon(R) CPU E5-1650 v4 @ 3.60GHz, RAM 72 GB with system on SSD-drive.

    Any idea what can cause this?

    Cheers,
    gostal

  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,293
    Blog Entries
    2

    Default Re: xterm slow to initialise

    For starters
    You might want to be running a supported version of openSUSE.
    Updates are no longer available after January 2019, almost half a year ago.
    Upgrade to 15.1 this month when it officially launches and you shouldn't have to worry about an upgrade again for another year and a half.

    Aside from your machine running old, unsupported code,
    You might run top or something else to see if anything else is running or might be exerting memory pressure.
    The amount of RAM has little to do with system performance, various factors will alter available resources... eg. applications running, memory leaks, overloaded sub-systems, etc.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  3. #3
    Join Date
    Apr 2011
    Location
    Stockholm
    Posts
    81

    Default Re: xterm slow to initialise

    According to this page:

    https://news.opensuse.org/2018/08/08/opensuse-leap-42-3-end-of-life-is-extended/


    end of life is June, so yet another month ...

    Of course, I've been thinking about upgrading but this is a company machine and the OpenSuse guy in our support team has retired. The new guys favour Ubuntu which I just got installed on an older machine to see I can get used to it. If I can the future will be Ubuntu also on this machine but in the mean time the slow startup is annoying.

    I'll try top and see if it gives any clues.

    I can add that also connecting to this machine via ssh from another machine is sluggish both the logging in and firing up the prompt.

    Cheers,
    gostal

  4. #4
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,629
    Blog Entries
    3

    Default Re: xterm slow to initialise

    I never had a problem with slow "xterm" startup. My best guess is a memory shortage. And yes, I saw that you have lots of memory. But maybe you are using it all.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  5. #5
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,293
    Blog Entries
    2

    Default Re: xterm slow to initialise

    You can try upgrading which is essentially a re-install of everything...

    There are 2 guides, the Online Upgrade is for upgrading by simply re-configuring repositories
    In summary, an Online Upgrade involves
    • Update your machine, typically by running the "zypper up" command
    • Re-configure your repositories, a "sed" command is provided that modifies your repositories quickly and easily
    • Disable unnecessary repos
    • Run Upgrade command and wait


    https://en.opensuse.org/SDB:System_upgrade

    An Offline Upgrade is also very easy.
    • Download DVD image and burn to optical disk
    • Insert DVD and run
    • Update by running "zypper up" after upgrade completes


    https://en.opensuse.org/SDB:Offline_upgrade

    If running in a virtual machine, you can point your Virtual Machine to an ISO instead of burning to optical disk.

    Although the system upgrade is very easy, individual apps will likely require special attention, and I assume with 72GB of RAM you're running some big Server apps.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  6. #6
    Join Date
    Dec 2008
    Location
    FL, USA
    Posts
    1,692

    Default Re: xterm slow to initialise

    I'm writing this on 42.3 with 16GB RAM. Xterm launched instantly. I hadn't used it for quite some time, as I always have Konsole open.
    Code:
    > inxi -SGxxxC
    System:    Host: 00srv Kernel: 4.4.176-96-default x86_64 bits: 64 compiler: gcc v: 4.8.5 Desktop: KDE 3.5.10 tk: Qt 3.3.8c
               info: kicker wm: kwin dm: N/A Distro: openSUSE Leap 42.3
    CPU:       Topology: Dual Core model: Intel Core i3-4150T bits: 64 type: MT MCP arch: Haswell rev: 3 L2 cache: 3072 KiB
               flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 24002
               Speed: 3000 MHz min/max: 800/3000 MHz Core speeds (MHz): 1: 3000 2: 3000 3: 3000 4: 3000
    Graphics:  Device-1: Intel 4th Generation Core Processor Family Integrated Graphics vendor: Micro-Star MSI driver: i915
               v: kernel bus ID: 00:02.0 chip ID: 8086:041e
               Display: server: X.Org 1.18.3 driver: modesetting unloaded: fbdev,vesa alternate: intel resolution: 1920x1200~60Hz
               OpenGL: renderer: Mesa DRI Intel Haswell v: 4.3 Mesa 17.0.5 compat-v: 3.0 direct render: Yes
    Reg. Linux User #211409 *** multibooting since 1992
    Primary: 42.3,TW,15.0 & 13.1 on Haswell w/ RAID
    Secondary: eComStation (OS/2)&42.3 on 965P/Radeon
    Tertiary: TW,15.0,42.3,Fedora,Debian,more on Kaby Lake,Q45,Q43,G41,G3X,965G,Cedar,Caicos,Oland,GT218&&&

  7. #7
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,293
    Blog Entries
    2

    Default Re: xterm slow to initialise

    I don't think anyone should ordinarily have any problem launching xterm instantly,
    AFAIK it's the only terminal app openSUSE provides which is minimal and without all the enhancements you'll find in other terminal apps.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  8. #8
    Join Date
    Apr 2011
    Location
    Stockholm
    Posts
    81

    Default Re: xterm slow to initialise

    Thank for your input, guys!

    top or rather htop didn't give mucn. No heavy load on any of the cpu:s and only about 10 % of memory used.

    I believe I found out what caused the problem, though: Firefox. I did have some five windows, some with many tabs scattered over the workspaces. I killed them all and things are now back to normal. I guess I'll have to do some pruning among the Firefox windows and tabs.

    Cheers,
    gostal

  9. #9
    Join Date
    Apr 2011
    Location
    Stockholm
    Posts
    81

    Default Re: xterm slow to initialise

    I believe I found out what caused the problem, though: Firefox. I did have some five windows, some with many tabs scattered over the workspaces. I killed them all and things are now back to normal. I guess I'll have to do some pruning among the Firefox windows and tabs.
    No, that was only a temporary fix. System continued to deteriorate so right before I went on holiday in the beginning of July I decided to take the advice and do an upgrade to Leap 15.0 via zypper and planned to go on to 15.1
    but although the upgrade went through it screwed up all of my logins and also sudo:
    Code:
    User unknown to the underlying ...
    In Leap 42.3 it happened now and then that root authentication got screwed up so I couldn't run yast graphically. The reason always was that some lines in a file having to do with pam/kerberos got written in the wrong order. (I have made a note of which file it was and also the correct order of the lines but it's at the office and not here.) Luckily sudo always worked so I could use yast on the command line and go in and hit edit and then without any modification save and the lines were written in the correct order but now I simply can't get into the machine. I guess that if I boot the system from a USB-stick with a live distro I can access and edit relevant files under /etc. This is, however, something I have never done so I would be grateful for detailed instructions regarding what to do.

    I have also started wondering if the SSD that holds the system has started to degrade. What can I do to check?

    Cheers,
    gostal

  10. #10
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,293
    Blog Entries
    2

    Default Re: xterm slow to initialise

    Quote Originally Posted by gostal View Post


    No, that was only a temporary fix. System continued to deteriorate so right before I went on holiday in the beginning of July I decided to take the advice and do an upgrade to Leap 15.0 via zypper and planned to go on to 15.1
    but although the upgrade went through it screwed up all of my logins and also sudo:
    Code:
    User unknown to the underlying ...
    In Leap 42.3 it happened now and then that root authentication got screwed up so I couldn't run yast graphically. The reason always was that some lines in a file having to do with pam/kerberos got written in the wrong order. (I have made a note of which file it was and also the correct order of the lines but it's at the office and not here.) Luckily sudo always worked so I could use yast on the command line and go in and hit edit and then without any modification save and the lines were written in the correct order but now I simply can't get into the machine. I guess that if I boot the system from a USB-stick with a live distro I can access and edit relevant files under /etc. This is, however, something I have never done so I would be grateful for detailed instructions regarding what to do.

    I have also started wondering if the SSD that holds the system has started to degrade. What can I do to check?

    Cheers,
    gostal
    Personally,
    I haven't experienced any broken credentials and related logins for many years... I think that the last time I experienced that was somewhere around 13.2...
    In each case though, I was able to fix by resetting the password...
    Sometimes it didn't work using YaST so had to do it by command line,
    And if the root account itself was a problem (su or sudo), I remember I was still able to logout and login as root and then was able to re-apply the root password which fixed the problem (I could then logout and back in as a normal user and su or sudo again).


    Don't know if that is similar to what you're experiencing,
    If so, then after you upgrade to 15. and perhaps reboot a time or two to firmly lock in your changes, I wouldn't expect you should see that problem again.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •