LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-15-2003, 06:58 PM   #1
corbintechboy
Member
 
Registered: Sep 2003
Location: Kentucky
Posts: 480
Blog Entries: 1

Rep: Reputation: 51
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?
 
Old 10-15-2003, 07:10 PM   #2
ed_thix
Member
 
Registered: Apr 2002
Location: Malaysia
Distribution: Slackware 15 & Ubuntu
Posts: 94

Rep: Reputation: 31
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 ??) .....
 
Old 10-15-2003, 08:46 PM   #3
matt3333
Member
 
Registered: Dec 2002
Location: Winnipeg, Manitoba, Canada
Distribution: Slackware
Posts: 371

Rep: Reputation: 30
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
 
Old 10-15-2003, 08:55 PM   #4
corbintechboy
Member
 
Registered: Sep 2003
Location: Kentucky
Posts: 480

Original Poster
Blog Entries: 1

Rep: Reputation: 51
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?
 
Old 10-15-2003, 08:59 PM   #5
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
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.
 
Old 10-15-2003, 09:07 PM   #6
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
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).
 
Old 10-15-2003, 09:08 PM   #7
corbintechboy
Member
 
Registered: Sep 2003
Location: Kentucky
Posts: 480

Original Poster
Blog Entries: 1

Rep: Reputation: 51
What do you mean by comment out? Ok so I am a newbi...lol
 
Old 10-15-2003, 09:09 PM   #8
corbintechboy
Member
 
Registered: Sep 2003
Location: Kentucky
Posts: 480

Original Poster
Blog Entries: 1

Rep: Reputation: 51
I have a 450 mhz celeron, 128 megs ram, 4 mb video, running dropline gnome
 
Old 10-15-2003, 10:17 PM   #9
ed_thix
Member
 
Registered: Apr 2002
Location: Malaysia
Distribution: Slackware 15 & Ubuntu
Posts: 94

Rep: Reputation: 31
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
 
Old 10-15-2003, 10:35 PM   #10
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
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.
 
Old 10-16-2003, 01:22 AM   #11
corbintechboy
Member
 
Registered: Sep 2003
Location: Kentucky
Posts: 480

Original Poster
Blog Entries: 1

Rep: Reputation: 51
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Tightvnc scroll bars wacky Rotwang Linux - Software 4 02-21-2011 03:41 AM
GENTOO and its wacky permissions (audio mainly) toaster.waffle Linux - General 1 10-08-2005 12:43 PM
iPodder and it's wacky wxPython prerequisite toaster.waffle Linux - Software 2 05-03-2005 11:00 PM
Wacky errors on harddrive redbeansnrice Linux - Hardware 26 03-02-2005 09:47 AM
wacky syntax, i see it in c and java djgerbavore Programming 2 08-04-2004 02:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration