MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
My computer has started to increase the number of local logins, making the system slow. typically I have 5+ copies of myself logged in at any given time (I think it is 2 + number of console sessions). like this:
Code:
$ users
gjerp gjerp gjerp gjerp gjerp gjerp
this was not the case until recently, before I only got one login per tty.
Code:
$ w
21:50:12 up 1:43, 6 users, load average: 0,53, 0,64, 0,60
USER TTY LOGIN@ IDLE JCPU PCPU WHAT
gjerp pts/0 20:11 1:39m 0.00s 0.32s kdeinit: kwrited
gjerp pts/1 20:22 19:59 0.20s 0.07s /bin/bash
gjerp pts/2 21:33 6:03 1.44s 1.38s top
gjerp pts/3 21:48 0.00s 0.04s 0.00s w
gjerp pts/6 20:19 16:17 0.15s 0.11s ssh
the top part, with six logins is new, and annoying. before, whenever I typet "users", I got one of each logged in user, no matter how many consoles I had open. this problem appears to significantly slow down my system.
First off, users is supposed to display one entry PER terminal that is logged in. Showing 6 users is the _correct_ result. Second, what are the specs on your system that is being slowed by this? What all are you running?
the tricky part is that top shows minimal cpu and memory usage, the system just responds slowly. It does not care whether half the consoles are root, still only my regular user is registered by "users"
What does 'dmesg ', 'cat /var/log/messages' and 'free' show? Anything unusual?
Do you run different terminals as root and gjerp? On my system (10.1OE) aterm does not register addidional
users whereas xterm does. That depends on whether they write to /var/run/utmp or not.
as you can see, I have about 3 M of memory left after 5 min runtime. valknut seems to be related to the problem, but it is not the only one, since I could use it all the time before.
the main problem seems to be some memory hog I cannot seein 'top'
Yes and no.
You have 483912k total and 3248k free but out of that 483912k, 322232k is cache.
Unix allocates the memory not used for programs as filesystem cache to speed up file access.
When more memory is needed for programs the cache size is reduced automagically.
Your load seems a bit high though "load average: 1.45, 0.98, 0.45"
My dual 400MHz which acts as webserver/squidproxy/spamfilter has a load of "0.67, 0.70, 0.85"
Does 'ps -ax' show any zombie (Z) or dead (D) processes?
I think there is something wrong with my second HDD, during reboot after a "slowdown" (happens suddenly, free memory jumps from 270M down to 3-4M), I get massive amounts of error messages, all stating the same over and over:
Code:
Feb 24 10:07:00 localhost kernel: hdb: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
Feb 24 10:07:00 localhost kernel: hdb: read_intr: error=0x40 { UncorrectableError }, LBAsect=40902155, sector=40902155
Feb 24 10:07:00 localhost kernel: end_request: I/O error, dev hdb, sector 40902155
Feb 24 10:07:00 localhost kernel: Buffer I/O error on device hdb1, logical block 40902092
is there any way I can tell the system that "this block is broken, stay away"?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.