LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-27-2007, 03:15 AM   #1
davy2002a
LQ Newbie
 
Registered: Mar 2006
Posts: 10

Rep: Reputation: 0
server becomes unresponsive


hi,

i have a problem, i have a server set up running ubuntu 6.06.1 server and is running apache2, mysql, php, perl, the essentials for hosting, but after roughly 4 days after it becomes slow and mostly unresponsive on ssh, ftp and lastly apache2

the specs:

p4 2.40ghz
1gb ddr2 ram
160gb hard drive
3 1/2" floppy drive
52x cdrom drive
10/100 ethernet

any ideas? its becoming tedious for me to have to travel to the place where it is and physically cold boot it.

thank you in advance...

Last edited by davy2002a; 11-27-2007 at 03:17 AM.
 
Old 11-27-2007, 04:06 PM   #2
blueCow
Member
 
Registered: Feb 2004
Location: Florida
Distribution: FreeBSD, CentOS, Debian, Mint
Posts: 111

Rep: Reputation: 17
Check your logs. From time to time I used to see my home shell server get slow and after investigating a bit I noticed that it was getting hammered by script kiddies banging away at my openssh server.

When the server is slow, check your process list, top, and your log files to see what the problem is. Make sure to add the slow-query log to mysql as well to help diagnose those issues. What is actually slow? The whole server, one daemon? With the amount of data you have given us there is no way that we could properly diagnose the issue.
 
Old 11-28-2007, 01:05 AM   #3
davy2002a
LQ Newbie
 
Registered: Mar 2006
Posts: 10

Original Poster
Rep: Reputation: 0
well, i know that the ssh server will always be bombed by script kiddies, i have taken care of this issue with denyhosts, same with the proftpd server as well.

the following servers become slow and unresponsive after 4 days:

openssh
proftpd

i havent noticed any decrease in performance over web/mysql yet. although i have ran into a time or 2 when apache2 did slow down

any configuration files u would like to see? logs too?
 
Old 11-28-2007, 06:16 AM   #4
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
I doubt that I can help you, but I have a somewhat similar issue with a box running 6.06.1.

This box runs various services such as squid, dnsmasq, etc and I use it for a little light browsing. When originally installed, this was fine but now, after a day or two of running, memory leaks result in its performance being terrible (I don't just mean not very good - after 15 - 30 minutes trying to get it to shut down cleanly, I give up and hit the power switch). I also have a few out-and-out crashes, which was never the case when I used SuSE.

On this box, any browser (Opera, Konqueror, Firefox) leaks memory, albeit slightly slowly. Opera is probably the worst, perhaps because I tend to keep more tabs open in Opera. Akregator may well leak, too.

Given that there are various different programs affected and given that at one time 1 month+ uptimes were not a problem, I believe that one of the updates that I have done since installation has installed a flawed library.

Given that I don't hear of too many people complaining about this issue on Ubuntu (Kubuntu, really in my case) I wonder whether there is something different about my hardware: The obvious thing that comes to mind is that this is a dual-cpu box and that I use the server kernel, which probably isn't a popular Ubuntu combination, or at least wasn't when 6.06 was originally released. (I do hear of a few people with slackware having a similar memory leak problem, and a there is a suspicion that a particular version of X is involved - but its only a suspicion).

I've not panicked about this yet, because currently its not much more than an irritation. And when I get time, I'll rebuild (and of course do a fresh backup) this box and the problem is likely to go away. But if I had to travel to reboot, I admit that this would be rather more than just an irritation.
 
Old 11-28-2007, 11:42 PM   #5
davy2002a
LQ Newbie
 
Registered: Mar 2006
Posts: 10

Original Poster
Rep: Reputation: 0
hmm, wonder if ubuntu or even debian is even wise to use these days for server software. i heard and read many times that rhel and centos are the two greatly secure linux distros out there, i wonder if this is a memory leak issue but i dunno right now, i checked my processes and it doesnt look like apache is taking too much ram despite i havent configured it to optimal settings yet to use less ram, but i also must advise that i simply do not use X on any server that i have setup in the past and present...
 
  


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
Unresponsive keyboard bazz Linux - Newbie 3 07-13-2007 06:23 AM
Mouse unresponsive tehkaao Linux - Hardware 5 07-05-2007 06:29 PM
Modem unresponsive Garzo Linux - Hardware 5 06-10-2005 12:08 PM
unresponsive during login danharris Linux - Newbie 4 12-04-2004 04:32 PM
Server unresponsive to connection attempts dcaillouet Linux - Networking 4 07-06-2001 10:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:32 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