You are not logged in.
Pages: 1
Hey guys,
I'm not a total newbie, but this one is too hard for me. I was having serious trouble with my system, because I hopelessly overloaded it (it just didn't respond anymore, I'm pretty sure it ran out of memory). So I shut down the system forcefully (I know I know, it just took too long to do anything, I was waiting 2 minutes staring at the screen not moving, even in tty2). When I try to reboot it gets up until the point where it says
Arch: xxx/xxx, xxxx/xxxx blocks
_
and stays there for at least 4 minutes (that's how long I waited). Normally it doesn't show for more than 20 seconds.
Any help or advice is greatly appreciated,
Yorrd
Last edited by yorrd (2013-07-21 22:03:54)
Offline
Welcome to the forums. Please use [code ] [/code ] tags for pasting code (without the spaces) and please post enough code to be useful.
Do you actually get a line like that? Because the closest I get is something like:
Gor 17 23:16:35 MyComputer systemd-fsck[712]: boot-ext4: clean, 399/65536 files, 130870/262144 blocksSo I don't know whether you are seeing a different message from fsck or something else altogether. And what is Arch? Is that your root file system?
How do you boot? Have you booted into the live environment and examined the logs? What file system is on Arch?
Please see the link in my signature on asking good questions as it will help you to post the information people need to help you effectively. (Remember that all anybody here has to go on is what you tell us - we cannot see what you see ourselves.)
EDIT: By the way, I doubt your system should be doing that even if you did overload it. But maybe it depends on exactly how you overloaded it...
Last edited by cfr (2013-07-21 23:01:25)
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Hey cfr, thanks for your response. I'll try to answer all the questions and use code tags from now on.
What I'm getting is:
Arch: some/someMore files, many/manyMore blocksThe only thing on this machine is a 100% pure Arch install (I love it
)
I would boot into a live CD or something, could you link me to a place where i can look up which logs there are and where to find them?
File system is ext4.
I'll try to give you some more information, it's just extremely hard to figure out what to tell you and where to get the information from, because what I said was actually everything I saw ![]()
In my specific case I had Skype 4.2 open on an LXDE environment. Also, Chrome was running which I have noticed to hit hard on my performance in certain circumstances. I'm not sure why and when though yet.
I started up Minecraft (Java) and instantly switched to tty2 when I noticed my screen stuttering a lot and loading windows / elements slower. The memory was completely used up, however analyzing which process was the problem was impossible, because top just didn't refresh either after a few seconds.
I'm getting this pretty much only when I have Chrome opened, however I think it's not specifically Chrome's fault, I just have it running almost all the time. Currently I'm investigating if my Chrome could possibly have issues that it shouldn't be having since it used to run better on any other Linux distro I have set up on this machine (which is the only case, other software usually runs faster in my experience).
Thanks for your patience, I'm looking forward to diving into this.
PS.: I rebooted several times now out of desperation and - magically - it boots now. As a matter of fact, I'm writing this in Chrome on Arch. Still interested in what is causing this though.
Offline
Unless you have configured it to use syslog and assuming you are using systemd, journalctl should give you access to copious amounts of information. journalctl -h will give you a brief description of the options you can use to filter the output. /var/log may contain useful logs if you have stuff which doesn't use the journal or if you've configured systemd to use syslog.
You should consider enabling the "magic" SysRq key so that you can reboot cleanly - at least, there's a good chance you can. There is some security risk associated with this so it is not enabled by default (but I'm not sure what the risk is - just the info says that's why it is not default).
How much memory do you have? Do you have swap?
If chrome is responsible, the OS should still not allow it to do this i.e. it should prevent any application from bringing the system to a grinding halt in that way.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
I will definitely check out journalctl tomorrow (getting late)
"magic" SysRq key means that I press the power button and the system shuts down properly?
Memory: 4GB, Swap: none at the moment, I just read an article on the archwiki that it's only really needed below 1GB.
Maybe the logs will show some more info about what it's doing. Btw, is there a "kill me" mechanism used in Arch when a process just uses too many resources over a period of time, it'll be killed / neglected?
Offline
https://en.wikipedia.org/wiki/Magic_SysRq_key
https://wiki.archlinux.org/index.php/Sysctl
I'm not sure whether Arch/Linux does that or not. OS X did it so I'm pretty sure FreeBSD does it. However, I've read that the kernel in Linux will basically start killing processes if it is running out of memory to stop the entire system going down so I'm assuming that it should do that, yes.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Pages: 1