Page 1 of 5 123 ... LastLast
Results 1 to 10 of 44

Thread: Processes not closing properly

  1. #1
    Join Date
    Nov 2013
    Location
    Canadiana
    Posts
    461

    Default Processes not closing properly

    For some reason on my system processes are not being closed properly and
    with a couple hours of use I can see a couple instances of programs like
    firefox that have not closed properly.

    Screenshot: http://paste.opensuse.org/view/raw/68377035

    Any advice on how I can figure out what is causing this?

    --
    Bring the Penguins Back! https://features.opensuse.org/316767
    openSUSE 13.1
    KDE 4.13.0

  2. #2
    Join Date
    Jun 2008
    Location
    UK
    Posts
    5,500

    Default Re: Processes not closing properly

    Quote Originally Posted by alanbortu View Post
    For some reason on my system processes are not being closed properly and
    with a couple hours of use I can see a couple instances of programs like
    firefox that have not closed properly.

    Screenshot: http://paste.opensuse.org/view/raw/68377035

    Any advice on how I can figure out what is causing this?
    Last time I saw "disk sleep" on several in the process list was when I had a slowly failing internal HDD, but also with temporary freezes. You could run /usr/sbin/smartctl to check for disk/disk controller errors.
    Leap 42.3 (ext4, KDE Plasma 5.8.7) ~ stable
    Manjaro (ext4, Xfce) ~ rolling updates
    Tumbleweed (ext4, KDE Plasma5) ~ managed updates via "Tumbleweed Snapshots" service.

  3. #3
    Join Date
    Nov 2013
    Location
    Canadiana
    Posts
    461

    Default Re: Processes not closing properly

    Quote Originally Posted by consused View Post
    Last time I saw "disk sleep" on several in the process list was when I had a slowly failing internal HDD, but also with temporary freezes. You could run /usr/sbin/smartctl to check for disk/disk controller errors.
    sda
    Code:
    ~ # /usr/sbin/smartctl -a /dev/sda
    smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.11.10-7-desktop] (SUSE RPM)
    Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
    
    === START OF INFORMATION SECTION ===
    Model Family:     SAMSUNG SpinPoint F3
    Device Model:     SAMSUNG HD103SJ
    Serial Number:    S246J9EB917733
    LU WWN Device Id: 5 0024e9 206333fd9
    Firmware Version: 1AJ10001
    User Capacity:    1,000,204,886,016 bytes [1.00 TB]
    Sector Size:      512 bytes logical/physical
    Rotation Rate:    7200 rpm
    Device is:        In smartctl database [for details use: -P show]
    ATA Version is:   ATA8-ACS T13/1699-D revision 6
    SATA Version is:  SATA 2.6, 3.0 Gb/s
    Local Time is:    Mon May 12 19:13:00 2014 EDT
    SMART support is: Available - device has SMART capability.
    SMART support is: Enabled
    
    === START OF READ SMART DATA SECTION ===
    SMART overall-health self-assessment test result: PASSED
    
    General SMART Values:
    Offline data collection status:  (0x00) Offline data collection activity
                                            was never started.
                                            Auto Offline Data Collection: Disabled.
    Self-test execution status:      (   0) The previous self-test routine completed
                                            without error or no self-test has ever 
                                            been run.
    Total time to complete Offline 
    data collection:                ( 9600) seconds.
    Offline data collection
    capabilities:                    (0x5b) SMART execute Offline immediate.
                                            Auto Offline data collection on/off support.
                                            Suspend Offline collection upon new
                                            command.
                                            Offline surface scan supported.
                                            Self-test supported.
                                            No Conveyance Self-test supported.
                                            Selective Self-test supported.
    SMART capabilities:            (0x0003) Saves SMART data before entering
                                            power-saving mode.
                                            Supports SMART auto save timer.
    Error logging capability:        (0x01) Error logging supported.
                                            General Purpose Logging supported.
    Short self-test routine 
    recommended polling time:        (   2) minutes.
    Extended self-test routine
    recommended polling time:        ( 160) minutes.
    SCT capabilities:              (0x003f) SCT Status supported.
                                            SCT Error Recovery Control supported.
                                            SCT Feature Control supported.
                                            SCT Data Table supported.
    
    SMART Attributes Data Structure revision number: 16
    Vendor Specific SMART Attributes with Thresholds:
    ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
      1 Raw_Read_Error_Rate     0x002f   100   100   051    Pre-fail  Always       -       1
      2 Throughput_Performance  0x0026   252   252   000    Old_age   Always       -       0
      3 Spin_Up_Time            0x0023   073   068   025    Pre-fail  Always       -       8207
      4 Start_Stop_Count        0x0032   099   099   000    Old_age   Always       -       1585
      5 Reallocated_Sector_Ct   0x0033   252   252   010    Pre-fail  Always       -       0
      7 Seek_Error_Rate         0x002e   252   252   051    Old_age   Always       -       0
      8 Seek_Time_Performance   0x0024   252   252   015    Old_age   Offline      -       0
      9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       12153
     10 Spin_Retry_Count        0x0032   252   252   051    Old_age   Always       -       0
     11 Calibration_Retry_Count 0x0032   252   252   000    Old_age   Always       -       0
     12 Power_Cycle_Count       0x0032   099   099   000    Old_age   Always       -       1529
    191 G-Sense_Error_Rate      0x0022   100   100   000    Old_age   Always       -       2
    192 Power-Off_Retract_Count 0x0022   252   252   000    Old_age   Always       -       0
    194 Temperature_Celsius     0x0002   057   050   000    Old_age   Always       -       43 (Min/Max 11/50)
    195 Hardware_ECC_Recovered  0x003a   100   100   000    Old_age   Always       -       0
    196 Reallocated_Event_Count 0x0032   252   252   000    Old_age   Always       -       0
    197 Current_Pending_Sector  0x0032   252   252   000    Old_age   Always       -       0
    198 Offline_Uncorrectable   0x0030   252   252   000    Old_age   Offline      -       0
    199 UDMA_CRC_Error_Count    0x0036   200   200   000    Old_age   Always       -       0
    200 Multi_Zone_Error_Rate   0x002a   100   100   000    Old_age   Always       -       4
    223 Load_Retry_Count        0x0032   252   252   000    Old_age   Always       -       0
    225 Load_Cycle_Count        0x0032   100   100   000    Old_age   Always       -       1607
    
    SMART Error Log Version: 1
    No Errors Logged
    
    SMART Self-test log structure revision number 1
    No self-tests have been logged.  [To run self-tests, use: smartctl -t]
    
    
    SMART Selective self-test log data structure revision number 0
    Note: revision number not 1 implies that no selective self-test has ever been run
     SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
        1        0        0  Completed [00% left] (0-65535)
        2        0        0  Not_testing
        3        0        0  Not_testing
        4        0        0  Not_testing
        5        0        0  Not_testing
    Selective self-test flags (0x0):
      After scanning selected spans, do NOT read-scan remainder of disk.
    If Selective self-test is pending on power-up, resume after 0 minute delay.
    sdb
    Code:
    ~ # /usr/sbin/smartctl -a /dev/sdb
    smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.11.10-7-desktop] (SUSE RPM)
    Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
    
    === START OF INFORMATION SECTION ===
    Model Family:     SandForce Driven SSDs
    Device Model:     KINGSTON SH103S3120G
    Serial Number:    50026B722A0480DC
    LU WWN Device Id: 5 0026b7 22a0480dc
    Firmware Version: 502ABBF0
    User Capacity:    120,034,123,776 bytes [120 GB]
    Sector Size:      512 bytes logical/physical
    Rotation Rate:    Solid State Device
    Device is:        In smartctl database [for details use: -P show]
    ATA Version is:   ATA8-ACS, ACS-2 T13/2015-D revision 3
    SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
    Local Time is:    Mon May 12 19:14:03 2014 EDT
    SMART support is: Available - device has SMART capability.
    SMART support is: Enabled
    
    === START OF READ SMART DATA SECTION ===
    SMART overall-health self-assessment test result: PASSED
    
    General SMART Values:
    Offline data collection status:  (0x00) Offline data collection activity
                                            was never started.
                                            Auto Offline Data Collection: Disabled.
    Self-test execution status:      (   0) The previous self-test routine completed
                                            without error or no self-test has ever 
                                            been run.
    Total time to complete Offline 
    data collection:                (    0) seconds.
    Offline data collection
    capabilities:                    (0x7b) SMART execute Offline immediate.
                                            Auto Offline data collection on/off support.
                                            Suspend Offline collection upon new
                                            command.
                                            Offline surface scan supported.
                                            Self-test supported.
                                            Conveyance Self-test supported.
                                            Selective Self-test supported.
    SMART capabilities:            (0x0003) Saves SMART data before entering
                                            power-saving mode.
                                            Supports SMART auto save timer.
    Error logging capability:        (0x01) Error logging supported.
                                            General Purpose Logging supported.
    Short self-test routine 
    recommended polling time:        (   1) minutes.
    Extended self-test routine
    recommended polling time:        (  48) minutes.
    Conveyance self-test routine
    recommended polling time:        (   2) minutes.
    SCT capabilities:              (0x0021) SCT Status supported.
                                            SCT Data Table supported.
    
    SMART Attributes Data Structure revision number: 10
    Vendor Specific SMART Attributes with Thresholds:
    ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
      1 Raw_Read_Error_Rate     0x000f   110   110   050    Pre-fail  Always       -       0/43103016
      5 Retired_Block_Count     0x0033   100   100   003    Pre-fail  Always       -       0
      9 Power_On_Hours_and_Msec 0x0032   000   000   000    Old_age   Always       -       6904h+03m+12.760s
     12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       933
    171 Program_Fail_Count      0x0032   000   000   000    Old_age   Always       -       0
    172 Erase_Fail_Count        0x0032   000   000   000    Old_age   Always       -       0
    174 Unexpect_Power_Loss_Ct  0x0030   000   000   000    Old_age   Offline      -       70
    177 Wear_Range_Delta        0x0000   000   000   000    Old_age   Offline      -       2
    181 Program_Fail_Count      0x0032   000   000   000    Old_age   Always       -       0
    182 Erase_Fail_Count        0x0032   000   000   000    Old_age   Always       -       0
    187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
    189 Airflow_Temperature_Cel 0x0000   038   079   000    Old_age   Offline      -       38 (Min/Max 13/79)
    194 Temperature_Celsius     0x0022   038   079   000    Old_age   Always       -       38 (Min/Max 13/79)
    195 ECC_Uncorr_Error_Count  0x001c   120   120   000    Old_age   Offline      -       0/43103016
    196 Reallocated_Event_Count 0x0033   100   100   003    Pre-fail  Always       -       0
    201 Unc_Soft_Read_Err_Rate  0x001c   120   120   000    Old_age   Offline      -       0/43103016
    204 Soft_ECC_Correct_Rate   0x001c   120   120   000    Old_age   Offline      -       0/43103016
    230 Life_Curve_Status       0x0013   100   100   000    Pre-fail  Always       -       100
    231 SSD_Life_Left           0x0013   100   100   010    Pre-fail  Always       -       0
    233 SandForce_Internal      0x0000   000   000   000    Old_age   Offline      -       5579
    234 SandForce_Internal      0x0032   000   000   000    Old_age   Always       -       6690
    241 Lifetime_Writes_GiB     0x0032   000   000   000    Old_age   Always       -       6690
    242 Lifetime_Reads_GiB      0x0032   000   000   000    Old_age   Always       -       3442
    
    SMART Error Log not supported
    
    SMART Self-test Log not supported
    
    SMART Selective self-test log data structure revision number 0
    Note: revision number not 1 implies that no selective self-test has ever been run
     SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
        1        0        0  Not_testing
        2        0        0  Not_testing
        3        0        0  Not_testing
        4        0        0  Not_testing
        5        0        0  Not_testing
    Selective self-test flags (0x0):
      After scanning selected spans, do NOT read-scan remainder of disk.
    If Selective self-test is pending on power-up, resume after 0 minute delay.
    openSUSE Leap (42.1) 64 bit
    Plasma 5.4

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

    Default Re: Processes not closing properly

    On 2014-05-13 01:16, alanbortu wrote:

    > Code:
    > --------------------


    > SMART Self-test log structure revision number 1
    > No self-tests have been logged. [To run self-tests, use: smartctl -t]


    > --------------------


    You have to run the short and long tests, on both disks.

    --
    Cheers / Saludos,

    Carlos E. R.

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

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

    Default Re: Processes not closing properly

    On 2014-05-13 00:45, alanbortu wrote:
    > For some reason on my system processes are not being closed properly and
    > with a couple hours of use I can see a couple instances of programs like
    > firefox that have not closed properly.
    >
    > Screenshot: http://paste.opensuse.org/view/raw/68377035


    Try to run "ps afxu | less -S" and browse to the section about firefox.
    It is possible that they are in fact the same one.
    Paste that section back here so that we can see it.

    --
    Cheers / Saludos,

    Carlos E. R.

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

  6. #6
    Join Date
    Nov 2013
    Location
    Canadiana
    Posts
    461

    Default Re: Processes not closing properly

    Quote Originally Posted by robin_listas View Post
    On 2014-05-13 01:16, alanbortu wrote:

    > Code:
    > --------------------


    > SMART Self-test log structure revision number 1
    > No self-tests have been logged. [To run self-tests, use: smartctl -t]


    > --------------------


    You have to run the short and long tests, on both disks.
    The SSD doesnt seem to support logging but I will run it for the Hard Drive. Will take ~2 hours though.
    Code:
    ~ # smartctl -l selftest /dev/sdb
    smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.11.10-7-desktop] (SUSE RPM)
    Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
    
    === START OF READ SMART DATA SECTION ===
    SMART Self-test Log not supported
    openSUSE Leap (42.1) 64 bit
    Plasma 5.4

  7. #7
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,217
    Blog Entries
    15

    Default Re: Processes not closing properly

    Quote Originally Posted by alanbortu View Post
    The SSD doesnt seem to support logging but I will run it for the Hard Drive. Will take ~2 hours though.
    Code:
    ~ # smartctl -l selftest /dev/sdb
    smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.11.10-7-desktop] (SUSE RPM)
    Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
    
    === START OF READ SMART DATA SECTION ===
    SMART Self-test Log not supported
    Hi
    Since your running an SSD with a rotating drive, what are your fstab options and also have you implemented any i/o scheduling.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  8. #8
    Join Date
    Nov 2013
    Location
    Canadiana
    Posts
    461

    Default Re: Processes not closing properly

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Since your running an SSD with a rotating drive, what are your fstab options and also have you implemented any i/o scheduling.
    Ah that might be why. /boot is on the ssd as are /home and /

    Code:
    /dev/disk/by-id/ata-SAMSUNG_HD103SJ_S246J9EB917733-part2 swap                 swap       defaults              0 0
    UUID=8800f2e9-409b-4faf-944c-fc13e0c5571d /                    btrfs      defaults,discard              0 0
    /dev/disk/by-id/ata-KINGSTON_SH103S3120G_50026B722A0480DC-part1 /boot                ext4       acl,user_xattr        1 2
    /dev/system/home     /home                ext4       defaults,discard              1 2
    /dev/sda1       /home/gum/Files btrfs   defaults        1       2
    /dev/sda3       /home/gum/VM    ext4    defaults  1       2
    I dont think I changed any settings wrt i/o scheduling.
    openSUSE Leap (42.1) 64 bit
    Plasma 5.4

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

    Default Re: Processes not closing properly

    On 2014-05-13 02:06, alanbortu wrote:

    > The SSD doesnt seem to support logging but I will run it for the Hard
    > Drive.


    Ah. I missed that it was an SSD.

    > Will take ~2 hours though.


    No problem. You can continue working with the machine, but it will then
    take longer to finish.

    --
    Cheers / Saludos,

    Carlos E. R.

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

  10. #10
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,217
    Blog Entries
    15

    Default Re: Processes not closing properly

    Quote Originally Posted by alanbortu View Post
    Ah that might be why. /boot is on the ssd as are /home and /

    Code:
    /dev/disk/by-id/ata-SAMSUNG_HD103SJ_S246J9EB917733-part2 swap                 swap       defaults              0 0
    UUID=8800f2e9-409b-4faf-944c-fc13e0c5571d /                    btrfs      defaults,discard              0 0
    /dev/disk/by-id/ata-KINGSTON_SH103S3120G_50026B722A0480DC-part1 /boot                ext4       acl,user_xattr        1 2
    /dev/system/home     /home                ext4       defaults,discard              1 2
    /dev/sda1       /home/gum/Files btrfs   defaults        1       2
    /dev/sda3       /home/gum/VM    ext4    defaults  1       2
    I dont think I changed any settings wrt i/o scheduling.
    Hi
    Some anecdotal stuff which may be of interest?
    https://forums.opensuse.org/showthre...d-Reinstalling

    And this one about the scheduling
    https://forums.opensuse.org/showthre...?highlight=ssd

    This may not be related to your issue, however worth a read.

    Can you also show the output from the mount command to see what mount options are being used for the 'default'
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

Page 1 of 5 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
  •