Click Here
home features news forums classifieds faqs links search
6155 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
22 crawler(s) on-line.
 95 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!

/  Forum Index
   /  Amiga OS4.x \ Workbench 4.x
      /  [99% SOLVED] My SAM uses 100% CPU during start-up
Register To Post

Goto page ( 1 | 2 Next Page )
PosterThread
Phantom 
[99% SOLVED] My SAM uses 100% CPU during start-up
Posted on 22-Aug-2010 13:04:31
#1 ]
Elite Member
Joined: 2-Aug-2007
Posts: 2047
From: Unknown

Just happened yesterday night. When I switch on my SAM and loads AmigaOS 4.1, while Workbench is loaded SAM already uses 100% CPU!!!

And the other thing I noticed is that my memory is getting shrinking and shrinking all the time.

Probably something conflicts in WBStartUp Prefs? Any ideas?

Thanks.

Last edited by Phantom on 24-Aug-2010 at 02:37 PM.
Last edited by Phantom on 22-Aug-2010 at 08:07 PM.

_________________

 Status: Offline
Profile     Report this post  
Arko 
Re: My SAM uses 100% CPU during start-up
Posted on 22-Aug-2010 13:17:26
#2 ]
Super Member
Joined: 17-Jan-2007
Posts: 1989
From: Unknown

@Phantom

Quote:

When I switch on my SAM and loads AmigaOS 4.1, while Workbench is loaded SAM already uses 100% CPU!!!.

If a computer does some heavy work I would like to see it using all its resources. If a program uses 100% CPU power it mighgt just means there is nothing like network, or disk I/O making the CPU wait.

_________________
AmigaONE. Haha. Just because you can put label on it does not make it Amiga.

I borrowed this comments from here (#27 & #28):
http://amigaworld.net/modules/newbb/viewtopic.php?topic_id=38873&forum=2&start=20&order=0

 Status: Offline
Profile     Report this post  
Phantom 
Re: My SAM uses 100% CPU during start-up
Posted on 22-Aug-2010 13:28:36
#3 ]
Elite Member
Joined: 2-Aug-2007
Posts: 2047
From: Unknown

@Arko

I checked now, as I left it switched on to check, and now the CPU and memory came back to normal state!

How I can check what causes this crawling to my system? Internet works normally so it's not.

I don't have a clue about my DVD-RW drive, as it's the same 1 year now (no problems so far).

Last edited by Phantom on 22-Aug-2010 at 01:29 PM.

_________________

 Status: Offline
Profile     Report this post  
Arko 
Re: My SAM uses 100% CPU during start-up
Posted on 22-Aug-2010 13:56:35
#4 ]
Super Member
Joined: 17-Jan-2007
Posts: 1989
From: Unknown

@Phantom

Quote:


I checked now, as I left it switched on to check, and now the CPU and memory came back to normal state!


exactly what it should do after the heavy work is over

Quote:

How I can check what causes this crawling to my system?


I just wanted to explain: 100% CPU load and "crawling" are not the same.

How do you define "craqling" ?

Did you start you CPU monitoring tool manually or have you included it somewhere in the startup?

Maybe some automaically started tools inyour system a causing a lot of CPU load.

Last edited by Arko on 22-Aug-2010 at 02:01 PM.

_________________
AmigaONE. Haha. Just because you can put label on it does not make it Amiga.

I borrowed this comments from here (#27 & #28):
http://amigaworld.net/modules/newbb/viewtopic.php?topic_id=38873&forum=2&start=20&order=0

 Status: Offline
Profile     Report this post  
Phantom 
Re: My SAM uses 100% CPU during start-up
Posted on 22-Aug-2010 13:59:10
#5 ]
Elite Member
Joined: 2-Aug-2007
Posts: 2047
From: Unknown

@Arko

I always had it in the dock (it's CPU docky) for a long time; no problems so far.

_________________

 Status: Offline
Profile     Report this post  
Tomppeli 
Re: My SAM uses 100% CPU during start-up
Posted on 22-Aug-2010 14:55:44
#6 ]
Super Member
Joined: 18-Jun-2004
Posts: 1657
From: Home land of Santa, sauna, sisu and salmiakki

@Phantom

* Do you have "run >nil:" in front of AddNetInterface in Startup-sequence or use static IP address instead of DHCP (in case you use broadband Internet) ?

* Check if you have any abnormally big file in ENVARC: (= sys:Prefs/Env-archive) (and ENVARC:sys) (several megabytes instead of few kilobytes) ?

Last edited by Tomppeli on 22-Aug-2010 at 02:57 PM.
Last edited by Tomppeli on 22-Aug-2010 at 02:57 PM.
Last edited by Tomppeli on 22-Aug-2010 at 02:56 PM.

_________________
Rock lobster bit me. My Workbench has always preferences. X1000 + AmigaOS4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." -Seymour Cray

 Status: Offline
Profile     Report this post  
Deniil715 
Re: My SAM uses 100% CPU during start-up
Posted on 22-Aug-2010 15:08:24
#7 ]
Elite Member
Joined: 14-May-2003
Posts: 4248
From: Sweden

@Phantom

For how long is the CPU at 100% usage?

Does it drop just a second or two after all WBStartup items have loaded or does it take many seconds or up to a minute before it drops to normal?

It if takes a long time, prehaps you have time to start Scout, click Tasks, click the "tc_State" column, click Update and see what task shows as "ready" for a long time.

Note that it is normal for the CPU to be at 100% while booting and loading all WBStartup programs. There is no need for the CPU to do things slower than maximum speed unless it has to wait for some I/O of course

_________________
- Don't get fooled by my avatar, I'm not like that (anymore, mostly... maybe only sometimes)
> Amiga Classic and OS4 developer for OnyxSoft.

 Status: Offline
Profile     Report this post  
Phantom 
Re: My SAM uses 100% CPU during start-up
Posted on 22-Aug-2010 15:15:45
#8 ]
Elite Member
Joined: 2-Aug-2007
Posts: 2047
From: Unknown

Quote:

Deniil715 wrote:
@Phantom

For how long is the CPU at 100% usage?


I never checked it, but approximately 5-10 minutes for sure.

Quote:
Does it drop just a second or two after all WBStartup items have loaded or does it take many seconds or up to a minute before it drops to normal?


It's normally at 100%, but sometimes can go to 80% or 90%, but for just a second!

Quote:
It if takes a long time, prehaps you have time to start Scout, click Tasks, click the "tc_State" column, click Update and see what task shows as "ready" for a long time.


I will try that, but I'm suspicious about the DVD-RW drive, because 2 days now it's not behaving very well. When I inserted a CD-ROM inside, I got a very big lag in my system.

Quote:
Note that it is normal for the CPU to be at 100% while booting and loading all WBStartup programs. There is no need for the CPU to do things slower than maximum speed unless it has to wait for some I/O of course


I never had any problems. When Workbench was loaded I was ready with 1% CPU all time.

Thanks.

_________________

 Status: Offline
Profile     Report this post  
ChrisH 
Re: My SAM uses 100% CPU during start-up
Posted on 22-Aug-2010 15:19:44
#9 ]
Elite Member
Joined: 30-Jan-2005
Posts: 6679
From: Unknown

@Deniil715 Quote:
Note that it is normal for the CPU to be at 100% while booting and loading all WBStartup programs. There is no need for the CPU to do things slower than maximum speed unless it has to wait for some I/O

Yeah. Some years ago I had someone complain about FolderSync1 using 100% CPU, but in fact this is perfectly normal for anything which does heavy processing & isn't often slowed down by I/O (disk or network access).

That said, amazingly AmigaOS can often remain fairly responsive DESPITE a *buggy* program hogging most of the CPU time. So you may not always realise something is wrong unless you look at the CPU meter.

The key thing is (as you said) it shouldn't be using 100% CPU unless you know it should be doing something, such as booting & loading all the WBStartup programs. But once disk activity (HD light) has ceased after booting, the CPU usage should drop too. If it doesn't then something is buggy, then you need to try disabling all the WBStartup items (and perhaps the S:User-Startup sequence).

Ideally you could just use Scout to find the CPU hog, but for some reason this doesn't work even in the OS4 version, which is really annoying . One would have thought there would at least be a simple "Top" utility, but I haven't found one.

Last edited by ChrisH on 22-Aug-2010 at 03:21 PM.

_________________

 Status: Offline
Profile     Report this post  
Tomppeli 
Re: My SAM uses 100% CPU during start-up
Posted on 22-Aug-2010 15:26:49
#10 ]
Super Member
Joined: 18-Jun-2004
Posts: 1657
From: Home land of Santa, sauna, sisu and salmiakki

@Phantom

Could you check all files in ENVARC: ? Of course it could be your DVD drive causing trouble as well.

_________________
Rock lobster bit me. My Workbench has always preferences. X1000 + AmigaOS4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." -Seymour Cray

 Status: Offline
Profile     Report this post  
Phantom 
Re: My SAM uses 100% CPU during start-up
Posted on 22-Aug-2010 15:45:15
#11 ]
Elite Member
Joined: 2-Aug-2007
Posts: 2047
From: Unknown

@Tomppeli

I will try that too at night. Thanks everybody.

_________________

 Status: Offline
Profile     Report this post  
Phantom 
Re: My SAM uses 100% CPU during start-up
Posted on 22-Aug-2010 18:34:01
#12 ]
Elite Member
Joined: 2-Aug-2007
Posts: 2047
From: Unknown

@Tomppeli

You were right my friend. I found a file in ENVARC: and it was approximately 7MB! I thought that was not normal, the file was ringhio.appsprefs.xml. I deleted it and now everything is normal again.

But what happened with that? Any clues how this file went about 7MB?

Last edited by Phantom on 22-Aug-2010 at 06:34 PM.

_________________

 Status: Offline
Profile     Report this post  
sundown 
Re: My SAM uses 100% CPU during start-up
Posted on 22-Aug-2010 20:33:24
#13 ]
Elite Member
Joined: 30-Aug-2003
Posts: 5120
From: Right here...

@Phantom

That file size on my micro is only 4.3K. It contains a list of all the apps that ringhoi answers too. There was a problem with the ringhoi server eating memory if off screen dragging in the GUI prefs was turned off, but thats been fixed in later updates (os4.1). You have a sam, so the server still might have bugs on that system. You can delete the file & start the Notification prefs & do a save to start fresh. Just keep your eye on that file size to see if it grows again.

The other file, ringhio.miscprefs.xml, is about 700 bits here. Play it safe & save the old files somewhere just in case.

_________________
Hate tends to make you look stupid...

 Status: Offline
Profile     Report this post  
ChrisH 
Re: My SAM uses 100% CPU during start-up
Posted on 22-Aug-2010 20:43:31
#14 ]
Elite Member
Joined: 30-Jan-2005
Posts: 6679
From: Unknown

@Phantom Quote:
I thought that was not normal, the file was ringhio.appsprefs.xml. I deleted it and now everything is normal again.

Perhaps you could undelete this file (if using SFS or JXFS) and send it to Rigo or someone else on the OS4 team? Then they can fix the bug (if it isn't already).

_________________

 Status: Offline
Profile     Report this post  
Tomppeli 
Re: My SAM uses 100% CPU during start-up
Posted on 22-Aug-2010 21:31:12
#15 ]
Super Member
Joined: 18-Jun-2004
Posts: 1657
From: Home land of Santa, sauna, sisu and salmiakki

@Phantom

I had this same problem some time ago. Don't know what caused it.

_________________
Rock lobster bit me. My Workbench has always preferences. X1000 + AmigaOS4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." -Seymour Cray

 Status: Offline
Profile     Report this post  
Phantom 
Re: My SAM uses 100% CPU during start-up
Posted on 22-Aug-2010 21:36:18
#16 ]
Elite Member
Joined: 2-Aug-2007
Posts: 2047
From: Unknown

The ringhio.miscprefs.xml file is exactly 665 bytes, dated 15-Nov-2009.

The other one, ringhio.appsprefs.xml, is now 1119 bytes, dated already a couple of hours ago (23:13.55).

I'm surely it grew up in size, as when I deleted the big file, the system already created a new one in ENVARC: and it was not more than 500 bytes long!!

_________________

 Status: Offline
Profile     Report this post  
Mechanic 
Re: My SAM uses 100% CPU during start-up
Posted on 22-Aug-2010 22:40:17
#17 ]
Elite Member
Joined: 27-Jul-2003
Posts: 2007
From: Unknown

@Phantom

Just ringhioin in.

My ringhio.appsprefs.xml, is now 2004 bytes, dated 7 Jun 2010.
The ringhio.miscprefs.xml file is exactly 665 bytes, dated 30 Mar 2010.

I wonder if a newly loaded program adds to the file size, but deleting
a program does not change it.

Or something like that.

 Status: Offline
Profile     Report this post  
tonyw 
Re: My SAM uses 100% CPU during start-up
Posted on 22-Aug-2010 23:47:08
#18 ]
Elite Member
Joined: 8-Mar-2003
Posts: 3240
From: Sydney (of course)

@ChrisH

Quote:

One would have thought there would at least be a simple "Top" utility, but I haven't found one.


I have one and I use it often. Mine came directly from Jörg, but he might have it on his website. In any case I'm sure he'd be happy to release it.

_________________
cheers
tony

Hyperion Support Forum: http://forum.hyperion-entertainment.biz/index.php

 Status: Offline
Profile     Report this post  
Daniel 
Re: My SAM uses 100% CPU during start-up
Posted on 23-Aug-2010 8:25:57
#19 ]
Regular Member
Joined: 6-Mar-2010
Posts: 239
From: Unknown

@Mechanic

Quote:
I wonder if a newly loaded program adds to the file size, but deleting
a program does not change it.


No the .xml definately changes here having just viewed mine. I had a tidy up the other day when I noticed lots of programs in Ringhio prefs that I don't use/are not installed anymore, i.e. things I've donwloaded, tried out and then deleted.

Similar happens with APPDIR: the path files accumulate as you use new programs and stay when a program's deleted. I think some sort of automatic scan and clean-up feature is needed to prevent problems like this freak 7MB Ringhio prefs file, could make a nice addition to AmiUpdate?

Last edited by Daniel on 23-Aug-2010 at 08:27 AM.

 Status: Offline
Profile     Report this post  
tonyw 
Re: My SAM uses 100% CPU during start-up
Posted on 23-Aug-2010 8:41:00
#20 ]
Elite Member
Joined: 8-Mar-2003
Posts: 3240
From: Sydney (of course)

@Daniel

Quote:

Similar happens with APPDIR: the path files accumulate as you use new programs and stay when a program's deleted.


Unused entries are deleted after a period of inactivity. I think it's a few months, though.

_________________
cheers
tony

Hyperion Support Forum: http://forum.hyperion-entertainment.biz/index.php

 Status: Offline
Profile     Report this post  
Goto page ( 1 | 2 Next Page )

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle