LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 03-16-2008, 07:58 PM   #1
spitz0r
LQ Newbie
 
Registered: Dec 2005
Location: Chemnitz, Germany
Distribution: Gentoo
Posts: 5

Rep: Reputation: 0
even small applications need lots of time for loading


Hi there.

I am currently concerned about a strange behavior of my Gentoo system.
Just a few specs: Dual PIII-1.4GHz, 4GB RAM, Kernel 2.6.24

Following problem i noticed: after a long uptime (>31days) my system is dramatically slow when loading any application. With "slow" I mean 4minutes(!!!) from typing xterm until a new xterm window pops up. Once the application is started, everythings runs at normal speed and there's nothing to concern about anymore. Anyway, the delay before a program starts is increasing from day to day. The machine is a 24/7 server and I can't afford to reboot it every once a while.

I used strace to figure out what makes my machine hanging for such a long time before something new is happening.

You can analyze the log here: http://nopaste.ch/48902c55f1bc6dd.html

The execution stops at line 269 and is waiting 4minutes until running on.

Anyone an idea?
Thanks in advance
Michael

Last edited by spitz0r; 03-16-2008 at 08:02 PM.
 
Old 03-17-2008, 03:19 AM   #2
justinmc
LQ Newbie
 
Registered: Jun 2004
Posts: 16

Rep: Reputation: 0
You've probably already checked this, but what does
Code:
you@yourhost$ top
tell you?

Last edited by justinmc; 03-17-2008 at 03:20 AM.
 
Old 03-17-2008, 05:52 AM   #3
spitz0r
LQ Newbie
 
Registered: Dec 2005
Location: Chemnitz, Germany
Distribution: Gentoo
Posts: 5

Original Poster
Rep: Reputation: 0
Of course I did.
top says: everything fine. Approx. 99% idle for each CPU, no system oder wait load while starting any app.

Interesting thing: when starting applications out of a ssh-connection everything runs absolutely normal: *snip* application up and running.

Seems to me the problem described just occurs when starting an application out of a X-Window.

Edit: Aaaah I think I got something very interesting: Startet an app out of X and following error message comes up:
Code:
Warning: Tried to connect to session manager, Could not open network socket
Well, that explains at least why execution stops at line 269 (see code link above).

Any suggestions?
 
Old 03-17-2008, 04:34 PM   #4
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 231Reputation: 231Reputation: 231
Thank you so much for posting the log elsewhere -- it makes it so much easier to follow your post.
 
  


Reply

Tags
load, long, time


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
time consuming loading of Openoffice and endless loading of printing capabilities artjaslo Linux - General 6 08-03-2005 02:30 PM
SATA, IDE, and lots of wasted time rocketnick Linux - Hardware 3 06-04-2005 10:25 PM
Loading applications BrianD18 Linux - Newbie 15 02-21-2005 08:19 AM
lots of insmod: errors when loading slackware Belize Slackware 2 12-02-2003 04:34 PM
Best File Sys? Lots of Small Files?? KendersPlace Linux - General 1 02-17-2003 03:29 AM


All times are GMT -5. The time now is 02:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration