Skip to main content

Installation Http2 bugs

Comments

2 comments

  • cPWilliamL
    Hi @Derekn, Prefork is not a threaded MPM. When used with h2, if the server was under stress, h2 may try to reference memory which was already unmapped. As of 2.4.27, Apache developers have set 'h2_workers' to 1, which essentially negates the effects h2 has. As a result, we created a conflict for h2 and Prefork. It sounds like you may not have chosen an MPM to replace Prefork. Have you tried, for example, uninstalling Prefork, and installing MPM Event with h2? Regarding cgi vs cgid, please see the `yum info' description:
    Name : ea-apache24-mod_cgi Description : The mod_cgi module adds a handler for executing CGI scripts. This : module is meant for a forked MPM; for threaded MPMs, mod_cgid : should be used. Name : ea-apache24-mod_cgid Description : The mod_cgid module adds a handler for executing CGI scripts. This : module is meant for threaded MPMs; for forked MPMs, mod_cgi should : be used.
    So, for h2, you should have a threaded MPM(i.e. not prefork) and you should use cgid. Thanks,
    0
  • Derekn
    Hi, yes, it worked. Thank you so much for your help, im really appreciated Also, my suggestion is you should mention this in http2 installation documentation.
    0

Please sign in to leave a comment.