Slackware This Forum is for the discussion of Slackware 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
10-15-2003, 06:58 PM
|
#1
|
Member
Registered: Sep 2003
Location: Kentucky
Posts: 480
Rep:
|
computer gone wacky
Well I leave my computer on 24/7. I do it just for the fact that I can because linux is more stable then windows. Well I left this morning and upon arriving home I wanted to check my email. I always log off back to the command line so I logged into dropline gnome everything seemed normal but no internet? So I went shut the computer down and restarted it and it loaded everything up to the point it tried to find my dhcp server or whatever. It showed my mac address and that was it no farther. So I turned it off for about 2 hours and now I am on it and internet is really sloooow and mozilla changed I used to be able to just click on my drop down typed url menu and now nothing happens you have to click it and hit enter? Does anyone know what might of happened? I noticed for the last few days it was kinda screwed up like logout on gnome would not work so I would leave gnome on and the next morning the popup to logout would be up. Do I just need to shut it down every night? I kinda like the bragging rights to my window using friends saying been up a month and no reboot. Don't know any suggestions?
|
|
|
10-15-2003, 07:10 PM
|
#2
|
Member
Registered: Apr 2002
Location: Malaysia
Distribution: Slackware 15 & Ubuntu
Posts: 94
Rep:
|
try running
$top
to see whats the process that took your cpu resources .... and try to see the log files , it could give u a hint of what happen ...
btw what services u usually run ??? httpd ?? mysql ?? sshd ?? .... if you're not using any of this, I suggest u turn it of
or maybe its your drive (bad sectors ??) .....
|
|
|
10-15-2003, 08:46 PM
|
#3
|
Member
Registered: Dec 2002
Location: Winnipeg, Manitoba, Canada
Distribution: Slackware
Posts: 371
Rep:
|
turning off programs
Whats the easyiest way to turn off these programs such as mysql,sshd,ftp...etc
im wonder this because if want someone to get something from me via ftp i dont want them to live in my system if u know what i mean
Thanx
Matt3333
|
|
|
10-15-2003, 08:55 PM
|
#4
|
Member
Registered: Sep 2003
Location: Kentucky
Posts: 480
Original Poster
Rep:
|
Here is my top results:
Tasks: 61 total, 2 running, 59 sleeping, 0 stopped, 0 zombie
Cpu(s): 42.6% user, 4.3% system, 0.0% nice, 53.1% idle
Mem: 126440k total, 106824k used, 19616k free, 5716k buffers
Swap: 124956k total, 47584k used, 77372k free, 32824k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
522 root 16 0 30260 16m 4188 S 21.5 13.0 14:05.35 X
740 gotchya2 18 0 10820 10m 8112 S 20.2 8.6 0:01.89 gnome-terminal
571 gotchya2 9 0 7388 6744 6080 S 2.5 5.3 0:12.99 metacity
753 gotchya2 13 0 988 988 800 R 1.5 0.8 0:00.19 top
534 gotchya2 9 0 3872 3452 3180 R 1.2 2.7 0:04.39 at-spi-registry
1 root 8 0 76 64 48 S 0.0 0.1 0:17.88 init
2 root 9 0 0 0 0 S 0.0 0.0 0:00.08 keventd
3 root 19 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd_CPU0
4 root 9 0 0 0 0 S 0.0 0.0 0:00.50 kswapd
5 root 9 0 0 0 0 S 0.0 0.0 0:00.00 bdflush
6 root 9 0 0 0 0 S 0.0 0.0 0:00.22 kupdated
10 root -1 -20 0 0 0 S 0.0 0.0 0:00.00 mdrecoveryd
11 root 9 0 0 0 0 S 0.0 0.0 0:00.00 kreiserfsd
57 root 9 0 0 0 0 S 0.0 0.0 0:00.00 eth0
59 root 9 0 536 524 492 S 0.0 0.4 0:00.00 dhcpcd
113 root 9 0 0 0 0 S 0.0 0.0 0:00.00 khubd
462 rpc 9 0 576 544 488 S 0.0 0.4 0:00.01 rpc.portmap
468 root 9 0 608 584 524 S 0.0 0.5 0:00.04 syslogd
471 root 9 0 440 380 380 S 0.0 0.3 0:00.04 klogd
473 root 9 0 652 564 564 S 0.0 0.4 0:00.01 inetd
476 root 9 0 964 752 752 S 0.0 0.6 0:00.11 sshd
483 lp 9 0 1024 832 808 S 0.0 0.7 0:00.00 lpd
486 root 8 0 592 576 524 S 0.0 0.5 0:00.00 crond
490 root 9 0 440 404 384 S 0.0 0.3 0:00.01 gpm
492 gotchya2 9 0 1220 960 960 S 0.0 0.8 0:00.25 bash
493 root 9 0 476 416 416 S 0.0 0.3 0:00.01 agetty
494 root 9 0 476 416 416 S 0.0 0.3 0:00.00 agetty
495 root 9 0 476 416 416 S 0.0 0.3 0:00.00 agetty
496 root 9 0 476 416 416 S 0.0 0.3 0:00.01 agetty
497 root 9 0 476 416 416 S 0.0 0.3 0:00.00 agetty
Are they bad?
|
|
|
10-15-2003, 08:59 PM
|
#5
|
Senior Member
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577
Rep:
|
you'd need to edit the config scripts in /etc and /etc/rc.d
comment out everything you don't want to start in the /etc/inetd also.....like finger, file print/sharing, .........look thru it ........
Last edited by 320mb; 10-15-2003 at 09:01 PM.
|
|
|
10-15-2003, 09:07 PM
|
#6
|
LQ Addict
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661
Rep:
|
what are your hardware specs, especially your cpu? The load seems very high. I hardly ever see X on top of the list of cpu load and if I do, it's a momentary thing. And gnome-terminal shouldn't be that high either, I think - unless you chose the wrong moment (they might disappear from the list after a while).
|
|
|
10-15-2003, 09:08 PM
|
#7
|
Member
Registered: Sep 2003
Location: Kentucky
Posts: 480
Original Poster
Rep:
|
What do you mean by comment out? Ok so I am a newbi...lol
|
|
|
10-15-2003, 09:09 PM
|
#8
|
Member
Registered: Sep 2003
Location: Kentucky
Posts: 480
Original Poster
Rep:
|
I have a 450 mhz celeron, 128 megs ram, 4 mb video, running dropline gnome
|
|
|
10-15-2003, 10:17 PM
|
#9
|
Member
Registered: Apr 2002
Location: Malaysia
Distribution: Slackware 15 & Ubuntu
Posts: 94
Rep:
|
anti_m$: maybe you should have a look at http://www.c2i2.com/~dentonj/system-hardening ... just to get you some clues...
btw , if you wanna stay idle (24/7) , I suggest u not to use X all the time, ...
turning of services such as sshd can be done by root in the
#/etc/rc.d/rc.sshd stop
or you can edit the /etc/rc.d/rc.M files and comment out those unwanted stuff to start at boot time
|
|
|
10-15-2003, 10:35 PM
|
#10
|
LQ Addict
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661
Rep:
|
commenting out means to put a # in front of a line.
Dunno about your cpu load. My laptop has a 1.1Ghz celeron, 384MB ram and 16 for video, and the cpu load when I am not doing is much is less than 10% (usually between 3 and 8). I would think that if you have constantly a load of around 50% like in the above output of top (leave it on for a while to see if it goes down) is a bit high even with your specs. Maybe something broke in your gnome.
|
|
|
10-16-2003, 01:22 AM
|
#11
|
Member
Registered: Sep 2003
Location: Kentucky
Posts: 480
Original Poster
Rep:
|
Ok I went and turned off some services and that brought boot time way down. It boots in about 30 seconds compared to the 2-3 minutes it took before. now cpu usage runs about 12.8% and system runs about 2.0%. Seems it made it a little better. As far as running the system without X I would like to but with links I cannot get into my web based email so maybe to browse would be fine but for checking my email it will not work. I really like the freedoms of linux and so far it seems my system just don't like it, with mandrake it would crash after a couple days and now it seems it even is getting a little cranky on me. I know I hear alot of good things about dropline gnome but it seems that some of the things it comes with may be for a faster computer then I have could this be my problem? I thank everyone for the help. And about the security thing I have done many port tests and I have a firewall but the way the system has been running I have left it off for fear of overloading it. Thanks again.
|
|
|
All times are GMT -5. The time now is 01:34 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|