Page 3 of 5 FirstFirst 12345 LastLast
Results 21 to 30 of 45

Thread: Setting up Ubuntu server - Questions

  1. #21
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Setting up Ubuntu server - Questions

    Check top again and pay attention to the %CPU line and how many tasks are running and how many are sleeping.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  2. #22
    Join Date
    Sep 2008
    Beans
    193
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Setting up Ubuntu server - Questions

    Hi there,

    There is 1 running and 97 sleeping and the %CPU line is almost like last time. Almost all are 0.0% except the one in the middle that says ID which is around 90-100% and the next one called WA jumps up to 25-30% alot.


    Found this

    2c. CPU States
    The CPU states are shown in the Summary Area. They are always
    shown as a percentage and are for the time between now and the
    last refresh.

    us -- User CPU time
    The time the CPU has spent running users' processes that are
    not niced.

    sy -- System CPU time
    The time the CPU has spent running the kernel and its
    processes.

    ni -- Nice CPU time
    The time the CPU has spent running users' proccess that have
    been niced.

    wa -- iowait
    Amount of time the CPU has been waiting for I/O to complete.

    hi -- Hardware IRQ
    The amount of time the CPU has been servicing hardware
    interrupts.

    si -- Software Interrupts
    The amount of time the CPU has been servicing software
    interrupts.

    st -- Steal Time
    The amount of CPU 'stolen' from this virtual machine by the
    hypervisor for other tasks (such as running another virtual
    machine).
    but there is no explanation for the middle stats called ID which is on about 100% all the time
    Last edited by AvengerX9; April 11th, 2013 at 03:23 AM.

  3. #23
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Setting up Ubuntu server - Questions

    id is idle.

    What is the load now?
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  4. #24
    Join Date
    Sep 2008
    Beans
    193
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Setting up Ubuntu server - Questions

    75% Idle and 25% iowait. Trying to install postfix from webmin. Takes forever

    2.36 - -2.16 - 1.82

  5. #25
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Setting up Ubuntu server - Questions

    Quote Originally Posted by AvengerX9 View Post
    75% Idle and 25% iowait. Trying to install postfix from webmin. Takes forever

    2.36 - -2.16 - 1.82
    How the.

    Try running this:

    Code:
    sudo iostat
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  6. #26
    Join Date
    Sep 2008
    Beans
    193
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Setting up Ubuntu server - Questions

    I get Iostat command not found - I will try install sysstat
    Last edited by AvengerX9; April 11th, 2013 at 03:58 AM.

  7. #27
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Setting up Ubuntu server - Questions

    Quote Originally Posted by AvengerX9 View Post
    I get Iostat command not found - I will try install sysstat
    That works. Something is definitely bogging the machine down. On a quad core, the load when installing software shouldn't be that high.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  8. #28
    Join Date
    Sep 2008
    Beans
    193
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Setting up Ubuntu server - Questions

    Here are the output from iostat

    It says
    Code:
    Linux 3.5.0-23-generic (truckstop24) * *04/11/2013 * * *_x86_64_ * * * *(4 CPU)
    
    avg-cpu: *%user * %nice %system %iowait *%steal * %idle
    * * * * * *0.07 * *0.02 * *0.02 * 13.31 * *0.00 * 86.58
    
    
    Device: * * * * * *tps * *kB_read/s * *kB_wrtn/s * *kB_read * *kB_wrtn
    sda * * * * * * * 2.41 * * * * 7.23 * * * 331.96 * * 286004 * 13128726
    sdb * * * * * * * 0.01 * * * * 0.05 * * * * 0.00 * * * 2082 * * * * *0
    sdc * * * * * * * 0.01 * * * * 0.05 * * * * 0.00 * * * 2106 * * * * *0
    dm-0 * * * * * * *3.77 * * * * 7.10 * * * 331.97 * * 280617 * 13129232
    dm-1 * * * * * * *0.01 * * * * 0.03 * * * * 0.00 * * * 1148 * * * * *0
    and the top

    Code:
    top - 13:37:34 up 10:57,  2 users,  load average: 0.74, 0.78, 0.77
    Tasks: 106 total,   1 running, 105 sleeping,   0 stopped,   0 zombie
    Cpu(s):  0.0%us,  0.0%sy,  0.0%ni,100.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
    Mem:   8140992k total,   917240k used,  7223752k free,    83324k buffers
    Swap:  8347644k total,        0k used,  8347644k free,   560940k cached
    
      PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
        1 root      20   0 24328 2296 1360 S    0  0.0   0:01.34 init
        2 root      20   0     0    0    0 S    0  0.0   0:00.00 kthreadd
        3 root      20   0     0    0    0 S    0  0.0   0:00.38 ksoftirqd/0
        6 root      RT   0     0    0    0 S    0  0.0   0:00.16 migration/0
        7 root      RT   0     0    0    0 S    0  0.0   0:00.08 watchdog/0
        8 root      RT   0     0    0    0 S    0  0.0   0:00.07 migration/1
       10 root      20   0     0    0    0 S    0  0.0   0:00.21 ksoftirqd/1
       11 root      RT   0     0    0    0 S    0  0.0   0:00.07 watchdog/1
       12 root      RT   0     0    0    0 S    0  0.0   0:00.12 migration/2
       14 root      20   0     0    0    0 S    0  0.0   0:00.12 ksoftirqd/2
       15 root      RT   0     0    0    0 S    0  0.0   0:00.07 watchdog/2
       16 root      RT   0     0    0    0 S    0  0.0   0:00.07 migration/3
       17 root      20   0     0    0    0 S    0  0.0   0:00.47 kworker/3:0
       18 root      20   0     0    0    0 S    0  0.0   0:00.15 ksoftirqd/3
       19 root      RT   0     0    0    0 S    0  0.0   0:00.07 watchdog/3
       20 root       0 -20     0    0    0 S    0  0.0   0:00.00 cpuset
       21 root       0 -20     0    0    0 S    0  0.0   0:00.00 khelper
       22 root      20   0     0    0    0 S    0  0.0   0:00.00 kdevtmpfs
       23 root       0 -20     0    0    0 S    0  0.0   0:00.00 netns
       24 root      20   0     0    0    0 S    0  0.0   0:00.00 kworker/u:1
       25 root      20   0     0    0    0 S    0  0.0   0:00.28 sync_supers
       26 root      20   0     0    0    0 S    0  0.0   0:00.00 bdi-default
       27 root       0 -20     0    0    0 S    0  0.0   0:00.00 kintegrityd
       28 root       0 -20     0    0    0 S    0  0.0   0:00.00 kblockd
       29 root       0 -20     0    0    0 S    0  0.0   0:00.00 ata_sff
       30 root      20   0     0    0    0 S    0  0.0   0:00.07 khubd
       31 root       0 -20     0    0    0 S    0  0.0   0:00.00 md
       34 root      20   0     0    0    0 S    0  0.0   0:00.01 khungtaskd
       35 root      20   0     0    0    0 S    0  0.0   0:00.00 kswapd0
       36 root      25   5     0    0    0 S    0  0.0   0:00.00 ksmd
       37 root      39  19     0    0    0 S    0  0.0   0:00.00 khugepaged
       38 root      20   0     0    0    0 S    0  0.0   0:00.00 fsnotify_mark
       39 root      20   0     0    0    0 S    0  0.0   0:00.00 ecryptfs-kthrea
       40 root       0 -20     0    0    0 S    0  0.0   0:00.00 crypto
       49 root       0 -20     0    0    0 S    0  0.0   0:00.00 kthrotld
       51 root      20   0     0    0    0 S    0  0.0   0:00.00 scsi_eh_0
       52 root      20   0     0    0    0 S    0  0.0   0:00.03 scsi_eh_1
       53 root      20   0     0    0    0 S    0  0.0   0:00.09 scsi_eh_2
       54 root      20   0     0    0    0 S    0  0.0   0:00.01 scsi_eh_3
       55 root      20   0     0    0    0 S    0  0.0   0:00.02 scsi_eh_4
       56 root      20   0     0    0    0 S    0  0.0   0:00.01 scsi_eh_5
       60 root      20   0     0    0    0 S    0  0.0   0:00.00 kworker/u:5
       63 root       0 -20     0    0    0 S    0  0.0   0:00.00 binder
       82 root       0 -20     0    0    0 S    0  0.0   0:00.00 deferwq
       83 root      20   0     0    0    0 S    0  0.0   0:00.78 kworker/1:1
       84 root       0 -20     0    0    0 S    0  0.0   0:00.00 charger_manager
       85 root       0 -20     0    0    0 S    0  0.0   0:00.00 devfreq_wq
      149 root      20   0     0    0    0 S    0  0.0   0:00.00 kworker/3:1
      177 root      20   0     0    0    0 S    0  0.0   0:00.66 kworker/2:1
      256 root       0 -20     0    0    0 S    0  0.0   0:00.00 kdmflush
      273 root       0 -20     0    0    0 S    0  0.0   0:00.00 kdmflush
      282 root      20   0     0    0    0 S    0  0.0   0:01.06 jbd2/dm-0-8
    Last edited by AvengerX9; April 11th, 2013 at 12:39 PM.

  9. #29
    Join Date
    Sep 2008
    Beans
    193
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Setting up Ubuntu server - Questions

    I wonder if there is a chance that the disk partitioning I did before the install may have caused some of this ?


    in that case here is the output of fdisk -l

    Code:
    WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
    
    
    Disk /dev/sda: 1500.3 GB, 1500301910016 bytes
    255 heads, 63 sectors/track, 182401 cylinders, total 2930277168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000000
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1               1  2930277167  1465138583+  ee  GPT
    
    Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
    255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00021e1a
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1            2048      499711      248832   83  Linux
    /dev/sdb2          501758  1953523711   976510977    5  Extended
    /dev/sdb5          501760  1953523711   976510976   8e  Linux LVM
    
    Disk /dev/sdc: 2000.4 GB, 2000398934016 bytes
    255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00086295
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdc1            2048      499711      248832   83  Linux
    /dev/sdc2          501758  3907028991  1953263617    5  Extended
    /dev/sdc5          501760  3907028991  1953263616   8e  Linux LVM
    
    Disk /dev/mapper/truckstop24-root: 991.4 GB, 991449579520 bytes
    255 heads, 63 sectors/track, 120536 cylinders, total 1936424960 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000000
    
    Disk /dev/mapper/truckstop24-root doesn't contain a valid partition table
    
    Disk /dev/mapper/truckstop24-swap_1: 8547 MB, 8547991552 bytes
    255 heads, 63 sectors/track, 1039 cylinders, total 16695296 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000000
    
    Disk /dev/mapper/truckstop24-swap_1 doesn't contain a valid partition table
    Last edited by AvengerX9; April 11th, 2013 at 03:01 PM.

  10. #30
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Setting up Ubuntu server - Questions

    Run top while trying to install something and watch the output. It should tell you what is using the CPU.

    As far your drives, they look like normal drives, not advanced format drives, so I don't think that is the problem.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

Page 3 of 5 FirstFirst 12345 LastLast

Bookmarks

Posting Permissions

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