You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



booting up taking longer over time

Author (Read 10068 times)

0 Members and 1 Guest are viewing this topic.

Re: booting up taking longer over time
« Reply #25 on: July 15, 2016, 10:57:43 AM »
 

Wirezfree

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1484
    Posts
  • Reputation: 405
  • Linux Lite "Advocate"
    • View Profile

  • CPU: i7-4790S

  • MEMORY: 16Gb

  • VIDEO CARD: Intel HD4600 (Integrated)
Interesting...
Since the beginning of my Linux use I had built a long list of things I do before usage...
This is my TODO on networking...

Linuxsmb: Networking

[ Y ] Check/Install ~ SAMBA GUI & Network Stuff
       > $ sudo apt-get install system-config-samba cifs-utils libnss-winbind winbind gvfs-backends
[ Y ] Open Linux Lite Help - Network Setup
[ Y ] Add "HOMENET" Workgroup, Samba Config file
[ Y ] Add "Resolver" order  & "Master Browser" items below netbios name:
          name resolve order = bcast host lmhosts wins
          local master = no
[ Y ] Re-start Networking
[ Y ] gksu leafpad /etc/nsswitch.conf
        Then change the line:
         hosts:          files mdns4_minimal [NOTFOUND=return] dns
         To this:
         hosts:          files mdns4_minimal [NOTFOUND=return] wins dns
         Then re-boot
[ Y ] Use SAMBA Gui, set up the /Public" to "PubShare" To be visible on other PC's.
       Change Share Settings with SAMBA GUI Tool


Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks :)

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
 

Re: booting up taking longer over time
« Reply #24 on: July 14, 2016, 10:50:30 PM »
 

torreydale

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1588
    Posts
  • Reputation: 261
  • * Forum Moderator *
    • View Profile

  • CPU: Intel i5-3230M (4) @ 3.200GHz

  • MEMORY: 16Gb

  • VIDEO CARD: Intel 3rd Gen Core processor Graphics

  • Kernel: 5.x
This workaround taken from Brett Bogert at https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/1409032 appears successful at getting the high CPU of gvfsd-smb-browse to disappear at login.  It worked for me.

Quote
After not be satisfied with any of the above workarounds to the problem
I decided to take a look at the problem and see if I could come up with
a "cleaner" workaround or fix.

I found that this problem occurs in Ubuntu 16.04 with Unity Gnome 3.18
GnomeShell Gnome 3.20, Budgie Gnome 3.18 and Fedora 24 Beta.

After some troubleshooting I found the following solution that does
not require changing executable permissions or removing packages:

1- Make a backup copy of the smb.conf file in /etc/samba.

2- Edit the /etc/samba/smb.conf file using your favorite editor
and add the following line under the "[global]" statement:

name resolve order = wins lmhosts bcast

The file should look like this:

[global]
name resolve order = wins lmhosts bcast

3- Save the file and reboot.

The problem should be fixed and you should notice that the
"Network" Icon and label shows up much quicker in your
file browser than before and the 100% CPU usage is gone.

Hope this helps.
Want to thank me?  Click my [Thank] link.
 

Re: booting up taking longer over time
« Reply #23 on: July 20, 2015, 04:19:04 PM »
 

TMG1961

  • PayPal Supporter
  • Gold Level Poster
  • *****
  • 591
    Posts
  • Reputation: 90
  • Linux Lite Member
    • View Profile

  • CPU: Intel(R) Core(TM) i3-7020U

  • MEMORY: 8Gb

  • VIDEO CARD: Intel(R) HD Graphics 620

  • Kernel: 5.x
Hi,

O.K on being on cable, I believe the gvfsd-smb-brows is to do with networking/shares.
Do you connect to any other PC's or to a NAS.?
Otherwise, not sure what else you can check/do.?

Connecting to notting else, only got 1 laptop and no other pc's or nas
As soon as the laptop is started up it works fine, its just that i noticed it is booting slower then after a fresh install, now it takes almost twice as long to boot up.
Life on earth is expensive but it does include a free trip around the sun.
 

Re: booting up taking longer over time
« Reply #22 on: July 20, 2015, 03:59:11 PM »
 

Wirezfree

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1484
    Posts
  • Reputation: 405
  • Linux Lite "Advocate"
    • View Profile

  • CPU: i7-4790S

  • MEMORY: 16Gb

  • VIDEO CARD: Intel HD4600 (Integrated)
Hi,

O.K on being on cable, I believe the gvfsd-smb-brows is to do with networking/shares.
Do you connect to any other PC's or to a NAS.?
Otherwise, not sure what else you can check/do.?
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks :)

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
 

Re: booting up taking longer over time
« Reply #21 on: July 20, 2015, 03:46:50 PM »
 

TMG1961

  • PayPal Supporter
  • Gold Level Poster
  • *****
  • 591
    Posts
  • Reputation: 90
  • Linux Lite Member
    • View Profile

  • CPU: Intel(R) Core(TM) i3-7020U

  • MEMORY: 8Gb

  • VIDEO CARD: Intel(R) HD Graphics 620

  • Kernel: 5.x
The harddrive is old and should have been retired ages ago but instead it is still trying to do its best.
I dont use wifi, got the laptop hooked up to a ethernet cable.
Why the process gvfsd-smb-browse takwes alot of cpu i dont know either, dont even have a clue what it is and if i actually need it.
Life on earth is expensive but it does include a free trip around the sun.
 

Re: booting up taking longer over time
« Reply #20 on: July 20, 2015, 02:38:14 PM »
 

Wirezfree

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1484
    Posts
  • Reputation: 405
  • Linux Lite "Advocate"
    • View Profile

  • CPU: i7-4790S

  • MEMORY: 16Gb

  • VIDEO CARD: Intel HD4600 (Integrated)
I'm not an expert,
but it looks like you have a slow hard drive, and that is creating a lot, almost constant disk(I/O) activity.
I realise I have an SSD, but if you look at my graph, I have bursts of activity.

Whilst it appears to be insignificant you appear to have Teamviewer auto starting.

Are you connecting to any network shares automatically.??
There is a process gvfsd-smb-brows which seems to take a lot of CPU
Not sure why..??
If you are on WiFi, it maybe slow/struggling, Can you do a test on a Ethernet cable

Maybe somebody else can spot something else.
Try Googling some of the items that appear to take a long time, or use a lot of CPU

GL... Dave
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks :)

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
 

Re: booting up taking longer over time
« Reply #19 on: July 20, 2015, 10:01:14 AM »
 

TMG1961

  • PayPal Supporter
  • Gold Level Poster
  • *****
  • 591
    Posts
  • Reputation: 90
  • Linux Lite Member
    • View Profile

  • CPU: Intel(R) Core(TM) i3-7020U

  • MEMORY: 8Gb

  • VIDEO CARD: Intel(R) HD Graphics 620

  • Kernel: 5.x
Finally got the bootchart.png file

Now just need to figure out how to show it here in a way that is is readable


« Last Edit: July 20, 2015, 10:27:09 AM by TMG1961 »
Life on earth is expensive but it does include a free trip around the sun.
 

Re: booting up taking longer over time
« Reply #18 on: July 20, 2015, 09:16:38 AM »
 

Wirezfree

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1484
    Posts
  • Reputation: 405
  • Linux Lite "Advocate"
    • View Profile

  • CPU: i7-4790S

  • MEMORY: 16Gb

  • VIDEO CARD: Intel HD4600 (Integrated)
strange..i did the folowing

Installed bootchart, installed pybootchartgui but the bootchart folder remains empty.
Did 3 restarts, even did shutdown the laptop completely and rebooted but still notting in bootchart folder.

I just installed and tested on one of my PC's, it took about 60secs to appear in the bootchart folder.

Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks :)

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
 

Re: booting up taking longer over time
« Reply #17 on: July 20, 2015, 08:20:07 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8775
    Posts
  • Reputation: 801
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
Press F4 during boot to see the text boot. You should then see where it's pausing or taking longer.

Sent from my Nexus 6 using Tapatalk

 

Re: booting up taking longer over time
« Reply #16 on: July 20, 2015, 07:40:38 AM »
 

TMG1961

  • PayPal Supporter
  • Gold Level Poster
  • *****
  • 591
    Posts
  • Reputation: 90
  • Linux Lite Member
    • View Profile

  • CPU: Intel(R) Core(TM) i3-7020U

  • MEMORY: 8Gb

  • VIDEO CARD: Intel(R) HD Graphics 620

  • Kernel: 5.x
strange..i did the folowing


Installed bootchart, installed pybootchartgui but the bootchart folder remains empty.
Did 3 restarts, even did shutdown the laptop completely and rebooted but still notting in bootchart folder.


Life on earth is expensive but it does include a free trip around the sun.
 

Re: booting up taking longer over time
« Reply #15 on: July 20, 2015, 06:56:25 AM »
 

Wirezfree

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1484
    Posts
  • Reputation: 405
  • Linux Lite "Advocate"
    • View Profile

  • CPU: i7-4790S

  • MEMORY: 16Gb

  • VIDEO CARD: Intel HD4600 (Integrated)
O.K, see if that helps TMG1961
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks :)

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
 

Re: booting up taking longer over time
« Reply #14 on: July 20, 2015, 06:51:04 AM »
 

shaggytwodope

  • Forum Regular
  • ***
  • 222
    Posts
  • Reputation: 44
  • Linux Lite Member
    • View Profile
    • Shaggy's Blog

  • CPU: Intel i5 4440

  • MEMORY: 8Gb

  • VIDEO CARD: Intel HD Graphics 4600
Hi shaggytwodope,

I had some notes on this from a while back,
do you also need..??

Code: [Select]
apt-get install pybootchartgui
Dave

Indeed you do, I forgot about that package lol. Bit late for me, and on meds >.<


@TMG1961 you also need that package mentioned. Sorry about that.
The Truth is out there.
Be sure to check the Manual out and always report Bugs or feature requests.
 

Re: booting up taking longer over time
« Reply #13 on: July 20, 2015, 06:44:45 AM »
 

Wirezfree

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1484
    Posts
  • Reputation: 405
  • Linux Lite "Advocate"
    • View Profile

  • CPU: i7-4790S

  • MEMORY: 16Gb

  • VIDEO CARD: Intel HD4600 (Integrated)
Hi shaggytwodope,

I had some notes on this from a while back,
do you also need..??

Code: [Select]
apt-get install pybootchartgui
Dave
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks :)

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
 

Re: booting up taking longer over time
« Reply #12 on: July 20, 2015, 06:25:21 AM »
 

shaggytwodope

  • Forum Regular
  • ***
  • 222
    Posts
  • Reputation: 44
  • Linux Lite Member
    • View Profile
    • Shaggy's Blog

  • CPU: Intel i5 4440

  • MEMORY: 8Gb

  • VIDEO CARD: Intel HD Graphics 4600
Since your mentioning it's black screen before the desktop shows up. Install a tool called bootchart, and reboot your system once or twice.

Code: [Select]
sudo apt-get install bootchart

Then you ofc reboot your machine

The boot chart image will appear in /var/log/bootchart/*.png with the username and host + the date as the file name.

You can safety remove bootchart after sharing the generated .png file with us to review, and see if something there is the cause of the slow down for you.

done that but it doesnt generate the png file. The bootchart folder is empty

After one or two reboots? And did you do it right away or wait a moment. It may have a slight delay in it's generation.
The Truth is out there.
Be sure to check the Manual out and always report Bugs or feature requests.
 

Re: booting up taking longer over time
« Reply #11 on: July 20, 2015, 05:58:02 AM »
 

TMG1961

  • PayPal Supporter
  • Gold Level Poster
  • *****
  • 591
    Posts
  • Reputation: 90
  • Linux Lite Member
    • View Profile

  • CPU: Intel(R) Core(TM) i3-7020U

  • MEMORY: 8Gb

  • VIDEO CARD: Intel(R) HD Graphics 620

  • Kernel: 5.x
Since your mentioning it's black screen before the desktop shows up. Install a tool called bootchart, and reboot your system once or twice.

Code: [Select]
sudo apt-get install bootchart

Then you ofc reboot your machine

The boot chart image will appear in /var/log/bootchart/*.png with the username and host + the date as the file name.

You can safety remove bootchart after sharing the generated .png file with us to review, and see if something there is the cause of the slow down for you.

done that but it doesnt generate the png file. The bootchart folder is empty
Life on earth is expensive but it does include a free trip around the sun.
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section