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 🙂


		

About Alex Hunt

Hi All I am Manish Kumar Jha aka Alex Hunt. I am currently working in VMware Software India Pvt Ltd as Operations System Engineer (vCloud Air Operations). I have around 5 Years of IT experience and have exposure on VMware vSphere, vCloud Director, RHEL and modern data center technologies like Cisco UCS and Cisco Nexus 1000v and NSX. If you find any post informational to you please press like and share it across social media and leave your comments if you want to discuss further on any post. Disclaimer: All the information on this website is published in good faith and for general information purpose only. I don’t make any warranties about the completeness, reliability and accuracy of this information. Any action you take upon the information you find on this blog is strictly at your own risk. The Views and opinions published on this blog are my own and not the opinions of my employer or any of the vendors of the product discussed.
This entry was posted in Vmware. Bookmark the permalink.

One Response to Performance Charts service returned an invalid response

  1. Pingback: Newsletter: January 10, 2016 | Notes from MWhite

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s