Menu

increased memory usage with mod_qos 11.74 + event

2023-07-25
2023-07-26
  • Gabriel Pineda

    Gabriel Pineda - 2023-07-25

    I understand that support with event is limited and noticed that there has been work to make it work better with it. We are currently using Apache 2.4.57 + event with mod_qos 11.70. When we test with 11.74 we are noticing increased memory usage by the parent httpd proc. We are not seeing same behavior if we use worker with 11.74

    224246 root      20   0 8170m 7.6g 6.9g S  0.0 17.8   0:45.07 /usr/sbin/httpd
    

    vs

    339370 root      20   0 3471m 3.0g 2.4g S  0.0  7.1   0:09.88 /usr/sbin/httpd
    

    it more than doubles the amount of memory used. These are very dense servers with lots of vhosts + ssl so base memory usage is kinda high but with latest version of mod_qos seems to be a lot worse. If it makes any difference only mod_qos directive we are using is QS_LocRequestLimitDefault

     

    Last edit: Gabriel Pineda 2023-07-25
  • Pascal Buchbinder

    Hi
    mod_qos changed how it calculates the maximum number of connections. As you don't use any connection based limitations, you can override the default by using the QS_MaxClients directive (to the same value as you have set for MaxRequestWorkers).
    Hope this helps...
    Regards, Pascal

     

Log in to post a comment.