• Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • JWS 3.0.1 CR1
    • JWS 3.0.0 GA
    • httpd
    • None
    • Release Notes
    • Hide
      An warning similar to the following presented when starting Apache HTTP Server on all platforms where JBoss Web Server was installed from zip files:

      ----
      [mpm_prefork:info] [pid 25132] AH00188: MaxClients is deprecated, use MaxRequestWorkers instead.
      [core:info] [pid 25132] AH00545: MaxRequestsPerChild is deprecated, use MaxConnectionsPerChild instead.
      ----

      This is because the `00-mpm.conf` file contained deprecated configurations. The deprecated configurations have been updated in this release, and the warning should no longer appear.
      Show
      An warning similar to the following presented when starting Apache HTTP Server on all platforms where JBoss Web Server was installed from zip files: ---- [mpm_prefork:info] [pid 25132] AH00188: MaxClients is deprecated, use MaxRequestWorkers instead. [core:info] [pid 25132] AH00545: MaxRequestsPerChild is deprecated, use MaxConnectionsPerChild instead. ---- This is because the `00-mpm.conf` file contained deprecated configurations. The deprecated configurations have been updated in this release, and the warning should no longer appear.
    • Documented as Resolved Issue

      There is a warning after httpd startup on RHEL - JWS3 installed from zips:
      [mpm_prefork:info] [pid 25132] AH00188: MaxClients is deprecated, use MaxRequestWorkers instead.
      [core:info] [pid 25132] AH00545: MaxRequestsPerChild is deprecated, use MaxConnectionsPerChild instead.

      00-mpm.conf should be changed according this warning.

      Please check also the 00-mpm.conf for Oracle Solaris and MS Windows.

            [JWS-3] httpd mpm deprecated configurations

            Setting to resolved as I had to reopen this Jira for the release note change. I assume that this Jira was meant to be set as resolved and not closed?

            Lucas Costi (Inactive) added a comment - Setting to resolved as I had to reopen this Jira for the release note change. I assume that this Jira was meant to be set as resolved and not closed?

            Karm Karm added a comment -

            <triage> Dear rmarwaha@redhat.com, rhn-engineering-mturk could you guys have a chat and determine whether the status of this JIRA is correct? If it is and the issue is really not Ready For QA, could you make sure it is scheduled for DR2?

            Karm Karm added a comment - <triage> Dear rmarwaha@redhat.com , rhn-engineering-mturk could you guys have a chat and determine whether the status of this JIRA is correct? If it is and the issue is really not Ready For QA, could you make sure it is scheduled for DR2?

            Weinan Li added a comment -

            Hi Mladen,

            Please help to fix it in Windows.

            Weinan Li added a comment - Hi Mladen, Please help to fix it in Windows.

            Libor Fuka added a comment -

            rhn-engineering-mturk please look also to your MS Windows build conf.modules.d/00-mpm.conf.
            You have MaxRequestsPerChild which should be MaxConnectionsPerChild instead.

            Libor Fuka added a comment - rhn-engineering-mturk please look also to your MS Windows build conf.modules.d/00-mpm.conf. You have MaxRequestsPerChild which should be MaxConnectionsPerChild instead.

            verified in ER1

            Richa Marwaha added a comment - verified in ER1

            Weinan Li added a comment -
            [weli@dhcp-66-78-87 httpd24-jws3-el7]$ git diff
            diff --git a/00-mpm.conf b/00-mpm.conf
            index d8d2028..690cb4a 100644
            --- a/00-mpm.conf
            +++ b/00-mpm.conf
            @@ -25,30 +25,30 @@ LoadModule mpm_prefork_module modules/mod_mpm_prefork.so
             # 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
            -# ServerLimit: maximum value for MaxClients for the lifetime of the server
            -# MaxClients: maximum number of server processes allowed to start
            -# MaxRequestsPerChild: maximum number of requests a server process serves
            +# ServerLimit: maximum value for MaxRequestWorkers for the lifetime of the server
            +# MaxRequestWorkers: maximum number of server processes allowed to start
            +# MaxConnectionsPerChild: maximum number of requests a server process serves
             <IfModule prefork.c>
             StartServers       8
             MinSpareServers    5
             MaxSpareServers   20
             ServerLimit      256
            -MaxClients       256
            -MaxRequestsPerChild  4000
            +MaxRequestWorkers       256
            +MaxConnectionsPerChild  4000
             </IfModule>
            
             # worker MPM
             # StartServers: initial number of server processes to start
            -# MaxClients: maximum number of simultaneous client connections
            +# MaxRequestWorkers: 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
            +# MaxConnectionsPerChild: maximum number of requests a server process serves
             <IfModule worker.c>
             StartServers         2
            -MaxClients         150
            +MaxRequestWorkers         150
             MinSpareThreads     25
             MaxSpareThreads     75
             ThreadsPerChild     25
            -MaxRequestsPerChild  0
            +MaxConnectionsPerChild  0
             </IfModule>
            

            Weinan Li added a comment - [weli@dhcp-66-78-87 httpd24-jws3-el7]$ git diff diff --git a/00-mpm.conf b/00-mpm.conf index d8d2028..690cb4a 100644 --- a/00-mpm.conf +++ b/00-mpm.conf @@ -25,30 +25,30 @@ LoadModule mpm_prefork_module modules/mod_mpm_prefork.so # 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 -# ServerLimit: maximum value for MaxClients for the lifetime of the server -# MaxClients: maximum number of server processes allowed to start -# MaxRequestsPerChild: maximum number of requests a server process serves +# ServerLimit: maximum value for MaxRequestWorkers for the lifetime of the server +# MaxRequestWorkers: maximum number of server processes allowed to start +# MaxConnectionsPerChild: maximum number of requests a server process serves <IfModule prefork.c> StartServers 8 MinSpareServers 5 MaxSpareServers 20 ServerLimit 256 -MaxClients 256 -MaxRequestsPerChild 4000 +MaxRequestWorkers 256 +MaxConnectionsPerChild 4000 </IfModule> # worker MPM # StartServers: initial number of server processes to start -# MaxClients: maximum number of simultaneous client connections +# MaxRequestWorkers: 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 +# MaxConnectionsPerChild: maximum number of requests a server process serves <IfModule worker.c> StartServers 2 -MaxClients 150 +MaxRequestWorkers 150 MinSpareThreads 25 MaxSpareThreads 75 ThreadsPerChild 25 -MaxRequestsPerChild 0 +MaxConnectionsPerChild 0 </IfModule>

            Libor Fuka added a comment -

            rhn-engineering-mturk This is also in httpd MS windows build. Please fix it.

            Libor Fuka added a comment - rhn-engineering-mturk This is also in httpd MS windows build. Please fix it.

            Libor Fuka added a comment -

            00-mpm.conf from the newest JWS3 RHEL build.

            Libor Fuka added a comment - 00-mpm.conf from the newest JWS3 RHEL build.

            Libor Fuka added a comment -

            rhn-engineering-mturk please also look at this for Solaris and Windows.
            Thank you

            Libor Fuka added a comment - rhn-engineering-mturk please also look at this for Solaris and Windows. Thank you

              rhn-engineering-mturk Mladen Turk
              lfuka Libor Fuka
              Karm Karm Karm Karm
              Lucas Costi Lucas Costi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: