nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Apache 2.2 on Windows - Load problems

This is a discussion on Apache 2.2 on Windows - Load problems within the Web servers forums, part of the Mastering Servers category; Hey, I am having problems dealing with "load" on my apache server (on a windows server 2003). I know the ...


Go Back   nixCraft Linux Forum > Mastering Servers > Web servers

Linux answers from nixCraft.


Web servers Discussion on Apache, Nginx and Lighttpd HTTP/web server and configuration issues.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 26-12-2009, 07:14 AM
Junior Member
User
 
Join Date: Dec 2009
OS: FreeBSD 7
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
AaronDM is on a distinguished road
Default Apache 2.2 on Windows - Load problems

Hey,

I am having problems dealing with "load" on my apache server (on a windows server 2003). I know the questions here are generally for linux and etc but I have my FreeBSD 7 apache server running extremely smoothly - yet on windows I seem to be having problems.

I actually found that disabling the custom logs helps alot and its really smooth - but I was wondering if there is a reason for this and if I could possible do something to enable them again.
I have also enabled PHP to run as fcgi and that seemed to have helped a lot. I do not see apache utilizing the multi-core/processors - any way I can get it to start using them - or use them in a more optimized manner?

I have also noticed that Apache is unable to provide speeds higher than 500KB/s in downloads. Not a big issue because I do not tend to provide downloads but I was wondering why this is the case.

As well, what are some other optimizations that I can do to help improve the stability and performance?

Thanks!
Reply With Quote
  #2 (permalink)  
Old 26-12-2009, 09:08 AM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,710
Thanks: 11
Thanked 244 Times in 183 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

If you see high disk I/O try adding software or hardware RAID.

For php add opcode such as xcache or any other that runs on Windows sever.
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #3 (permalink)  
Old 26-12-2009, 09:27 AM
Junior Member
User
 
Join Date: Dec 2009
OS: FreeBSD 7
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
AaronDM is on a distinguished road
Default

Hey thanks for the reply.

I have 4 GB ram on this server - should I still go ahead and install something like eAccelerator or mem cache its self?
And are there no other specific "Apache" optimizations that I can use? The processor is fancy, an 8 core processor (single).

I cannot go with RAID at this time however I will monitor the I/O from Apache (right now it looks good, however the logs are disabled).

Thanks,
Aaron
Reply With Quote
  #4 (permalink)  
Old 26-12-2009, 10:55 AM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,710
Thanks: 11
Thanked 244 Times in 183 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Yes, install eAccelerator. Can you attach your httpd.conf? Also, specify your traffic info like how many connections per seconds.
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #5 (permalink)  
Old 27-12-2009, 10:12 PM
Junior Member
User
 
Join Date: Dec 2009
OS: FreeBSD 7
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
AaronDM is on a distinguished road
Default

configuration is bigger than your attachment or max chars allowed.

But here you go
Apache Log File pastebin - collaborative debugging tool

I have also installed eAccelerator now and so far so good! (Custom logs still disabled)

P.S. I use a macro/virtual host configuration for the actual website - so if it may seem weird that the custom logs in the httpd.config is enabled, its because its not in use. For the actual trafficked website/folder I have disabled custom logs.

As well, anyone have a good configuration for mod_security2? I have seen a couple of mod_security but they do not work for mod_security2.

Last edited by AaronDM; 28-12-2009 at 03:00 AM.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
how to do Apache Load Balancing and clustering manish_2479 Web servers 8 11-01-2010 11:59 PM
[Solved] Nginx Reverse Proxy Load Balance Configuration For Apache raj Web servers 2 30-12-2009 05:36 PM
what's the Diff. in Windows 2003 and Windows 2000 server kasimani Windows Xp/2000/2003 server administration 3 05-08-2009 11:46 PM
Apache installation problems linuxchik All about FreeBSD/OpenBSD/NetBSD 1 08-08-2008 11:35 PM
Apache Load blance vimalgoel Web servers 3 23-07-2007 04:51 PM


All times are GMT +5.5. The time now is 09:59 AM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38