LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-24-2004, 11:18 AM   #1
ejennings_98
Member
 
Registered: Sep 2003
Location: Canada, West Coast
Distribution: Mandriva 2012.1 i586 & x86_64
Posts: 69

Rep: Reputation: 15
Server running very Slooooow?


My server is running very slow, and I cannot figure out why? The server has been running fine for a few months, and now it is running really slow, to a point I am getting time-outs by requesting a simple web page from Apache, and I am the only person connected to the website.

Here is what I know about the server.

Server:
Dell 2.4GHz, 128MB ram, SCSI 10,000 rmp drive

Platform:
Mandrake 9.1 - Gnome desktop.

Main applications:
Apache, MySQL

When I run "top" here is the output:
top - 09:28:42 up 10:44, 1 user, load average: 0.07, 0.02, 0.00
Tasks: 100 total, 1 running, 99 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.7% user, 0.7% system, 0.0% nice, 98.7% idle
Mem: 126360k total, 101764k used, 24596k free, 7424k buffers
Swap: 506008k total, 25724k used, 480284k free, 39124k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ Command
1070 daemon 10 0 612 608 500 S 0.3 0.5 0:00.03 tmdns
1746 root 18 0 4320 1516 1224 S 0.3 1.2 0:00.06 miniserv.pl
8015 root 15 0 996 996 776 R 0.3 0.8 0:00.16 top
8031 root 11 0 5464 3424 2640 S 0.3 2.7 0:00.01 miniserv.pl
1 root 8 0 144 128 96 S 0.0 0.1 0:04.23 init
2 root 9 0 0 0 0 S 0.0 0.0 0:00.03 keventd


What else can I do to check out the server?

Thanks, in advance.
 
Old 02-24-2004, 12:25 PM   #2
tk31337
Member
 
Registered: Oct 2003
Location: Tucson, AZ
Distribution: Linux Mint
Posts: 194

Rep: Reputation: 32
With a whopping 1.4% system usage, I'm wondering if it's process related at all. Have you checked your network connection? Maybe it's completely in the bandwidth -- "That's when I realized that it's not in the box, it's in the band." ;-)
 
Old 02-24-2004, 12:26 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
From that info I can't see anything that would
explain why it's slow...

Two things, though:
1. if it's a web-server, why bother it with Gnome
and/or X at all? Just eats valuable RAM... and as
you're running webmin anyway, you probably don't
need "other graphical conifguration gimmicks".
2. why are you running two instances of webmin?


Cheers,
TInk
 
Old 02-24-2004, 02:41 PM   #4
ejennings_98
Member
 
Registered: Sep 2003
Location: Canada, West Coast
Distribution: Mandriva 2012.1 i586 & x86_64
Posts: 69

Original Poster
Rep: Reputation: 15
I don't know why there are two instances of webmin, good question. I am assuming that since my system is sooo sloooow, I got a timeout with one of the webmin sessions and the system started a new instance?? But thats just a stab in the dark. Buy the way, webmin is very sloooow as well, so the problem points to a bandwidth issue.

How would I check if the bandwidth is the issue? I have a 3COM switch, but it does not show the bandwidth usage.


As a side note: I am thinking of rebuilding the server, this time use my second old box for development, and the server would have a minimal install. But that is down the road, got to get this one going first.
 
Old 02-24-2004, 03:44 PM   #5
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Quote:
Server:
Dell 2.4GHz, 128MB ram, SCSI 10,000 rmp drive
If you want to keep the X server and all the GUIs, you will need more RAM.
A minimum of 256 MB is required, but I suggest 512 MB -- if you plan on adding more users or running active web sites.

 
  


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
dhcp slooooow matrixon Linux - Wireless Networking 1 04-23-2005 08:42 PM
Resolving hosts slooooow Latem Mandriva 1 03-16-2005 08:25 PM
Slooooow gigabit on Redhat 9: HELP!! birkinshawc Linux - Networking 11 10-09-2004 03:53 PM
Slooooow KDE for a newbie chrismagnuss Linux - General 0 09-30-2001 04:53 PM
SLOOOOOW logins: ftp, pop Crescendo Linux - Networking 0 03-13-2001 12:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:58 PM.

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