English 中文(简体)
CPU高使用JBOSS服务器
原标题:High CPU usage on JBOSS Server

我们有一个JBOSS服务器,其配备的轴心是1.1。 我们正在利用JMeter测试服务器的性能,该服务器利用300条路透镜抽取网络服务要求。 服务器CPU在所有4个CPU上的使用达到60-70%。 因此,我们认为,这个问题将出现在我们的法典中,因此使整个法典失效,只是从第一个职能本身返回。 但《刑法》修改后,《刑事诉讼法》的使用仍然相同。

最佳回答

这很可能是一个垃圾收集器,经常运行。 在阁下的核查和核查机制中增加以下选择,分析结果:

-XX:+PrintGCDetails
-XX:+PrintGCTimeStamps
-Xloggc:gc.log

详情请参见<代码>-XX:+Print HeapAtGC。 比较容易分析联合选举机制在垃圾收集器内花费多少时间。

If GC is not the problem, you might need to plug-in some profiler to find hot-spots. However the fact that commenting-out the code does not put less stress on the CPU suggest garbage collector.

问题回答

暂无回答




相关问题
Python SOAP server / client

I have a problem with Python and SOAP. I need to create a web service based on SOAP in Python. I read that I can use libraries like soaplib, suds and ZSI. I created a Hello World web service with ...

HTTP POST and complex structures

I m trying to send a complex HTTP POST request to a web service. The web service was created using VS2008, in which you can set VS to create HTTP POST and GET interfaces alongside the SOAP one. Now ...

XML-RPC Standard and XML Data Type

I was looking at XML-RPC for a project. And correct me if I m wrong, but it seems like XML-RPC has no XML datatype. Are you supposed to pass as a string? or something else? Am I missing something? ...

Most appropriate API for URL shortening service

I ve just finished an online service for shortening URLs (in php5 with Zend Framework); you can enter an URL and you get an short URL (like tinyurl and such sites). I m thinking about the API for ...

What is the best solution for creating a SOAP Server in PHP?

I need some advice on which library is the best choice when it comes to creating SOAP servers (and eventually SOAP clients) in PHP. I know there is built-in functions for this, but is that really the ...

Logging all Soap request and responses in PHP

Does anyone know how to log all request and responses with the builtin SoapClient in PHP? I could in fact manually log everything with SoapClient::__getLastRequest() and SoapClient::__getLastResponse()...

热门标签