LinuxQuestions.org
Review your favorite Linux distribution.
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 12-11-2010, 02:56 AM   #1
AsadMoeen
Member
 
Registered: Jun 2010
Posts: 160

Rep: Reputation: 3
Directadmin and Apache Security


Ok.

I have now discovered this with all Directadmin sytems. If the number of requests on the system cross 50, the apache processes are triggered and they start growing and use up a lot of RAM but not CPU.

The websites become inaccessible until the requests are stopped. I use a software called PRstorm which can make the requests to the URL's you specify. It can send requests from a Single IP as well as Proxies.


When I run this software, specially on blog websites, the websites shutdown and come back online when the requests are stopped. If the requests are very high, sometimes the apache would crash.


This is not a system specific issue but an issue with all Directadmin systems at default apache configs. I've tried it on 3 systems with Directadmin and the websites shutdown.



I personally have a Debian latest machine with 2Ghz processor and 6GB ram but still I can't stop my websites from shutting down.


However, regarding shared hosts like hostgator.com or even the free 000webhost.com, none of the websites shutdown . Maybe they have high level apache optimization.


How should we fix this issue or maybe optimize apache ? This could also be Apache or PHP bug since I have the latest version like some kind of request could be triggering apache.

Last edited by AsadMoeen; 12-11-2010 at 02:58 AM.
 
Old 12-12-2010, 06:11 AM   #2
AsadMoeen
Member
 
Registered: Jun 2010
Posts: 160

Original Poster
Rep: Reputation: 3
Installed CentOS to give a try.

Same issue. Possible apache bug!!!
 
Old 12-13-2010, 10:58 AM   #3
AsadMoeen
Member
 
Registered: Jun 2010
Posts: 160

Original Poster
Rep: Reputation: 3
Now there are only 2 possiblities.

-> VMware's provided hardware or libraries to run the machine cause this ( Very less chance ).
-> Bug in apache's latest version.
 
  


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
Debian - Directadmin - Weird crash AsadMoeen Linux - Server 6 11-30-2010 10:37 AM
Unable to access SSH and DirectAdmin from 1 IP but all other OKAY. Randvegeta Linux - Server 12 10-10-2010 11:11 PM
yum critical error after directadmin install dannyman1234 Red Hat 2 03-07-2010 06:53 PM
List of Processes for security reasons - Web Server on DirectAdmin CPanel xorion Linux - Security 1 02-21-2008 09:32 AM

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

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