Discussion:
Apache 2.2
(too old to reply)
The Doctor
2014-03-17 15:11:55 UTC
Permalink
All right I have been working in prefork mode with 150 clients no
problem just taxes the server to no end.

I tried to go to prefork and it chokes after 5 minutes.

In my mpm config file I have



#
# Only one of the below sections will be relevant on your
# installed httpd. Use "apachectl -l" to find out the
# active mpm.
#

# prefork MPM
# StartServers: number of server processes to start
# MinSpareServers: minimum number of server processes which are kept spare
# MaxSpareServers: maximum number of server processes which are kept spare
# MaxClients: maximum number of server processes allowed to start
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule mpm_prefork_module>
StartServers 1
MinSpareServers 1
MaxSpareServers 5
ServerLimit 150
MaxClients 150
MaxRequestsPerChild 5000
</IfModule>

# worker MPM
# StartServers: initial number of server processes to start
# MaxClients: maximum number of simultaneous client connections
# MinSpareThreads: minimum number of worker threads which are kept spare
# MaxSpareThreads: maximum number of worker threads which are kept spare
# ThreadsPerChild: constant number of worker threads in each server process
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule mpm_worker_module>
StartServers 4
MaxClients 256
MinSpareThreads 25
MaxSpareThreads 155
ThreadsPerChild 16
MaxRequestsPerChild 10
</IfModule>


What must I do so that the worker can match up to the prefork?
--
Member - Liberal International This is ***@nl2k.ab.ca Ici ***@nl2k.ab.ca
God,Queen and country!Never Satan President Republic!Beware AntiChrist rising!
http://www.fullyfollow.me/rootnl2k Look at Psalms 14 and 53 on Atheism
C'est temps pour le Quebec de dire non a la Parti Qorruption!
The Doctor
2014-03-17 15:14:29 UTC
Permalink
Post by The Doctor
All right I have been working in prefork mode with 150 clients no
problem just taxes the server to no end.
I tried to go to prefork and it chokes after 5 minutes.
In my mpm config file I have
#
# Only one of the below sections will be relevant on your
# installed httpd. Use "apachectl -l" to find out the
# active mpm.
#
# prefork MPM
# StartServers: number of server processes to start
# MinSpareServers: minimum number of server processes which are kept spare
# MaxSpareServers: maximum number of server processes which are kept spare
# MaxClients: maximum number of server processes allowed to start
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule mpm_prefork_module>
StartServers 1
MinSpareServers 1
MaxSpareServers 5
ServerLimit 150
MaxClients 150
MaxRequestsPerChild 5000
</IfModule>
# worker MPM
# StartServers: initial number of server processes to start
# MaxClients: maximum number of simultaneous client connections
# MinSpareThreads: minimum number of worker threads which are kept spare
# MaxSpareThreads: maximum number of worker threads which are kept spare
# ThreadsPerChild: constant number of worker threads in each server process
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule mpm_worker_module>
StartServers 4
MaxClients 256
MinSpareThreads 25
MaxSpareThreads 155
ThreadsPerChild 16
MaxRequestsPerChild 10
</IfModule>
What must I do so that the worker can match up to the prefork?
Addendum some cgi scripts choked.
--
Member - Liberal International This is ***@nl2k.ab.ca Ici ***@nl2k.ab.ca
God,Queen and country!Never Satan President Republic!Beware AntiChrist rising!
http://www.fullyfollow.me/rootnl2k Look at Psalms 14 and 53 on Atheism
C'est temps pour le Quebec de dire non a la Parti Qorruption!
Bjoern Hoehrmann
2014-03-17 15:40:52 UTC
Permalink
Post by The Doctor
Post by The Doctor
All right I have been working in prefork mode with 150 clients no
problem just taxes the server to no end.
I tried to go to prefork and it chokes after 5 minutes.
Addendum some cgi scripts choked.
It would probably help if you describe "choke" in some more detail.
--
Björn Höhrmann · mailto:***@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/
Tim Streater
2014-03-17 18:03:02 UTC
Permalink
In article
Post by Bjoern Hoehrmann
Post by The Doctor
Post by The Doctor
All right I have been working in prefork mode with 150 clients no
problem just taxes the server to no end.
I tried to go to prefork and it chokes after 5 minutes.
Addendum some cgi scripts choked.
It would probably help if you describe "choke" in some more detail.
It would also help if the Quack learnt to punctuate.
--
"I am enclosing two tickets to the first night of my new play; bring a
friend.... if you have one." - GB Shaw to Churchill "Cannot possibly
attend first night, will attend second... if there is one." - Winston
Churchill, in response.
The Doctor
2014-03-17 20:40:21 UTC
Permalink
Post by Bjoern Hoehrmann
Post by The Doctor
Post by The Doctor
All right I have been working in prefork mode with 150 clients no
problem just taxes the server to no end.
I tried to go to prefork and it chokes after 5 minutes.
Addendum some cgi scripts choked.
It would probably help if you describe "choke" in some more detail.
Cgi scripts taking an inordinate amount of time
to present.
Post by Bjoern Hoehrmann
--
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/
--
Member - Liberal International This is ***@nl2k.ab.ca Ici ***@nl2k.ab.ca
God,Queen and country!Never Satan President Republic!Beware AntiChrist rising!
http://www.fullyfollow.me/rootnl2k Look at Psalms 14 and 53 on Atheism
C'est temps pour le Quebec de dire non a la Parti Qorruption!
I R A Darth Aggie
2014-03-19 16:15:43 UTC
Permalink
On Mon, 17 Mar 2014 20:40:21 +0000 (UTC),
Post by The Doctor
Post by Bjoern Hoehrmann
Post by The Doctor
Post by The Doctor
All right I have been working in prefork mode with 150 clients no
problem just taxes the server to no end.
I tried to go to prefork and it chokes after 5 minutes.
Addendum some cgi scripts choked.
It would probably help if you describe "choke" in some more detail.
Cgi scripts taking an inordinate amount of time
to present.
What does running the top command on the webserver say?
--
Consulting Minister for Consultants, DNRC
I can please only one person per day. Today is not your day. Tomorrow
isn't looking good, either.
I am BOFH. Resistance is futile. Your network will be assimilated.
The Doctor
2014-03-19 16:22:28 UTC
Permalink
Post by I R A Darth Aggie
On Mon, 17 Mar 2014 20:40:21 +0000 (UTC),
Post by The Doctor
Post by Bjoern Hoehrmann
Post by The Doctor
Post by The Doctor
All right I have been working in prefork mode with 150 clients no
problem just taxes the server to no end.
I tried to go to prefork and it chokes after 5 minutes.
Addendum some cgi scripts choked.
It would probably help if you describe "choke" in some more detail.
Cgi scripts taking an inordinate amount of time
to present.
What does running the top command on the webserver say?
Let me keep this alive and let you know when I have a moment.
Post by I R A Darth Aggie
--
Consulting Minister for Consultants, DNRC
I can please only one person per day. Today is not your day. Tomorrow
isn't looking good, either.
I am BOFH. Resistance is futile. Your network will be assimilated.
--
Member - Liberal International This is ***@nl2k.ab.ca Ici ***@nl2k.ab.ca
God,Queen and country!Never Satan President Republic!Beware AntiChrist rising!
http://www.fullyfollow.me/rootnl2k Look at Psalms 14 and 53 on Atheism
C'est temps pour le Quebec de dire non a la Parti Qorruption!
Loading...