Reply
 
Thread Tools Display Modes
  #1  
Old 09-21-2012, 05:54 PM
smj smj is offline
Junior Member
 
Join Date: Sep 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default AppCafe/pc-softwaremanager incredibly slow
I have searched TRAC and looked through this forum, but if this problem is here I didn't recognize the description.

Got 9.1-RC1 installed on a bare drive in a box that had been running 9.1-BETA1 until the last HDD died. Logged in as root, made some changes in rc.conf (hostname, statd/lockd, enable sshd, etc), and fired up AppCafe to install about 18 packages. Got dual display with Xinerama working. Then quit AppCafe and everything else and rebooted for the hostname change to take effect, etc.

Logged back in as root. Now, AppCafe runs incredibly s l o w l y. To the point where I click on something, go away for five minutes, come back and it might not have repainted the screen yet. pc-softwaremanager is shown using a constant 5-10% CPU, no extraordinary disk activity going on. If I move an "Install Software?" pop-up dialog box it may take minutes to repaint the main app screen.

Anybody recognize this as a symptom of a known issue? I install/configure systems as root, then use them with a regular user account, anticipating a "Why did you do this as root?" question...

Thanks - Enjoyed 9.1-BETA1 and looking forward to -RC1 and -STABLE.


NB: Edits in blue.

Last edited by smj; 09-21-2012 at 07:30 PM. Reason: More complete information; clarity
Reply With Quote
  #2  
Old 09-22-2012, 05:17 AM
smj smj is offline
Junior Member
 
Join Date: Sep 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Follow-up: AppCafe seems to work normally for a non-root user in the "operator" group - screen updates are snappy, package installation appears to proceed normally and complete successfully.

But if I logout, login as root, and try to run AppCafe I'm subject to these delays. Very curious.

Edit: Same thing if I use "su -" to become root, then run pc-softwaremanager from the command line. Get a loop of the following several times a minute:

Quote:
Reading PBI List
Updating PBI: "Apache OpenOffice"
...
Updating PBI: "Xplanet"
Updating PBI: "Zsh"
And if I am patient enough to try to download/install a package, the "Install Software?" dialog never does get drawn in.

Last edited by smj; 09-22-2012 at 07:55 AM. Reason: Adding additional information
Reply With Quote
  #3  
Old 10-26-2012, 09:27 AM
jjthomas jjthomas is offline
Junior Member
 
Join Date: Jan 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default
I am having the same problem. My CPU goes up to 102% as soon as I start AppCafe while logged in a root. System Monitor and top highest use is libgtop_serve at 5%. If I switch to a non-root user everything is fine.

Why does running AppCafe as root slow the system down to a crawl, and why does not it not show up on top or system monitor?

-JJ
Reply With Quote
  #4  
Old 10-26-2012, 05:26 PM
kmoore134's Avatar
kmoore134 kmoore134 is offline
Administrator
 
Join Date: May 2005
Location: Knoxville, TN
Posts: 2,428
Thanks: 0
Thanked 103 Times in 85 Posts
Default AppCafe/pc-softwaremanager incredibly slow
Found the issue here, will be fixed for RC3. FWIW, the AppCafe shouldn't
be run as root normally, almost all PBIs are installed with your user
account, and if one happens to need root, it will prompt you at install
time.
__________________
----
Kris Moore
PC-BSD Founder
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:02 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.