PEAR Forum :: PHP Extension and Application Repository

PEAR Forum Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
any solutions

 
Post new topic   Reply to topic    PEAR Forum Forum Index -> Benchmarking
View previous topic :: View next topic  
Author Message
johncocyan09



Joined: 15 Jan 2010
Posts: 3

PostPosted: Fri Jan 15, 2010 3:14 pm    Post subject: any solutions Reply with quote

When debugging web server problems, isolating a problem is the first step in troubleshooting an issue. Since a typical apache installation runs with several processes, and in the case of the worker and event MPMs multiple threads per process, starting apache as a single process can simplify troubleshooting. There are two ways to start apache as a single process. The first method requires editing the number of processes and threads in the apache servers MPM configuration stanza. An alternative method is to use apache's "-X" option to start the server in single process mode:

$ httpd -X
When single process mode is used, apache will not fork new processes or disassociate from the terminal. This ensures that all communications flow through one process, which allows troubleshooting procedures (e.g., attaching to the httpd process with gdb) to be used on a single process instead of multiple processes.
_________________
CUBAN CIGARS
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PEAR Forum Forum Index -> Benchmarking All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



PEAR Forum topic RSS feed 
Powered by phpBB © 2001, 2005 phpBB Group

Provided by Ministry of Web developement