Re: [EMAIL PROTECTED] Apache Launching one more unwanted daemon
On 6/5/07, Joshua Slive [EMAIL PROTECTED] wrote: On 6/5/07, Arnab Ganguly [EMAIL PROTECTED] wrote: Hi, I am replacing Apache with NES(Sun Web Server).NES is pretty old.So I wanted to use Apache with single process and multi threaded web server similar to NES. To be honest, that doesn't sound like a very good justification. Just because NES does it that way doesn't mean you want Apache to do it that way. Now I have used the mod_status also.The new process launched shows to be active while the old daemon doesn't show anything. Interesting. Have you checked the error log to see if apache is restarting because it received a signal? Perhaps you have a log rotation script restarting apache? Or perhaps the old process got stuck processing something. You could try attaching to it with a debugger and figuring out what it is doing: http://httpd.apache.org/dev/debugging.html Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] If you want a single process multi threaded server perhaps you should take a look at lighttpd, what others have said mpm_worker isn't designed to do what you are trying to do. In the mean time I'll continue embracing Apache :-). - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Apache Launching one more unwanted daemon
On 6/5/07, Arnab Ganguly [EMAIL PROTECTED] wrote: Hi, I am replacing Apache with NES(Sun Web Server).NES is pretty old.So I wanted to use Apache with single process and multi threaded web server similar to NES. To be honest, that doesn't sound like a very good justification. Just because NES does it that way doesn't mean you want Apache to do it that way. Now I have used the mod_status also.The new process launched shows to be active while the old daemon doesn't show anything. Interesting. Have you checked the error log to see if apache is restarting because it received a signal? Perhaps you have a log rotation script restarting apache? Or perhaps the old process got stuck processing something. You could try attaching to it with a debugger and figuring out what it is doing: http://httpd.apache.org/dev/debugging.html Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Apache Launching one more unwanted daemon
On 6/3/07, Arnab Ganguly [EMAIL PROTECTED] wrote: Hi All, I am using apache2.2 with MPM model as Worker in Solaris 5.9 .I have the following configuration. StartServers 1 ServerLimit 1 MaxClient 128 MaxSpareThreads 128 MinSpareThreads 1 ThreadsPerChild 128 MaxRequestPerChild 0 My requirement is to handle all the request by single process and want this process to be active through out.Issue I get is that after Apache runs for a longer time, one new process is launched apart from the active process which was handling all the request. I am not sure as why this new process is getting launched although I kept ServerLimit and StartServers both as 1.Is the MaxRequestPerChild 0 is creating the problem, as due to overload one more process is getting launched or any particular module is responsible for the above?What to do to prevent this? With Startservers 1 there will be two processes. A main process, and one child. IF this is what you are seeing there is nothing peculiar going on. BTW, why is it that you don't want more than one process? Krist -- [EMAIL PROTECTED] Bremgarten b. Bern, Switzerland -- A: It reverses the normal flow of conversation. Q: What's wrong with top-posting? A: Top-posting. Q: What's the biggest scourge on plain text email discussions? - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Apache Launching one more unwanted daemon
With Startservers 1 there will be two processes. A main process, and one child. IF this is what you are seeing there is nothing peculiar going on. I know there would be two process one root and other daemon.I am worried about the one more extra daemon which is getting launched. BTW, why is it that you don't want more than one process? My requirement is like that Thanks -A Krist On 6/4/07, Krist van Besien [EMAIL PROTECTED] wrote: On 6/3/07, Arnab Ganguly [EMAIL PROTECTED] wrote: Hi All, I am using apache2.2 with MPM model as Worker in Solaris 5.9 .I have the following configuration. StartServers 1 ServerLimit 1 MaxClient 128 MaxSpareThreads 128 MinSpareThreads 1 ThreadsPerChild 128 MaxRequestPerChild 0 My requirement is to handle all the request by single process and want this process to be active through out.Issue I get is that after Apache runs for a longer time, one new process is launched apart from the active process which was handling all the request. I am not sure as why this new process is getting launched although I kept ServerLimit and StartServers both as 1.Is the MaxRequestPerChild 0 is creating the problem, as due to overload one more process is getting launched or any particular module is responsible for the above?What to do to prevent this? -- [EMAIL PROTECTED] Bremgarten b. Bern, Switzerland -- A: It reverses the normal flow of conversation. Q: What's wrong with top-posting? A: Top-posting. Q: What's the biggest scourge on plain text email discussions? - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Apache Launching one more unwanted daemon
On 6/4/07, Arnab Ganguly [EMAIL PROTECTED] wrote: With Startservers 1 there will be two processes. A main process, and one child. IF this is what you are seeing there is nothing peculiar going on. I know there would be two process one root and other daemon.I am worried about the one more extra daemon which is getting launched. BTW, why is it that you don't want more than one process? My requirement is like that The less details you provide, the less help you're going to get. Another process that you may see with worker is the mod_cgid daemon process that is used to launch cgi scripts. Are you accounting for that? Have you used mod_status to see what the processes are doing? Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Apache Launching one more unwanted daemon
Hi All, I am using apache2.2 with MPM model as Worker in Solaris 5.9 .I have the following configuration. StartServers 1 ServerLimit 1 MaxClient 128 MaxSpareThreads 128 MinSpareThreads 1 ThreadsPerChild 128 MaxRequestPerChild 0 My requirement is to handle all the request by single process and want this process to be active through out.Issue I get is that after Apache runs for a longer time, one new process is launched apart from the active process which was handling all the request. I am not sure as why this new process is getting launched although I kept ServerLimit and StartServers both as 1.Is the MaxRequestPerChild 0 is creating the problem, as due to overload one more process is getting launched or any particular module is responsible for the above?What to do to prevent this? I am not worried about the mod_cgid daemon.This process remains there from the begining.I am worried about the extra daemon ie is getting launched.Likealtogether there are 3 daemon process.1 for mod_cgi and 2 for the core apache although I have kept StartServers and ServerLimit both 1.Hope this is more clear. Any help would be appreciated.Thanks in advance. Regards -A On 6/4/07, Joshua Slive [EMAIL PROTECTED] wrote: On 6/4/07, Arnab Ganguly [EMAIL PROTECTED] wrote: With Startservers 1 there will be two processes. A main process, and one child. IF this is what you are seeing there is nothing peculiar going on. I know there would be two process one root and other daemon.I am worried about the one more extra daemon which is getting launched. BTW, why is it that you don't want more than one process? My requirement is like that The less details you provide, the less help you're going to get. Another process that you may see with worker is the mod_cgid daemon process that is used to launch cgi scripts. Are you accounting for that? Have you used mod_status to see what the processes are doing? Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Apache Launching one more unwanted daemon
On 6/4/07, Arnab Ganguly [EMAIL PROTECTED] wrote: Hi All, I am using apache2.2 with MPM model as Worker in Solaris 5.9 .I have the following configuration. StartServers 1 ServerLimit 1 MaxClient 128 MaxSpareThreads 128 MinSpareThreads 1 ThreadsPerChild 128 MaxRequestPerChild 0 My requirement is to handle all the request by single process and want this process to be active through out.Issue I get is that after Apache runs for a longer time, one new process is launched apart from the active process which was handling all the request. I am not sure as why this new process is getting launched although I kept ServerLimit and StartServers both as 1.Is the MaxRequestPerChild 0 is creating the problem, as due to overload one more process is getting launched or any particular module is responsible for the above?What to do to prevent this? I am not worried about the mod_cgid daemon.This process remains there from the begining.I am worried about the extra daemon ie is getting launched.Like altogether there are 3 daemon process.1 for mod_cgi and 2 for the core apache although I have kept StartServers and ServerLimit both 1.Hope this is more clear. When I asked for more details, I was talking about your my requirement is like that response. Worker is not really designed to operate as a single process, so telling us WHY you have the requirement might allow someone to suggest another way of achieving the same thing. And again: have you used mod_status to track what the different processes are doing? Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Apache Launching one more unwanted daemon
Arnab, You may wish to try launching httpd with the -X (debug mode) argument. That will limit it to a single process. Matt - Original Message - From: Joshua Slive [EMAIL PROTECTED] To: users@httpd.apache.org Sent: Monday, June 4, 2007 12:46:38 PM (GMT-0600) America/Chicago Subject: Re: [EMAIL PROTECTED] Apache Launching one more unwanted daemon On 6/4/07, Arnab Ganguly [EMAIL PROTECTED] wrote: Hi All, I am using apache2.2 with MPM model as Worker in Solaris 5.9 .I have the following configuration. StartServers 1 ServerLimit 1 MaxClient 128 MaxSpareThreads 128 MinSpareThreads 1 ThreadsPerChild 128 MaxRequestPerChild 0 My requirement is to handle all the request by single process and want this process to be active through out.Issue I get is that after Apache runs for a longer time, one new process is launched apart from the active process which was handling all the request. I am not sure as why this new process is getting launched although I kept ServerLimit and StartServers both as 1.Is the MaxRequestPerChild 0 is creating the problem, as due to overload one more process is getting launched or any particular module is responsible for the above?What to do to prevent this? I am not worried about the mod_cgid daemon.This process remains there from the begining.I am worried about the extra daemon ie is getting launched.Like altogether there are 3 daemon process.1 for mod_cgi and 2 for the core apache although I have kept StartServers and ServerLimit both 1.Hope this is more clear. When I asked for more details, I was talking about your my requirement is like that response. Worker is not really designed to operate as a single process, so telling us WHY you have the requirement might allow someone to suggest another way of achieving the same thing. And again: have you used mod_status to track what the different processes are doing? Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Apache Launching one more unwanted daemon
Hi, I am replacing Apache with NES(Sun Web Server).NES is pretty old.So I wanted to use Apache with single process and multi threaded web server similar to NES. Now I have used the mod_status also.The new process launched shows to be active while the old daemon doesn't show anything. Thanks -A On 6/4/07, Joshua Slive [EMAIL PROTECTED] wrote: On 6/4/07, Arnab Ganguly [EMAIL PROTECTED] wrote: Hi All, I am using apache2.2 with MPM model as Worker in Solaris 5.9 .I have the following configuration. StartServers 1 ServerLimit 1 MaxClient 128 MaxSpareThreads 128 MinSpareThreads 1 ThreadsPerChild 128 MaxRequestPerChild 0 My requirement is to handle all the request by single process and want this process to be active through out.Issue I get is that after Apache runs for a longer time, one new process is launched apart from the active process which was handling all the request. I am not sure as why this new process is getting launched although I kept ServerLimit and StartServers both as 1.Is the MaxRequestPerChild 0 is creating the problem, as due to overload one more process is getting launched or any particular module is responsible for the above?What to do to prevent this? I am not worried about the mod_cgid daemon.This process remains there from the begining.I am worried about the extra daemon ie is getting launched.Like altogether there are 3 daemon process.1 for mod_cgi and 2 for the core apache although I have kept StartServers and ServerLimit both 1.Hopethis is more clear. When I asked for more details, I was talking about your my requirement is like that response. Worker is not really designed to operate as a single process, so telling us WHY you have the requirement might allow someone to suggest another way of achieving the same thing. And again: have you used mod_status to track what the different processes are doing? Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] Apache Launching one more unwanted daemon
Hi All, I am using apache2.2 with MPM model as Worker in Solaris 5.9 .I have the following configuration. StartServers 1 ServerLimit 1 MaxClient 128 MaxSpareThreads 128 MinSpareThreads 1 ThreadsPerChild 128 MaxRequestPerChild 0 My requirement is to handle all the request by single process and want this process to be active through out.Issue I get is that after Apache runs for a longer time, one new process is launched apart from the active process which was handling all the request. I am not sure as why this new process is getting launched although I kept ServerLimit and StartServers both as 1.Is the MaxRequestPerChild 0 is creating the problem, as due to overload one more process is getting launched or any particular module is responsible for the above?What to do to prevent this? Any help would be appreciated.Thanks in advance. Regards -A