Performance Charts service returned an invalid response

Today while working in my lab I was facing performance issues with one of my Esxi host and decided to analyze the performance chart of the host to find out the root cause.

When I select the host and clicked on Performance tab, there was nothing in there and instead it returned an error “Performance Charts service returned an invalid response

perf-1

However when I switched to advance view I was able to see the charts.

perf-2

This was strange. I started googling with the error message and came to a discussion thread on VMTN where someone has suggested to enable IPv6 on host.

perf-3

I followed the same thing and enabled IPv6 on my Esxi host and rebooted it for changes to take affect. Once host was rebooted I again selected the performance charts and still I was seeing the same error.

I continued with googling and came to a cool Blog-Post by MATT BRADFORD and followed the steps.

Basically the fix was to append “maxHttpHeaderSize=”65536” value for IPv4 and IPv6 sections in file:

C:\ProgramData\VMware\vCenterServer\data\perfcharts\tc-instance\conf\server.xml

Note: Before making this change make sure your stop vCenter Server service first.

Once you stopped the vCenter Server edit server.xml file and insert the above mentioned value. Your file should like below:

<!-- IPv4 configuration -->
        <Connector address="127.0.0.1"
                   acceptCount="300"
                   maxThreads="300"
                   connectionTimeout="20000"
                   executor="tomcatThreadPool"
                   maxKeepAliveRequests="15"
                   port="${bio.http.port}"
		   maxHttpHeaderSize="65536"
                   protocol="org.apache.coyote.http11.Http11Protocol"/>
        <!-- IPv6 configuration -->
        <Connector address="::1"
                   acceptCount="300"
                   maxThreads="300"
                   connectionTimeout="20000"
                   executor="tomcatThreadPool"
                   maxKeepAliveRequests="15"
                   port="${bio.http.port}"
		   maxHttpHeaderSize="65536"
                   protocol="org.apache.coyote.http11.Http11Protocol"/>


We need to restart the VMware Performance Charts service. This can be done via either services.msc or by executing the following from an administrative command prompt.

C:\Program Files\VMware\vCenter Server\bin\service-control --stop vmware-perfcharts
C:\Program Files\VMware\vCenter Server\bin\service-control --start vmware-perfcharts

After this I was able to see performance charts now.

perf-5

I hope you enjoyed reading this post. Feel free to share this on social media if it is worth sharing. Be sociable 🙂

No Comments