Issue w/Apache + mpm event(13) Permission denied on Apache CGI attemptApache MPM event in Apache 2.4+Apache...

Non-Italian European mafias in USA?

USB C PD fast power role swap

Is divide-by-zero a security vulnerability?

Can throughput exceed the bandwidth of a network

The need of reserving one's ability in job interviews

Can we carry rice to Japan?

What is a term for a function that when called repeatedly, has the same effect as calling once?

What are the issues with an additional (limited) concentration slot instead of Bladesong?

Would the melodic leap of the opening phrase of Mozart's K545 be considered dissonant?

Calculating Hyperbolic Sin faster than using a standard power series

How can I be pwned if I'm not registered on the compromised site?

Arrow between lines in the align environment

How to kill a localhost:8080

Why did John Williams use a march to symbolise Indiana Jones?

For the Kanji 校 is the fifth stroke connected to the sixth stroke?

Where is the fallacy here?

A bug in Excel? Conditional formatting for marking duplicates also highlights unique value

Can you be healed or stabilized (if downed) while petrified?

What is this waxed root vegetable?

What are all the squawk codes?

Is it possible to make a clamp function shorter than a ternary in JS?

Every subset equal to original set?

Do you continue making death saving throws while petrified?

Sometimes a banana is just a banana



Issue w/Apache + mpm event


(13) Permission denied on Apache CGI attemptApache MPM event in Apache 2.4+Apache 2.4.7 install issueIs Apache Prefork working fast then Worker MPM to serve static content?How to configure Apache “workers” for maximum concurrencyapache event mpm hangs sporadiclyswitch apache from prefork to event in Ubuntu 16, get php 7 workingHow to make apache and php use more memory?GTmetrix, apache, mpm_event and keepalivesApache HTTP Server: MaxSpareThreads not being honored













0















I have one web server which is running nginx proxying apache.
Apache was configured out of the box with mpm_prefork and I changed it to mpm event.



Now...
When configured with MPM event Apache starts using all memory.



httpd -V
Server version: Apache/2.4.38 (codeit)
Server built: Jan 19 2019 20:40:31
Server's Module Magic Number: 20120211:83
Server loaded: APR 1.5.2, APR-UTIL 1.5.2
Compiled using: APR 1.5.2, APR-UTIL 1.5.2
Architecture: 64-bit
Server MPM: event
threaded: yes (fixed thread count)
forked: yes (variable process count)


This is the config for the module:



<IfModule mpm_event_module>
ServerLimit 2
ThreadLimit 64
ThreadsPerChild 64
MinSpareThreads 16
MaxSpareThreads 64
MaxRequestWorkers 128
MaxRequestsPerChild 2000
KeepAliveTimeout 2
MaxKeepAliveRequests 500
</IfModule>


After 10 hours of restarting the service, this is how it looks like:



top - 09:39:07 up 1 day, 15:51,  1 user,  load average: 0.49, 0.73, 0.66
Tasks: 117 total, 1 running, 116 sleeping, 0 stopped, 0 zombie
%Cpu(s): 2.1 us, 12.6 sy, 0.0 ni, 47.1 id, 20.5 wa, 0.0 hi, 1.0 si, 16.6 st
KiB Mem : 3880396 total, 111776 free, 3689980 used, 78640 buff/cache
KiB Swap: 0 total, 0 free, 0 used. 7180 avail Mem

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
30241 apache 20 0 4633468 1.8g 180 S 0.0 49.7 33:38.48 httpd
26827 apache 20 0 4311940 1.5g 180 S 0.0 40.4 10:26.67 httpd ```


Memory Usage



The server isn't under heavy load. This server is only running a couple of services ... nginx, apache, named, php. Database server is other machine.



Anyone has any idea?









share





























    0















    I have one web server which is running nginx proxying apache.
    Apache was configured out of the box with mpm_prefork and I changed it to mpm event.



    Now...
    When configured with MPM event Apache starts using all memory.



    httpd -V
    Server version: Apache/2.4.38 (codeit)
    Server built: Jan 19 2019 20:40:31
    Server's Module Magic Number: 20120211:83
    Server loaded: APR 1.5.2, APR-UTIL 1.5.2
    Compiled using: APR 1.5.2, APR-UTIL 1.5.2
    Architecture: 64-bit
    Server MPM: event
    threaded: yes (fixed thread count)
    forked: yes (variable process count)


    This is the config for the module:



    <IfModule mpm_event_module>
    ServerLimit 2
    ThreadLimit 64
    ThreadsPerChild 64
    MinSpareThreads 16
    MaxSpareThreads 64
    MaxRequestWorkers 128
    MaxRequestsPerChild 2000
    KeepAliveTimeout 2
    MaxKeepAliveRequests 500
    </IfModule>


    After 10 hours of restarting the service, this is how it looks like:



    top - 09:39:07 up 1 day, 15:51,  1 user,  load average: 0.49, 0.73, 0.66
    Tasks: 117 total, 1 running, 116 sleeping, 0 stopped, 0 zombie
    %Cpu(s): 2.1 us, 12.6 sy, 0.0 ni, 47.1 id, 20.5 wa, 0.0 hi, 1.0 si, 16.6 st
    KiB Mem : 3880396 total, 111776 free, 3689980 used, 78640 buff/cache
    KiB Swap: 0 total, 0 free, 0 used. 7180 avail Mem

    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    30241 apache 20 0 4633468 1.8g 180 S 0.0 49.7 33:38.48 httpd
    26827 apache 20 0 4311940 1.5g 180 S 0.0 40.4 10:26.67 httpd ```


    Memory Usage



    The server isn't under heavy load. This server is only running a couple of services ... nginx, apache, named, php. Database server is other machine.



    Anyone has any idea?









    share



























      0












      0








      0








      I have one web server which is running nginx proxying apache.
      Apache was configured out of the box with mpm_prefork and I changed it to mpm event.



      Now...
      When configured with MPM event Apache starts using all memory.



      httpd -V
      Server version: Apache/2.4.38 (codeit)
      Server built: Jan 19 2019 20:40:31
      Server's Module Magic Number: 20120211:83
      Server loaded: APR 1.5.2, APR-UTIL 1.5.2
      Compiled using: APR 1.5.2, APR-UTIL 1.5.2
      Architecture: 64-bit
      Server MPM: event
      threaded: yes (fixed thread count)
      forked: yes (variable process count)


      This is the config for the module:



      <IfModule mpm_event_module>
      ServerLimit 2
      ThreadLimit 64
      ThreadsPerChild 64
      MinSpareThreads 16
      MaxSpareThreads 64
      MaxRequestWorkers 128
      MaxRequestsPerChild 2000
      KeepAliveTimeout 2
      MaxKeepAliveRequests 500
      </IfModule>


      After 10 hours of restarting the service, this is how it looks like:



      top - 09:39:07 up 1 day, 15:51,  1 user,  load average: 0.49, 0.73, 0.66
      Tasks: 117 total, 1 running, 116 sleeping, 0 stopped, 0 zombie
      %Cpu(s): 2.1 us, 12.6 sy, 0.0 ni, 47.1 id, 20.5 wa, 0.0 hi, 1.0 si, 16.6 st
      KiB Mem : 3880396 total, 111776 free, 3689980 used, 78640 buff/cache
      KiB Swap: 0 total, 0 free, 0 used. 7180 avail Mem

      PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
      30241 apache 20 0 4633468 1.8g 180 S 0.0 49.7 33:38.48 httpd
      26827 apache 20 0 4311940 1.5g 180 S 0.0 40.4 10:26.67 httpd ```


      Memory Usage



      The server isn't under heavy load. This server is only running a couple of services ... nginx, apache, named, php. Database server is other machine.



      Anyone has any idea?









      share
















      I have one web server which is running nginx proxying apache.
      Apache was configured out of the box with mpm_prefork and I changed it to mpm event.



      Now...
      When configured with MPM event Apache starts using all memory.



      httpd -V
      Server version: Apache/2.4.38 (codeit)
      Server built: Jan 19 2019 20:40:31
      Server's Module Magic Number: 20120211:83
      Server loaded: APR 1.5.2, APR-UTIL 1.5.2
      Compiled using: APR 1.5.2, APR-UTIL 1.5.2
      Architecture: 64-bit
      Server MPM: event
      threaded: yes (fixed thread count)
      forked: yes (variable process count)


      This is the config for the module:



      <IfModule mpm_event_module>
      ServerLimit 2
      ThreadLimit 64
      ThreadsPerChild 64
      MinSpareThreads 16
      MaxSpareThreads 64
      MaxRequestWorkers 128
      MaxRequestsPerChild 2000
      KeepAliveTimeout 2
      MaxKeepAliveRequests 500
      </IfModule>


      After 10 hours of restarting the service, this is how it looks like:



      top - 09:39:07 up 1 day, 15:51,  1 user,  load average: 0.49, 0.73, 0.66
      Tasks: 117 total, 1 running, 116 sleeping, 0 stopped, 0 zombie
      %Cpu(s): 2.1 us, 12.6 sy, 0.0 ni, 47.1 id, 20.5 wa, 0.0 hi, 1.0 si, 16.6 st
      KiB Mem : 3880396 total, 111776 free, 3689980 used, 78640 buff/cache
      KiB Swap: 0 total, 0 free, 0 used. 7180 avail Mem

      PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
      30241 apache 20 0 4633468 1.8g 180 S 0.0 49.7 33:38.48 httpd
      26827 apache 20 0 4311940 1.5g 180 S 0.0 40.4 10:26.67 httpd ```


      Memory Usage



      The server isn't under heavy load. This server is only running a couple of services ... nginx, apache, named, php. Database server is other machine.



      Anyone has any idea?







      apache-2.4 mpm-event





      share














      share












      share



      share








      edited 17 secs ago









      Gerald Schneider

      6,40112446




      6,40112446










      asked 4 mins ago









      Ricardo MendesRicardo Mendes

      163




      163






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "2"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f956979%2fissue-w-apache-mpm-event%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Server Fault!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f956979%2fissue-w-apache-mpm-event%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          117736 Шеррод Примітки | Див. також | Посилання | Навігаційне...

          As a Security Precaution, the user account has been locked The Next CEO of Stack OverflowMS...

          Маріан Котлеба Зміст Життєпис | Політичні погляди |...