You are not logged in.
I don't know where to start looking to solve this problem...
Every application I open -- Chromium, Lxterminal, Pidgin, Lxpanel etc. -- hangs for a minute before coming back an becoming operational. This will happen on opening a new window, tab, opening options, etc. I've seen this on LXDE + Compiz, Openbox, and KDE. I've attempted to change the ATi graphics card from Catalyst to Radeon open-source, updated Xorg, reinstall Compiz, etc, and still have this problem.
It's rather annoying. Any ideas? Let me know which log files I should open for more details.
Offline
Check your path to make sure there is not a disconnected network directory specified.
Run dmesg and check that there are no IO error messages when starting a program.
Offline
run memtest86+ to check your ram. Also, check the power supply.
Offline
Check your path to make sure there is not a disconnected network directory specified.
Run dmesg and check that there are no IO error messages when starting a program.
Here's my dmesg output: https://gist.github.com/2942544
Doesn't look like there's an IO error...
I'm working on running a memtest86+ next.
Offline
A minute is a very long time! Do other operating systems act this way?
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
A minute is a very long time! Do other operating systems act this way?
A minute is technically an approximation, but yeah, Windows 7 works just fine, without the same problem. The Arch OS wasn't like this earlier, so it's pretty obvious to me this problem occurred due to an update. Which application causes this? I have no idea.
Last edited by japtar10101 (2012-06-17 01:02:34)
Offline
Sounds like file system errors. Run fsck or if you're using btrfs run the defrag tool.
Offline
A couple things to check:
- are your system clock and timezone right?
- is your hostname right, and is /etc/hosts sane?
- is your locale correct ("locale" command) and is that locale built on your system ("locale -a" command)?
- did you change file permissions or ownerships somewhere you shouldn't have, and apps are frustrated trying to access something they can't? (strace, below, should help with this one)
Failing that, I suggest using strace to see what's going on in that minute of delay. Install the strace package, and then just do "sudo strace someapp". It will produce huge amounts of output - the interesting bits will probably be right at the point of the hang, and will almost certainly have either a bunch of repeats (as something is tried over and over) or a pause in the output (as something is being waited on).
You have to run it as root, so I suggest picking a test application that won't get screwed up when running it as not your normal user - something simple like a terminal of some kind, if that triggers the problem.
Offline
I couldn't get the memtest+ working earlier, but the problem seemed relatively simple: it couldn't fine the memtest executable. Seems like I typed in the wrong file location on grub.
Edit: tried using Ubuntu live-CD memtest86+. No problems there, either.
Sounds like file system errors. Run fsck or if you're using btrfs run the defrag tool.
Tried that, but seems like nothing is really wrong. I'm using the Ubuntu live-CD to run it.
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x50cfa6ce
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 206847 102400 7 HPFS/NTFS/exFAT
/dev/sda2 208845 272639114 136215135 7 HPFS/NTFS/exFAT
/dev/sda3 272640000 356526079 41943040 7 HPFS/NTFS/exFAT
/dev/sda4 356526080 625141759 134307840 5 Extended
/dev/sda5 * 356528128 357052415 262144 83 Linux
/dev/sda6 357054464 373831679 8388608 82 Linux swap / Solaris
/dev/sda7 373833728 520284159 73225216 83 Linux
/dev/sda8 520286208 625141759 52427776 83 Linux
ubuntu@ubuntu:~$ sudo fsck /dev/sda5
fsck from util-linux 2.20.1
e2fsck 1.42 (29-Nov-2011)
/dev/sda5: clean, 35/65536 files, 26697/262144 blocks
ubuntu@ubuntu:~$ sudo fsck /dev/sda7
fsck from util-linux 2.20.1
e2fsck 1.42 (29-Nov-2011)
/dev/sda7: clean, 335325/4579328 files, 7340368/18306304 blocks
ubuntu@ubuntu:~$ sudo fsck /dev/sda8
fsck from util-linux 2.20.1
e2fsck 1.42 (29-Nov-2011)
/dev/sda8: clean, 136885/3276800 files, 2902803/13106944 blocksA couple things to check:
- are your system clock and timezone right?
- is your hostname right, and is /etc/hosts sane?
- is your locale correct ("locale" command) and is that locale built on your system ("locale -a" command)?
- did you change file permissions or ownerships somewhere you shouldn't have, and apps are frustrated trying to access something they can't? (strace, below, should help with this one)Failing that, I suggest using strace to see what's going on in that minute of delay. Install the strace package, and then just do "sudo strace someapp". It will produce huge amounts of output - the interesting bits will probably be right at the point of the hang, and will almost certainly have either a bunch of repeats (as something is tried over and over) or a pause in the output (as something is being waited on).
You have to run it as root, so I suggest picking a test application that won't get screwed up when running it as not your normal user - something simple like a terminal of some kind, if that triggers the problem.
I'll try all of these tonight.
Last edited by japtar10101 (2012-06-18 12:49:26)
Offline