Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 14th, 2013, 07:14 AM
anthrax anthrax is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2013
Posts: 1 anthrax User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 36 sec
Reputation Power: 0
mod_rewrite - Prefork to worker mode

Hi,

We have Apache installed on RHEL5.x and these are currently configured to run in prefork mode. The implementation is mainly for Siteminder login page, SAML and policy servers.

There are RedHat servers which hosts a single Apache installation and RedHat servers which hosts multiple Apache installations.

From the information provided in the internet, prefork to worker is done by:
1. Stop Apache
2. Edit /etc/sysconfig/httpd. Uncomment #HTTP=/usr/sbin/httpd.worker
3. Start Apache (/etc/init.d script)

On the Linux servers with single Apache instance running, the above steps has not been successful. After validating through httpd -l / apachectl -l, prefork.c is still displayed

httpd -V / apachectl -V also shows that we are still in prefork mode (-D APACHE_MPM_DIR="server/mpm/prefork")

I've also read that by running /usr/sbin/httpd.worker -l, i can check if Apache can run in worker mode. worker.c is listed when i run this command so this shows we are eligible for worker mode.

Meanwhile, on the Linux servers with multiple Apache instances running, it seems steps 1-3 is not applicable. This is mainly because these Apache instances are not started via the httpd script in /etc/init.d. Even if i source execute /etc/sysconfig/httpd prior to starting Apache, i still see that we are running in prefork mode.

Has anyone successfully updated their Apache to run worker mode? How was this implemented?

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > mod_rewrite - Prefork to worker mode

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap