Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, Thanks for reading. I'm running SUSE10.2 KDE on an Athlon 1700, NVidia 5500(with 128M), and 512M of memory. I'm having issues loading most application programs, so I don't think ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2005
    Posts
    4

    All my applications take forever to load


    Hi,
    Thanks for reading. I'm running SUSE10.2 KDE on an Athlon 1700, NVidia 5500(with 128M), and 512M of memory. I'm having issues loading most application programs, so I don't think this is SUSE specific.

    All my applications are taking minutes to load and I just ran strace out to a file on something simple like konqueror. There are messages in this file I don't understand, and was hoping someone with a deeper understanding of how programs load might be able to comment on. Here's a couple of lines; the entire log is very large....:
    Code:
    execve("/opt/kde3/bin/konqueror", ["konqueror", "--profile", "filemanagement"], [/* 70 vars */]) = 0
    brk(0)                                  = 0x804a000
    access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
    open("/usr/X11R6/lib/tls/i686/libkdeinit_konqueror.so", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/X11R6/lib/tls/libkdeinit_konqueror.so", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/X11R6/lib/i686/libkdeinit_konqueror.so", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/X11R6/lib/libkdeinit_konqueror.so", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/lib/qt3/lib/tls/i686/libkdeinit_konqueror.so", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/lib/qt3/lib/tls/libkdeinit_konqueror.so", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/lib/qt3/lib/i686/libkdeinit_konqueror.so", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/lib/qt3/lib/libkdeinit_konqueror.so", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/etc/ld.so.cache", O_RDONLY)      = 3
    fstat64(3, {st_mode=S_IFREG|0644, st_size=156276, ...}) = 0
    mmap2(NULL, 156276, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f60000
    close(3)                                = 0
    open("/opt/kde3/lib/libkdeinit_konqueror.so", O_RDONLY) = 3
    read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\302\4"..., 512) = 512
    fstat64(3, {st_mode=S_IFREG|0755, st_size=929936, ...}) = 0
    mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f5f000
    mmap2(NULL, 933112, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e7b000
    madvise(0xb7e7b000, 933112, MADV_SEQUENTIAL|0x1) = 0
    mmap2(0xb7f56000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xda) = 0xb7f56000
    close(3)                                = 0
    open("/usr/X11R6/lib/tls/i686/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/X11R6/lib/tls/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/X11R6/lib/i686/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/X11R6/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/lib/qt3/lib/tls/i686/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/lib/qt3/lib/tls/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/lib/qt3/lib/i686/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/lib/qt3/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/lib/libc.so.6", O_RDONLY)        = 3
    read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300Y\1"..., 512) = 512
    fstat64(3, {st_mode=S_IFREG|0755, st_size=1404242, ...}) = 0
    mmap2(NULL, 1176988, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7d5b000
    madvise(0xb7d5b000, 1176988, MADV_SEQUENTIAL|0x1) = 0
    mmap2(0xb7e74000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x118) = 0xb7e74000
    mmap2(0xb7e78000, 9628, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7e78000
    close(3)= 0
    It goes on for days like this. Are there any thoughts on what's going on here? My knee jerk is it's time to re-install my distro, but before I do this, I thought I might ask the question on this forum, and see if anyone might come back with a simple solution(I know there's no such thing
    Thanks for looking in on this post!
    Cheers,
    Peter

  2. #2
    Just Joined!
    Join Date
    Jan 2005
    Posts
    4

    All my applications take forever to load

    Hi,

    I think I've found the answer to all of this. Basically, localhost was unavailable. Once again I don't know the relationship between the applications and localhost, but I did notice complaints in my warning log.

    So, I issued the following from the root terminal
    ifconfig lo 127.0.0.1
    route add 127.0.0.1 //received SIOCADDRT: No such device
    ifconfig lo

    Now everything seems to be loading as it should. Don't know if this might help anyone; your mileage may vary....
    Cheers,
    Peter

  3. #3
    Linux Guru bigtomrodney's Avatar
    Join Date
    Nov 2004
    Location
    Ireland
    Posts
    6,133
    Thanks for posting back ths solution on this. I'm just catching your thread now but this is pretty interesting. I remember there was something about this in Ubuntu because they changed localhost to 127.0.0.2 - apparently a lot of applications check the host name using some localhost trickery.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •