Page 1 of 4 123 ... LastLast
Results 1 to 10 of 37

Thread: root functions fine, all other users are unusably slow.

  1. #1

    Default root functions fine, all other users are unusably slow.

    Hi folks, I'm hoping you can help me sort this out.

    The past few days my computer has been running extremely slow, logging in as any user gives me a completely unusable system.

    Open firefox and wait about four minutes, maybe it will load a page. Try the same thing as root and no problems.

    The same with any other application actually, but firefox is my lifeline to (hopefully) a solution.

    The system is a genuine intel I3 with 16G ram, it boots from a 60GB SSD and I have two 1TB hard drives configured as a redundant raid.

    The latest kernal is 3.11.10-7-desktop I just tried booting 3.11.6-33.gf7498bf-desktop but it was the same issue.

    I think things went downhill after a recent update but I'm not sure.

    Here is the contents of my /etc/fstab
    emu:~ # cat /etc/fstab
    /dev/disk/by-id/ata-OCZ-AGILITY3_OCZ-92936853RA210YG1-part1 / ext4 noatime,acl,user_xattr 1 1
    /dev/md0 /home ext4 acl,user_xattr 1 2
    proc /proc proc defaults 0 0
    sysfs /sys sysfs noauto 0 0
    debugfs /sys/kernel/debug debugfs noauto 0 0
    usbfs /proc/bus/usb usbfs noauto 0 0
    devpts /dev/pts devpts mode=0620,gid=5 0 0

    Other issues, while I'm at it, could be related I don't know.
    I seem to have problems with usb data cards, not being found in my card reader - this used to work.
    USB drives in general don't seem to work.

    I recently installed the nvidia driver which fixed another issue where the computer would just randomly crash.

    My keyboard and mouse are wireless if that matters.

    This is not a new install of 13.1 previously I had 11.x and 12.x installed. 11.x was brilliant, after that things went down hill. I use this system daily for web development. I have the box configured as an apache server for local development.

    I'm not sure what other information is required to help, but please help, I'm getting desperate here.

    Thanks,
    Jeff

  2. #2
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    16,285

    Default Re: root functions fine, all other users are unusably slow.

    Pure guess. Since root runs OK but users are slow and you do not see any process using large amounts of CPU, I'd say you are having some sort of issue with the RAID array since roots home is on the root partition not on the array. So need more info what sort of RAID? hardware/software/FAKE (BIOS assist)

    Have you tried boot to the previous kernel? In the boot menu select advanced and the previous kernel version. Any difference?

    BTW in future please put any machine code/text in the code blocks. (# option in the editor window) It keeps things from getting miss formatted by the Web editor. Thanks

  3. #3

    Default Re: root functions fine, all other users are unusably slow.

    @gogalthorp thanks, and yes that does make sense, I didn't realize that the roots home directory would be on the SSD.

    I was a while ago since I configured the raid but it was done at installation of opensuse 11.x

    Sorry about not posting in code blocks, I'll make sure that I do that.
    Code:
     Device: (my boot drive)
    
     
    
    • Device: /dev/sda1
    • Size: 55.90 GB
    • Encrypted: No
    • Device Path: pci-0000:00:1f.2-scsi-1:0:0:0-part1
    • Device ID 1: ata-OCZ-AGILITY3_OCZ-92936853RA210YG1-part1 Device ID 2: scsi-141544120202020204f435a2d4147494c49545933202020202020202020202020202020202020202020202020202020204f435a2d39323933363835335241323130594731-part1 Device ID 3: scsi-SATA_OCZ-AGILITY3_OCZ-92936853RA210YG1-part1 Device ID 4: wwn-0x5e83a97f37a75d36-part1
    • FS ID: 0x83 Linux native
    File System:
    • File System: Ext4
    • Mount Point: /
    • Label:
    • Device:
    • Device: /dev/sdb1
    • Size: 909.50 GB
    • Encrypted: No
    • Device Path: pci-0000:0a:00.0-scsi-0:0:0:0-part1
    • Device ID 1: ata-WDC_WD1002FAEX-00Y9A0_WD-WCAW32993398-part1 Device ID 2: scsi-1ATA_WDC_WD1002FAEX-00Y9A0_WD-WCAW32993398-part1 Device ID 3: scsi-SATA_WDC_WD1002FAEX-0_WD-WCAW32993398-part1 Device ID 4: wwn-0x50014ee25b9adb77-part1
    • FS ID: 0xFD Linux RAID
    File System:
    • File System:
    • Mount Point:
    • Label:
    • Device:
    • Device: /dev/sdc1
    • Size: 931.51 GB
    • Encrypted: No
    • Device Path: pci-0000:0a:00.0-scsi-1:0:0:0-part1
    • Device ID 1: ata-WDC_WD1002FAEX-00Y9A0_WD-WCAW33004298-part1 Device ID 2: scsi-1ATA_WDC_WD1002FAEX-00Y9A0_WD-WCAW33004298-part1 Device ID 3: scsi-SATA_WDC_WD1002FAEX-0_WD-WCAW33004298-part1 Device ID 4: wwn-0x50014ee25b9a9415-part1
    • FS ID: 0xFD Linux RAID
    File System:
    • File System:
    • Mount Point:
    • Label:
    I got the info from the partioner, is there another place to get info about the raid?

    Thanks,
    Jeff

  4. #4

    Default Re: root functions fine, all other users are unusably slow.

    Hi jbenetti,

    Quote Originally Posted by jbenetti View Post
    I was a while ago since I configured the raid but it was done at installation of opensuse 11.x
    You could have been a bit more precise than x in 11.x.

    Quote Originally Posted by jbenetti View Post
    Sorry about not posting in code blocks, I'll make sure that I do that.
    Code:
     Device: (my boot drive)
    
     
    
    • Device: /dev/sda1
    • Size: 55.90 GB
    • Encrypted: No
    • Device Path: pci-0000:00:1f.2-scsi-1:0:0:0-part1
    • Device ID 1: ata-OCZ-AGILITY3_OCZ-92936853RA210YG1-part1 Device ID 2: scsi-141544120202020204f435a2d4147494c49545933202020202020202020202020202020202020202020202020202020204f435a2d39323933363835335241323130594731-part1 Device ID 3: scsi-SATA_OCZ-AGILITY3_OCZ-92936853RA210YG1-part1 Device ID 4: wwn-0x5e83a97f37a75d36-part1
    • FS ID: 0x83 Linux native
    File System:
    • File System: Ext4
    • Mount Point: /
    • Label:
    • Device:
    • Device: /dev/sdb1
    • Size: 909.50 GB
    • Encrypted: No
    • Device Path: pci-0000:0a:00.0-scsi-0:0:0:0-part1
    • Device ID 1: ata-WDC_WD1002FAEX-00Y9A0_WD-WCAW32993398-part1 Device ID 2: scsi-1ATA_WDC_WD1002FAEX-00Y9A0_WD-WCAW32993398-part1 Device ID 3: scsi-SATA_WDC_WD1002FAEX-0_WD-WCAW32993398-part1 Device ID 4: wwn-0x50014ee25b9adb77-part1
    • FS ID: 0xFD Linux RAID
    File System:
    • File System:
    • Mount Point:
    • Label:
    • Device:
    • Device: /dev/sdc1
    • Size: 931.51 GB
    • Encrypted: No
    • Device Path: pci-0000:0a:00.0-scsi-1:0:0:0-part1
    • Device ID 1: ata-WDC_WD1002FAEX-00Y9A0_WD-WCAW33004298-part1 Device ID 2: scsi-1ATA_WDC_WD1002FAEX-00Y9A0_WD-WCAW33004298-part1 Device ID 3: scsi-SATA_WDC_WD1002FAEX-0_WD-WCAW33004298-part1 Device ID 4: wwn-0x50014ee25b9a9415-part1
    • FS ID: 0xFD Linux RAID
    File System:
    • File System:
    • Mount Point:
    • Label:
    I got the info from the partioner, is there another place to get info about the raid?

    Thanks,
    Jeff
    You probably spent quite some time on the listing.

    Yes, there is another way: open a terminal (a text console), say 'su' to become root and enter password,
    then say 'parted -l'.
    Please post the output of that here.

    It anyway is interesting to note that a thread with a very similar topic and a very similar description of the
    possible reasons (kernel update) currently just is the very next thread in this forum,
    http://forums.opensuse.org/showthrea...-regular-user?

    Good luck
    Mike

  5. #5
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    16,285

    Default Re: root functions fine, all other users are unusably slow.

    Looks like software RAID.

    Did you try boot to previous kernel. It may be a regression the the current kernel since the problem seems to have started recently it may have to do with a kernel upgrade

    I have never actually heard of this happening before so not sure where to start. All I know is RAID is a pain


    FYI the root users home is /root on the root partition. LOL I know too many roots. You have to be careful of the context of root in Linux

  6. #6

    Default Re: root functions fine, all other users are unusably slow.

    Quote Originally Posted by ratzi View Post
    You could have been a bit more precise than x in 11.x.
    You probably spent quite some time on the listing.

    Yes, there is another way: open a terminal (a text console), say 'su' to become root and enter password,
    then say 'parted -l'.
    Please post the output of that here.

    It anyway is interesting to note that a thread with a very similar topic and a very similar description of the
    possible reasons (kernel update) currently just is the very next thread in this forum,
    http://forums.opensuse.org/showthrea...-regular-user?

    Good luck
    Mike
    Sorry, I don't remember the minor release number, I can try and figure that out if it's important.

    Unfortunately, I am now at home but I will post the output of parted -l tomorrow.

    Thanks Mike, I guess I will need some luck.

    Jeff

  7. #7

    Default Re: root functions fine, all other users are unusably slow.

    Quote Originally Posted by gogalthorp View Post
    Looks like software RAID.

    Did you try boot to previous kernel. It may be a regression the the current kernel since the problem seems to have started recently it may have to do with a kernel upgrade
    I have never actually heard of this happening before so not sure where to start. All I know is RAID is a pain

    FYI the root users home is /root on the root partition. LOL I know too many roots. You have to be careful of the context of root in Linux
    I did try to boot the previous kernal, I can tell you what kernel numbers I booted but unfortunately I am now at home and I will pick this up tomorrow.

    Quote Originally Posted by gogalthorp View Post
    I have never actually heard of this happening before so not sure where to start. All I know is RAID is a pain
    I don't like the sound of that!

    Thanks,
    Jeff

  8. #8
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: root functions fine, all other users are unusably slow.

    On 2014-02-12 22:56, jbenetti wrote:

    > Sorry, I don't remember the minor release number, I can try and figure
    > that out if it's important.


    No, not really important.

    Just a comment: the "minor" number in openSUSE in fact indicates a major
    release. Ie, 12.2, 12.3, 13.1... all are major releases.

    How did you do those upgrades, via zypper dup?

    Let me paste your fstab here, there is an issue with it.

    Code:
    
    > emu:~ # cat /etc/fstab
    > /dev/disk/by-id/ata-OCZ-AGILITY3_OCZ-92936853RA210YG1-part1 /
    > ext4       noatime,acl,user_xattr 1 1
    > /dev/md0             /home                ext4       acl,user_xattr      1 2
    
    > proc                 /proc                proc       defaults            0 0
    > sysfs                /sys                 sysfs      noauto              0 0
    > debugfs              /sys/kernel/debug    debugfs    noauto              0 0
    > usbfs                /proc/bus/usb        usbfs      noauto              0 0
    > devpts               /dev/pts             devpts     mode=0620,gid=5     0 0
    Please comment out the entries for /proc, /sys, and /dev/pts. Those five
    lines. 13.1 does not use them and might cause issues. Systemd mounts
    those entries on its own now.


    --
    Cheers / Saludos,

    Carlos E. R.

    (from 13.1 x86_64 "Bottle" (Minas Tirith))

  9. #9
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: root functions fine, all other users are unusably slow.

    On 2014-02-12 22:56, jbenetti wrote:

    > gogalthorp;2624328 Wrote:
    >> I have never actually heard of this happening before so not sure where
    >> to start. All I know is RAID is a pain

    >
    > I don't like the sound of that!


    I take it that the root partition is on an SSD disk, thus very fast, but
    the "/home" is a software raid using rotating plate disks, thus much slower.

    That is, in that configuration, it is normal that the user "root" runs
    much faster than any plain user in the system. It has to be.

    So the question is, were those plain users "running" way faster before,
    some time ago, with this same configuration?


    We can run a speed test on that software raid of yours. For instance:

    Code:
    hdparm -tT /dev/md0
    will give some figures so that we can compare somewhat.


    I don't know what type of RAID you have. 1? 5? If it is degraded and
    rebuilding, it run slow till it finishes.


    You could also check the health of those hard disks, using smartctl.

    Code:
    smartctl -a /dev/sda
    smartctl -a /dev/sdb
    smartctl -a /dev/sdc
    smartctl -a /dev/sdd
    Etcetera. Then you can run the short test, check, the long test, check...


    More things. Instead of working as root, you can create a temporary new
    user, and just tell yast to place its home on the SSD disk, like on
    "/temporaryhome". That way people here will not be grinding their teeth
    thinking you are running a graphical session as root all the time ;-)

    --
    Cheers / Saludos,

    Carlos E. R.

    (from 13.1 x86_64 "Bottle" (Minas Tirith))

  10. #10

    Default Re: root functions fine, all other users are unusably slow.

    @robin_listas
    Thank you so much for weighing in.
    I take it that the root partition is on an SSD disk, thus very fast, but
    the "/home" is a software raid using rotating plate disks, thus much slower.

    That is, in that configuration, it is normal that the user "root" runs
    much faster than any plain user in the system. It has to be.

    So the question is, were those plain users "running" way faster before,
    some time ago, with this same configuration?
    Yes this is entirely correct and yes for the user there was no noticable difference between root or other users time wise. I am sure that it is measurabley slower but the HDD are quite fast normally.

    Code:
    I don't know what type of RAID you have. 1? 5? If it is degraded and
    rebuilding, it run slow till it finishes.
    I forget the raid numbers but I set this up as two identical drives mirrored by the raid for redundancy, I thought that this might protect me from hardware failure.

    Code:
    More things. Instead of working as root, you can create a temporary new
    user, and just tell yast to place its home on the SSD disk, like on
    "/temporaryhome". That way people here will not be grinding their teeth
    thinking you are running a graphical session as root all the time ;-)
    Thanks, I was going to ask if this would be a good idea, I'm not comfortable logged in as root either.

    I will address the other issues as soon as I am back in the saddle tomorrow.

    Thanks again,
    Jeff

Page 1 of 4 123 ... 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
  •