Portal Home > Knowledgebase > Articles Database > need some help with one of my servers


need some help with one of my servers




Posted by steve51184, 02-03-2010, 07:20 PM
hi all i have a dedicated server running ubuntu and it's main use is as a web server but i'm having some problems with apache is there any 'server' out there to help me fix this?

Posted by RHS-Chris, 02-03-2010, 09:08 PM
Can you give us more of a breakdown on what the problems are?

Posted by steve51184, 02-03-2010, 09:11 PM
here's my topic on this matter fwd4.me/ECX

Posted by RHS-Chris, 02-03-2010, 10:06 PM
I've actually gone through this recently, and what it turned out to be was, a failing hard drive. The drive was holding the connection open, until eventually, the apache server hit the maxclients value.

Posted by steve51184, 02-03-2010, 10:09 PM
i've had a failed drive from this host as it is so yeah it might be the hard drive.... is there anyway to test this?

Posted by supportproTech, 02-04-2010, 01:19 AM
What sort of error you are experiencing?

Posted by BobyKirov, 02-04-2010, 07:06 AM
give us some error message , for example cat /etc/httpd/logs/erro_log

Posted by LeaTrueman, 02-04-2010, 07:23 AM
check what the error_log is saying, /usr/local/apache/logs/error_log or /etc/httpd/logs/error_log

Posted by steve51184, 02-04-2010, 11:56 AM
my logs are in '/var/log/apache2' and my error logs are full of nothing but these errors (really there's nothing but these and there's thousands of them)

Posted by Microlinux, 02-04-2010, 10:04 PM
If you are familiar with gdb you could use that to track down whatever is causing the problem. Given that this is a web server, it could be a faulty script.

Posted by steve51184, 02-04-2010, 10:06 PM
no idea what gdb sorry and it won't be a bad script as i use smf

Posted by Microlinux, 02-04-2010, 10:07 PM
Can you correlate the start of these problems with any changes that may have been made to the system?

Posted by steve51184, 02-04-2010, 10:08 PM
that's the problem no changes have been made... nothing....

Posted by Microlinux, 02-04-2010, 10:12 PM
seg faults usually end up being software-related, but if there were no changes it could well be hardware. Maybe start by running memtest on the RAM (assuming lengthy downtime is feasible).

Posted by steve51184, 02-04-2010, 10:14 PM
downtime isn't feasible.......

Posted by Microlinux, 02-04-2010, 10:18 PM
what exactly is smf?

Posted by steve51184, 02-04-2010, 10:18 PM
http://www.simplemachines.org/

Posted by Microlinux, 02-04-2010, 10:21 PM
i wouldn't say that rules out the script possibility. using "good" software doesn't preclude bugs. assuming your system is used primarily to host a forum, that would tend to be where the most interactions are taking place. perhaps its an environmental(software environment) issue. not saying this is the problem, but its a start.

Posted by Microlinux, 02-04-2010, 10:28 PM
smf-specific example: http://www.simplemachines.org/commun...topic=336235.0

Posted by supportproTech, 02-05-2010, 01:51 AM
Some times the mentioned errors occur due to the software bugs/errors. Sometimes it can also due to the hardware errors. And fsck can also fix the error. But you should make sure to take a complete backup before proceeding with a fsck.

Posted by nwilkens, 02-05-2010, 11:02 PM
I have seen similar issues that I believe were caused by php modules. Eaccelerator had caused this issue once prior. Also, can you turn the apache config, "ExtendedStatus On". This will show you what your processes may be waiting on when you run, 'apache2ctl status'.

Posted by Hosting Pro, 02-08-2010, 01:38 PM
Have you tried the memtest? What does the free -m say?

Posted by Hosting Pro, 02-11-2010, 03:46 AM
Also, could you tell us which process is taking up most of the memory usage?

Posted by Hosting Pro, 02-14-2010, 01:19 PM
Check out the logs for that process and then you can determine if it is a script error ...



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Brute Force Attacks (Views: 311)

Powered by WHMCompleteSolution


Language:

Customer Testimonials

John Doe
It's a great service with fantastic support. It's definately good value for your money. Overall rating, 10 out of 10.
Mike Smith
Much better than my previous hosting company - I also got help with migration at no extra cost. Friendly support too.
Copyright © 2015 DC International LLC in partnership with Bragin IT Solutions Inc. - All Rights Reserved.