zoukankan      html  css  js  c++  java
  • The process could not execute 'sp_MSadd_replcmds'错误解决方案

    场景:

    今天在一台服务器上创建了一千五百个article的同步链后(大概十多个数据库),发现部分同步链存在报错。

    具体现象是:

    部分同步链的Log Reader和Distribution Agent Job无法被启动,具体的报错信息是:The process could not execute 'sp_MSadd_replcmds' on Database.....

    查找了各种方案,都不得解决。最后突然想到可能跟注册表中一个值有关,之后去作出对应的修改:

    将下列的

    HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession ManagerSubSystemsWindows:
    %SystemRoot%system32csrss.exe ObjectDirectory=Windows SharedSection=1024,20480,768 Windows=On SubSystemType=Windows ServerDll=basesrv,1 ServerDll=winsrv:UserServerDllInitialization,3 ServerDll=winsrv:ConServerDllInitialization,2 ProfileControl=Off MaxRequestThreads=16

    修改成
    ->%SystemRoot%system32csrss.exe ObjectDirectory=Windows SharedSection=1024,20480,2048 Windows=On SubSystemType=Windows ServerDll=basesrv,1 ServerDll=winsrv:UserServerDllInitialization,3 ServerDll=winsrv:ConServerDllInitialization,2 ProfileControl=Off MaxRequestThreads=16

    之后再重启了服务器,这个错误就消失了。

    --------------------------------------------------------

    感觉自己有些时候还是没太全面参照我们的SOP来配置,其实在SOP中存在这部分的设置。给自己提个醒。。。。

  • 相关阅读:
    JVisualVM简介与内存泄漏实战分析
    高并发性能提升和超卖的解决方案
    ehcache应用场景及集群同步(RMI)
    一台机器配置多个tomcat的实践经验
    事务范围数据库读写分离失败
    基于spring的数据库读写分离
    Zookeeper linux下使用
    Zookeeper集群
    Dubbo入门实例(二)
    Zookeeper安装与启动
  • 原文地址:https://www.cnblogs.com/Wison-Ho/p/4900578.html
Copyright © 2011-2022 走看看