Apache Gatweay Service on Windows crashes if request URL is long

  • 7017305
  • 28-Feb-2016
  • 29-Feb-2016

Environment

NetIQ Access Manager 4.2
NetIQ Access Manager 4.1
NetIQ Access Manager 4.0

Situation

Resolution

Do the below modification to the file C:\Program Files\Novell\apache\conf\extra\httpd-mpm.conf:

# WinNT MPM

# ThreadsPerChild: constant number of worker threads in the server process

# MaxRequestsPerChild: maximum  number of requests a server process serves

<IfModule mpm_winnt_module>

    ThreadsPerChild      1920

    MaxRequestsPerChild    0

   ThreadStackSize 512000

</IfModule>

Restart Apache Windows Service.

Cause

The long URL string is causing stack corruption. In linux by default the stack size of each thread in defined and apache uses the default value. In case of windows, the value need to be specified using ThreadStackSize  directive.