Re: [users@httpd] Apache 2.x configuration for high load servers

2011-05-31 Thread sunhux G
I'm new to Apache to my environment too. We run 4 Apache V2.0.52 I've seeing high load averages (of 3 to 13) reported by top on the Linux RHES 4.6 for the 1, 5 15 minutes avgs on 3 of our webservers. All the servers' CPU are generally idle except one webserver which sometimes hit 90-100% CPU

RE: [users@httpd] Apache 2.x configuration for high load servers

2011-05-30 Thread Rob Morin
@httpd.apache.org Subject: RE: [users@httpd] Apache 2.x configuration for high load servers I will mod fstab and reboot one server at a time... I thought there was a way of dropping atime in real time without a reboot so you can test performance differences without rebooting but I could be mistaken

RE: [users@httpd] Apache 2.x configuration for high load servers

2011-05-30 Thread Rob Morin
: [users@httpd] Apache 2.x configuration for high load servers mount -o noatime,nodiratime,remount /path/to/mount/point b. On 28 May 2011 20:13, Geoff Millikan gmilli...@t1shopper.com wrote: I will mod fstab and reboot one server at a time... I thought there was a way of dropping atime in real

RE: [users@httpd] Apache 2.x configuration for high load servers

2011-05-30 Thread Rob Morin
Millikan [mailto:gmilli...@t1shopper.com] Sent: Sunday, May 29, 2011 11:36 PM To: users@httpd.apache.org Subject: RE: [users@httpd] Apache 2.x configuration for high load servers Nor sure I understand where you say memcache is slow, we uses memcache for session variables and for mysql query

RE: [users@httpd] Apache 2.x configuration for high load servers

2011-05-29 Thread Geoff Millikan
This went well until there were not too many files on the file system... Our experience here has been this: We're on ext3 and caching (on disk) several hundred thousand files using mod_disk_cache. We got worried we were going to have too many files but using df -i below shows we're at about a

RE: [users@httpd] Apache 2.x configuration for high load servers

2011-05-29 Thread Geoff Millikan
Nor sure I understand where you say memcache is slow, we uses memcache for session variables and for mysql query caching. I did not think there was anything as reliable and fast or faster than that? Can you elaborate on file-based-cache fro mysql querrie? Bostjan Skufca replied already

RE: [users@httpd] Apache 2.x configuration for high load servers

2011-05-28 Thread Geoff Millikan
I commented out mod_dir and Apache would not start Yep, you'll need that one. You probably will not need the below list but you kinda have to read up on what each module supports and see if you're using any of those things. mod_userdir.so mod_usertrack.so mod_status.so mod_logio.so mod_cgi.so

RE: [users@httpd] Apache 2.x configuration for high load servers

2011-05-28 Thread Geoff Millikan
I will mod fstab and reboot one server at a time... I thought there was a way of dropping atime in real time without a reboot so you can test performance differences without rebooting but I could be mistaken. Might want to check out using relatime but I have no experience with that. I do

Re: [users@httpd] Apache 2.x configuration for high load servers

2011-05-28 Thread Bostjan Skufca
mount -o noatime,nodiratime,remount /path/to/mount/point b. On 28 May 2011 20:13, Geoff Millikan gmilli...@t1shopper.com wrote: I will mod fstab and reboot one server at a time... I thought there was a way of dropping atime in real time without a reboot so you can test performance

RE: [users@httpd] Apache 2.x configuration for high load servers

2011-05-27 Thread Geoff Millikan
#Increase this number. The zombies you're seeing #is every time an Apache child process dies. #The child will die @1500. We run at 2 and are having no problems. MaxRequestsPerChild 1500 #We don't run as hot as you (we average 3 hits/sec and max at like 15 #in a 24 hour period) but

RE: [users@httpd] Apache 2.x configuration for high load servers

2011-05-27 Thread Geoff Millikan
We also use New Relic and new PHP performance tuning tool, its very cool... Oh, and remember to remove/comment out any PHP modules you aren't using. Every PHP module you load (like the GD image module which is loaded by default that people don't often use) is loaded up into the Apache server

RE: [users@httpd] Apache 2.x configuration for high load servers

2011-05-27 Thread Rob Morin
: Friday, May 27, 2011 3:35 AM To: users@httpd.apache.org Subject: RE: [users@httpd] Apache 2.x configuration for high load servers #Increase this number. The zombies you're seeing #is every time an Apache child process dies. #The child will die @1500. We run at 2 and are having no problems

Re: [users@httpd] Apache 2.x configuration for high load servers

2011-05-27 Thread Bostjan Skufca
- From: Geoff Millikan [mailto:gmilli...@t1shopper.com] Sent: Friday, May 27, 2011 3:35 AM To: users@httpd.apache.org Subject: RE: [users@httpd] Apache 2.x configuration for high load servers #Increase this number. The zombies you're seeing #is every time an Apache child process dies

RE: [users@httpd] Apache 2.x configuration for high load servers

2011-05-27 Thread Rob Morin
Ext: 207 ilabs-email-sig From: Bostjan Skufca [mailto:bost...@a2o.si] Sent: Friday, May 27, 2011 12:23 PM To: users@httpd.apache.org Subject: Re: [users@httpd] Apache 2.x configuration for high load servers Hi Rob, couple of thoughts below, please inform me if I make wrong deductions

Re: [users@httpd] Apache 2.x configuration for high load servers

2011-05-27 Thread Bostjan Skufca
PM *To:* users@httpd.apache.org *Subject:* Re: [users@httpd] Apache 2.x configuration for high load servers Hi Rob, couple of thoughts below, please inform me if I make wrong deductions somewhere, tnx. 1. Your static content is served from elsewhere, you are only talking about

[users@httpd] Apache 2.x configuration for high load servers

2011-05-25 Thread Rob Morin
Hello all my first time posting , so please be gentile. :) We have 5 Apache 2.2.3 web servers behind a HAproxy load balancer. Each web server is a Quad core Xeon E5405@2.00GHz with 16 gigs RAM and a hardware RAID 1 of 300 gigs Apache is configure in prefork mode, as per Centos 5.5 install

Re: [users@httpd] Apache 2.x configuration for high load servers

2011-05-25 Thread Mark Montague
On May 25, 2011 10:27 , Rob Morin r...@ilabsinc.com wrote: We have recently had a 30% increase in traffic and will be expecting more. I would like to know the correct way to calculate the proper settings for prefork.c my settings, here is what I have now... I am going to add more RAM today

RE: [users@httpd] Apache 2.x configuration for high load servers

2011-05-25 Thread Rob Morin
Administrator Infinity Labs Inc. (514) 387-0638 Ext: 207 -Original Message- From: Rob Morin [mailto:r...@ilabsinc.com] Sent: Wednesday, May 25, 2011 3:00 PM To: users@httpd.apache.org Subject: RE: [users@httpd] Apache 2.x configuration for high load servers Thanks for the prompt reply