Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
slowdown - but only for one user
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
radagast
Apprentice
Apprentice


Joined: 20 Mar 2004
Posts: 217
Location: sydney, .au

PostPosted: Wed Dec 14, 2005 6:05 am    Post subject: slowdown - but only for one user Reply with quote

hello helpful people.
i have a strange problem (don't we all)
something has happened to my main user account.
a few days ago, suddenly (i had an xfce session open for a couple of days) firefox slowed down. when i opened a new tab it took minutes. i have been troubleshooting ever since, and i know the symptoms but not the cure:

many (but not all) new X windows and tabs take a long time to open.
scrolling, resizing, and animations inside windows are OK - glxgears is fine.
console apps are fine (i can crunch video at 40fps while i wait for firefox to open a new tab)
it's the same in gnome and xfce, i've restarted the computer twice, and checked all my partitions.

but within my Xwindows session, another user is fine.

example:
after starting and killing firefox a couple of times to make sure it's not disk/cache trouble, i type time firefox-bin into an xterm window, and close the firefox window as soon as it appears (i have the homepage set to blank, so it's not an ip/dhcp issue)
Code:

radagast /:time firefox-bin
real    0m42.095s
user    0m40.846s
sys     0m0.177s

as another user (su tempuser), in the same xterm:
Code:

tempuser /$time firefox-bin
real    0m3.466s
user    0m0.859s
sys     0m0.078s

and another app, chosen almost at random:
Code:

radagast /:time ghex2
real    0m37.326s
user    0m35.287s
sys     0m0.134s

Code:

tempuser /$time ghex2
real    0m0.740s
user    0m0.268s
sys     0m0.011s


the console doesn't give me any clues. obviously i could leave all my years of customisation and rename myself tempuser (hey is there anyone called that on the forums?), but there must ... be ... something ...

if you don't know the answer, do you know a way of tracking what files an application is referencing as it touches them, so i can look for the bottleneck?

thanks.
andrew

ps i don't have any reiserfs partitions, and there doesn't seem to be anything wrong with my glxgears
Back to top
View user's profile Send private message
RuiP
l33t
l33t


Joined: 15 Jan 2005
Posts: 643

PostPosted: Wed Dec 14, 2005 4:39 pm    Post subject: Reply with quote

hi, since this is a one user problem must be something on config files.
If top didn't show any special activity on a specific app, then must be something that are trying to read some config file and found some error that goes unhandled. You say you are using xfce. Try to move .config/ to .config_old/ and start a session. Or, since it starts with firefox, do the same with .mozilla dir and check for results.
Back to top
View user's profile Send private message
radagast
Apprentice
Apprentice


Joined: 20 Mar 2004
Posts: 217
Location: sydney, .au

PostPosted: Wed Dec 14, 2005 10:55 pm    Post subject: Reply with quote

good suggestion...

but it happens in xfce AND gnome,
and it happens with firefox AND ghex2

so i'm trying to work out where to start with the configs.
maybe i'll do it the other way round - copy my config files to tempuser until it goes wrong.

this morning's job...

andrew
Back to top
View user's profile Send private message
radagast
Apprentice
Apprentice


Joined: 20 Mar 2004
Posts: 217
Location: sydney, .au

PostPosted: Thu Dec 15, 2005 12:25 am    Post subject: Reply with quote

alright!
the problem was

.fonts.conf

i've renamed it, and everything starts ok again.
all my fonts even look ok, so who knows what that file was doing??

thanks RuiP
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum