Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [10.4] GUI logout from the CLI and servermgrd CPU usage



At 3:14 PM -0600 8/12/05, Dan Tappin wrote:
I have a system at home chewing up a lot of cpu usage when it shouldn't be i.e. low load. I think I left it logged in on the GUI which might explain part of it.

Yes.

Top shows 'Safari' so I'm thinking I left that running also.

Probably doing page refreshes.

The 'who' command doesn't show anyone else other than my ssh connection... does who not report actual physical logins?

No. Nor should it. They're not ttys or unix interactive logins.

Is there a way (other than reboot) to log out all users from the GUI?

Kill the loginwindow.

Also I ssh'd into the machine and sorted top by cpu. The big culprit seems to be 'servermgrd' using ~60% of the cpu. This seems high for a background process and no current connections from the server admin. I stopped and started servermgrd and it seems to be under control. Has anyone else this before??

Remember that the whole point of the OS is to make sure that resources like CPU get's used. So just b/c some process is using CPU just means that there was CPU available to be used. This is a Good Thing(tm).


If Server Admin was open to a screen that changed (like a list of connections, a graph, or other dynamic display) then it would use CPU. Even just open it will cycle through each of the servers it has configured and talk to servermgrd. Every request from Server Admin get's handled by the web server that servermgrd really is.
--


-dhan

------------------------------------------------------------------------
Dan Shoop                                                   AIM: iWiring
Systems & Networks Architect                     http://www.iwiring.net/
email@hidden                                 http://www.ustsvs.com/

pgp key fingerprint: FAC0 9434 B5A5 24A8 D0AF  12B1 7840 3BE7 3736 DE0B

iWiring provides systems and networks support for Mac OS X, unix, and
Open Source application technologies at affordable rates.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden
References: 
 >[10.4] GUI logout from the CLI and servermgrd CPU usage (From: Dan Tappin <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.