Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/apache/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Performance 502 wildfly-9.01和apache上的坏网关_Performance_Apache_Wildfly_Wildfly 9_Http Status Code 502 - Fatal编程技术网

Performance 502 wildfly-9.01和apache上的坏网关

Performance 502 wildfly-9.01和apache上的坏网关,performance,apache,wildfly,wildfly-9,http-status-code-502,Performance,Apache,Wildfly,Wildfly 9,Http Status Code 502,我们在azure环境中使用wildfly-9.01,并使用应用程序网关和WAF服务 我们观察到apache日志中的502处于欠载状态,应用程序没有响应 我们正在使用以下配置 操作系统:centos-8(32 vCPU,256 GiB内存) web服务器:带modjk的apache 应用服务器:wildfly-9.01(已分配40 GB内存) 以下是Wildfly的配置: <subsystem xmlns="urn:jboss:domain:io:1.1">

我们在azure环境中使用wildfly-9.01,并使用应用程序网关和WAF服务

我们观察到apache日志中的502处于欠载状态,应用程序没有响应

我们正在使用以下配置

操作系统:centos-8(32 vCPU,256 GiB内存)

web服务器:带modjk的apache

应用服务器:wildfly-9.01(已分配40 GB内存)

以下是Wildfly的配置:

<subsystem xmlns="urn:jboss:domain:io:1.1">
    <worker name="default" task-max-threads="500"/>
    <buffer-pool name="default"/>
</subsystem>

<subsystem xmlns="urn:jboss:domain:undertow:2.0">
    <buffer-cache name="default"/>
    <server name="default-server">
        <ajp-listener name="ajpListener" scheme="http" socket-binding="ajp" max-header-size="50000" max-post-size="5368709120" max-parameters="5000000" allow-equals-in-cookie-value="true"/>
        <http-listener name="default" socket-binding="http" redirect-socket="https" max-header-size="50000" max-post-size="5368709120" max-parameters="5000000" allow-equals-in-cookie-value="true"/>
        <host name="default-host" alias="localhost"/>
    </server>
    <servlet-container name="default">
        <jsp-config x-powered-by="false"/>
        <websockets/>
    </servlet-container>
    <filters>
        <response-header name="server-header" header-name="Server" header-value="My company"/>
        <response-header name="x-powered-by-header" header-name="X-Powered-By" header-value="My company Application"/>
    </filters>
</subsystem>
有什么建议可以看或尽量避免502

KeepAlive On
MaxKeepAliveRequests 300
KeepAliveTimeout 600
TimeOut 1200