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 07-23-2011, 03:38 PM   #1
sysctl
LQ Newbie
 
Registered: Jul 2011
Posts: 5

Rep: Reputation: Disabled
Optimizing apache2 Load


Hi,

I would like to ask how can I optimize apache2 load on my dedicated server. I am hosting Facebook applications on it, but most users will get a Timed Out message when they try to access it. I was tinkering with MaxClients directive in apache2 config, and it got better, but still it's not best. Programmers are trying their best to optimize the applications at their side, but I am afraid this is an server issue.

Interesting is, on paid webhosting plan (not dedicated) there were minimum problems.

Thanks in advance for answer.
 
Old 07-25-2011, 07:34 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,358

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Start by posting distro name+version, also apache version, also output from top please.
How was this installed.: from the DVD + repos? Any hand-built installed SW?
 
Old 07-25-2011, 07:44 PM   #3
sysctl
LQ Newbie
 
Registered: Jul 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
Distro is Debian 5, 2.6.32-5-amd64, apache version is apache2, but I am now re-installing the server completely, so I'll do an fresh install now.

top:

Quote:
1797 root 20 0 19344 1540 1060 R 0 0.0 0:00.02 top
1 root 20 0 10540 812 684 S 0 0.0 0:17.03 init
2 root 20 0 0 0 0 S 0 0.0 0:00.00 kthreadd
3 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/0
4 root 20 0 0 0 0 S 0 0.0 0:01.09 ksoftirqd/0
5 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/0
6 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/1
7 root 20 0 0 0 0 S 0 0.0 0:00.44 ksoftirqd/1
8 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/1
9 root RT 0 0 0 0 S 0 0.0 0:00.06 migration/2
10 root 20 0 0 0 0 S 0 0.0 0:00.40 ksoftirqd/2
11 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/2
12 root RT 0 0 0 0 S 0 0.0 0:00.05 migration/3
13 root 20 0 0 0 0 S 0 0.0 0:00.40 ksoftirqd/3
14 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/3
15 root 20 0 0 0 0 S 0 0.0 1:18.91 events/0
16 root 20 0 0 0 0 S 0 0.0 0:34.30 events/1
 
  


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
Apache2: Cannot load mod_proxy_balancer.so kenneho Linux - Software 5 10-14-2008 09:01 AM
Maintenance realted Questions (optimizing your Linux Load) NuxIT Linux - Newbie 5 05-25-2007 09:21 PM
Cannot load PHP5 with Apache2 shrimpwagon Linux - Software 2 08-31-2006 06:01 AM
Cannot load PHP5 with Apache2 shrimpwagon Linux - General 1 08-30-2006 10:48 PM
Apache2 + php5 won't load mustangfanatic Slackware 9 04-19-2006 12:45 PM

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

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