Windows 一旦服务器CPU物理内存使用率变高,PVCS服务就会停止。问题是什么?如何解决?

Windows 一旦服务器CPU物理内存使用率变高,PVCS服务就会停止。问题是什么?如何解决?,windows,Windows,一旦服务器的物理内存使用率上升,我们的PVCS服务就会停止。一旦服务器重新启动(不推荐),服务将启动。是否有永久性的解决方案?正如Riant在上面指出的,调整堆大小是您最好的做法。事实上,我支持PVCS长达九年之久,直到2014年我跳槽。Riant的数字正是我推荐的 I resolved this issue by increasing the heapsize parameters...:-) 1.On the server system, open the following file i

一旦服务器的物理内存使用率上升,我们的PVCS服务就会停止。一旦服务器重新启动(不推荐),服务将启动。是否有永久性的解决方案?

正如Riant在上面指出的,调整堆大小是您最好的做法。事实上,我支持PVCS长达九年之久,直到2014年我跳槽。Riant的数字正是我推荐的

I resolved this issue by increasing the heapsize parameters...:-)

1.On the server system, open the following file in a text editor:

Windows as of VM 8.4.6: VM_Install\vm\common\bin\pvcsrunner.bat
Windows prior to VM 8.4.6: VM_Install\vm\common\bin\pvcsstart.bat
UNIX/Linux: VM_Install/vm/common/bin/pvcsstart.sh

2.Find the following line:

set JAVA_OPTS=

And set the value of the following parameters as needed:

-Xmsvaluem -Xmxvaluem

3.If you are running a VM release prior to 8.4.3, make sure -Dpvcs.mx= is followed by  the same value shown after -Xmx.

4.Save the file and restart the server.

The following is a rule of thumb when increasing the values for -Xmx: 

•256m -> 512m
•512m -> 1024m
•1024m -> 1280m

实际上,我会建议许多客户将-Xms和-Xmx设置为相同的值(基本上从1024开始),因为如果您的PDB和/或用户社区很大,您将比您可能意识到的更快地达到上限。

我将不得不使用内存,但现在开始。编辑pvcsstart.sh或pvcsstart.bat文件并搜索-Xms=或-Xmx=。如果内存可用,脚本的编写方式将为每个操作系统提供该行的不同副本。不幸的是,我的任何机器上都不再有启动脚本的副本,因此我无法提供文件中所需的完整语法。很抱歉