AlmBufWaitForSemaphore - Error зависает Historian
Добавлено: Сб янв 24, 2015 9:24 pm
Доброго времени суток уважаемые специалисты!
Мы не разработчики проекта - а обслуживающая АСУТП организация, помогите, пожалуйста разобраться у нас проблема с Historian Server.
На АРМах часто и непрерывно мониторят HistClientTrend, Historical Trend, AlmDbViewCtrl.
Периодически, после перезагрузки Historian Server с каждым днем чаще и чаще зависают тренды HistClientTrend и Historical Trend, история аварий AlmDbViewCtrl, а позже и сами АРМы с запущенным WindowViewer.
Спасает от зависания перезагрузка Historian Server, затем через неделю нормальной работы начинаются подвисания АРМ минут на 5-10 раз в сутки, затем через пару дней 3-4 раза в сутки, затем "зависают" и не "отвисают" АРМы, тогда уже решаемся на перезагрузку АРМ и Historian Server.
view.exe потребляет в рабочем режиме в среднем 150 Мб при зависании без изменений.
версии WW и версии ОС:
InTouch Application Manager и InTouch WindowMaker: Version 10.1.301
Archestra IDE: 3.1.301
Historian Client 3/1/10
АРМ - Microsoft Windows XP Professional 2002 SP3 32-битная
IO сервера ввода/вывода - Microsoft Window Server 2003 R2 SP2 32-битная
Historian Server - Microsoft Window Server 2003 R2 SP2 32-битная
SQL 2005
в Historian Server в таблице PublicNameSpace в бд Runtime таблицы dbo.PublicNameSpace 1378 записей, в бд WWALMDB таблица dbo.Events 1845000 записей.
WWALMDB.mdf занимает 70 Gb
WWALMDB_log.LDF 130 Gb
Логи SMC Historian Server "GTES-HISTORIAN":
28.12.2014 02:10:53 aahCfgSvc GTES-HISTORIAN 051 Warning aahCfgSvc Driver stopped (System driver, 2014/12/28 02:10:21.496) [GTES-HISTORIAN; aahCfgSvc.cpp; 8401]
28.12.2014 02:11:17 aaBootstrap GTES-HISTORIAN 498 Warning aaBootstrap This process failed to send heartbeat and it exceeds maximum WatchdogFault.. This process will be restarted.
28.12.2014 02:14:09 AlarmBuf GTES-HISTORIAN 067 Error alarmmgr !AlmBufWaitForSemaphore - Error: (0) - The operation completed successfully.
28.12.2014 02:17:45 AlarmBuf GTES-HISTORIAN 283 Error alarmmgr !ERR Failed semaphore wait [for Local\CBThreadSemaphore] in AlmBufWaitForSemaphore [last_err=0]
28.12.2014 02:17:45 aaBootstrap GTES-HISTORIAN 283 Warning aaBootstrap Pid:11440 Path:C:\Program Files\ArchestrA\Framework\Bin\aaEngine.exe Cmd:Deploy=False,Restart=True, ScanState=Last,CheckpointPath=,ClsId={BE4A11B6-86C2-49C6-883E ABA501A6BCC7},EngineId=1,EngineName=GTES_HISTORIAN,EngineSignature=0,IsPlatformEngine=-1, PlatformId=5 Ctrl:-p -v
28.12.2014 02:17:45 AlarmBuf GTES-HISTORIAN 299 Error alarmmgr !ERR Semaphore wait failed in CBThrd_CallbackThreadMain [hCBThreadSemaphore=00000160]
28.12.2014 02:26:09 aahCfgSvc GTES-HISTORIAN 728 Warning aahCfgSvc Driver stopped (System driver, 2014/12/28 02:25:43.405) [GTES-HISTORIAN; aahCfgSvc.cpp; 8401]
28.12.2014 02:26:36 aaBootstrap GTES-HISTORIAN 583 Warning aaBootstrap This process failed to send heartbeat and it exceeds maximum WatchdogFault.. This process will be restarted.
28.12.2014 02:27:12 aaBootstrap GTES-HISTORIAN 576 Warning aaBootstrap Pid:11664 Path:C:\Program Files\ArchestrA\Framework\Bin\aaEngine.exe Cmd:Deploy=False,Restart=True, ScanState=Last,CheckpointPath=,ClsId={BE4A11B6-86C2-49C6-883E-ABA501A6BCC7},EngineId=1,EngineName=GTES_HISTORIAN,EngineSignature=0,IsPlatformEngine=-1,PlatformId=5 Ctrl:-p -v
29.12.2014 00:44:43 aaBootstrap GTES-HISTORIAN 634 Warning aaBootstrap This process failed to send heartbeat and it exceeds maximum WatchdogFault.. This process will be restarted.
... -/- аналогично 28.12.2014 02:11:17
29.12.2014 00:50:33 AlarmBuf GTES-HISTORIAN 743 Error alarmmgr !ERR Semaphore wait failed in CBThrd_CallbackThreadMain [hCBThreadSemaphore=00000160]
29.12.2014 00:52:49 aahStoreSvc GTES-HISTORIAN 087 Warning aahCfgSvc Attempt to store values in the future; timestamps were overwritten with current time (pipe name, TagName, wwTagKey, system time (UTC), time difference (sec)) (GTES-HISTORIAN_mdas, Unit_dAna_10.Value, 1758, 2014/12/28 19:48:36.603, 1) [GTES-HISTORIAN; pipeserver.cpp; 1831; 18845]
29.12.2014 00:52:51 aahStoreSvc GTES-HISTORIAN 150 Warning aahCfgSvc Attempt to store values in the future; timestamps were overwritten with current time (pipe name, TagName, wwTagKey, system time (UTC), time difference (sec)) (GTES-HISTORIAN_mdas, GS1_PDIA.Value, 1920, 2014/12/28 19:52:49.165, 1) [GTES-HISTORIAN; pipeserver.cpp; 1831]
29.12.2014 00:57:01 aahStoreSvc GTES-HISTORIAN 337 Warning aahCfgSvc Attempt to store values in the future; timestamps were overwritten with current time (pipe name, TagName, wwTagKey, system time (UTC), time difference (sec)) (GTES-HISTORIAN_mdas, KNS.P_16bit, 1882, 2014/12/28 19:57:01.368, 1) [GTES-HISTORIAN; pipeserver.cpp; 1831]
24.01.2015 04:33:27 aaBootstrap GTES-HISTORIAN 961 Warning aaBootstrap This process failed to send heartbeat and it exceeds maximum WatchdogFault.. This process will be restarted.
24.01.2015 04:33:33 aahCfgSvc GTES-HISTORIAN 586 Warning aahCfgSvc Driver stopped (System driver, 2015/01/24 04:33:07.415) [GTES-HISTORIAN; aahCfgSvc.cpp; 8401]
24.01.2015 04:36:25 AlarmBuf GTES-HISTORIAN 696 Error alarmmgr !AlmBufWaitForSemaphore - Error: (0) - The operation completed successfully.
24.01.2015 04:40:52 aahIDASSvc (local) GTES-HISTORIAN 649 Warning aahIDASSvc GTES-HISTORIAN_2: Failed to send acquisition status. Connection to server timed out (This operation returned because the timeout period expired)
24.01.2015 04:41:22 aahDrvSvc GTES-HISTORIAN 586 Warning aahDrvSvc GTES-HISTORIAN_1: Failed to send acquisition status. Connection to server timed out (This operation returned because the timeout period expired)
24.01.2015 04:42:36 AlarmBuf GTES-HISTORIAN 368 Error alarmmgr !ERR Failed semaphore wait [for Local\CBThreadSemaphore] in AlmBufWaitForSemaphore [last_err=0]
24.01.2015 04:42:36 AlarmBuf GTES-HISTORIAN 368 Error alarmmgr !ERR Semaphore wait failed in CBThrd_CallbackThreadMain [hCBThreadSemaphore=00000160]
24.01.2015 04:42:36 aaBootstrap GTES-HISTORIAN 368 Warning aaBootstrap Pid:5888 Path:C:\Program Files\ArchestrA\Framework\Bin\aaEngine.exe Cmd:Deploy=False,Restart=True,ScanState=Last,CheckpointPath=,ClsId={BE4A11B6-86C2-49C6-883E-ABA501A6BCC7},EngineId=1,EngineName=GTES_HISTORIAN,EngineSignature=0,IsPlatformEngine=-1,
PlatformId=5 Ctrl:-p -v
24.01.2015 04:43:41 aahCfgSvc GTES-HISTORIAN 993 Warning aahCfgSvc Driver stopped (System driver, 2015/01/24 04:43:16.477) [GTES-HISTORIAN; aahCfgSvc.cpp; 8401]
24.01.2015 04:45:12 GTES_HISTORIAN.aaEngine GTES-HISTORIAN 571 Error aaEngine Unknown error 0xC0000005 (c0000005) raised.
24.01.2015 04:45:13 GTES_HISTORIAN.aaEngine GTES-HISTORIAN 930 Error aaEngine Unknown error 0xC0000005 (c0000005) raised.
24.01.2015 04:45:14 GTES_HISTORIAN.aaEngine GTES-HISTORIAN 883 Error aaEngine Unknown error 0xC0000005 (c0000005) caught at line 238 in FsEngine.cpp (in Z:\SysObjectDev\src\FsEngine\).
24.01.2015 04:45:14 GTES_HISTORIAN.aaEngine GTES-HISTORIAN 883 Error aaEngine WinMain exiting error code c0000005
Логи SMC АРМ "GTES-ARM5":
31.12.2014 14:44:35 AlarmViewer GTES-ARM5 187 Error view There are no records to show, cannot call "AckVisible".
01.01.2015 21:02:53 AlarmBuf GTES-ARM5 763 Error alarmmgr !AlmBufWaitForSemaphore - Error: (0) - Операция успешно завершена.
01.01.2015 21:02:53 AlarmBuf GTES-ARM5 763 Error alarmmgr !ERR Failed semaphore wait [for Local\CBThreadSemaphore] in AlmBufWaitForSemaphore [last_err=0]
01.01.2015 21:02:53 AlarmBuf GTES-ARM5 763 Error alarmmgr !ERR Semaphore wait failed in CBThrd_CallbackThreadMain [hCBThreadSemaphore=00000134]
Логи SMC сервера ввода вывода "GTES-IO2"
24.01.2015 09:55:52 ITAlarmProvider GTES-IO2 977 Error aaEngine Failed to send GTES_OSO_Unit_00.R4.Input.InputSource.'Event' message to InTouch!! hr = 1; Status = -21
24.01.2015 09:55:52 ITAlarmProvider GTES-IO2 977 Error aaEngine Failed to send GTES_OSO_Unit_00.R4.Output.OutputDest.'Event' message to InTouch!! hr = 1; Status = -21
24.01.2015 09:55:52 ITAlarmProvider GTES-IO2 977 Error aaEngine Failed to send GTES_OSO_Unit_00.CTRL_AI00.Input.InputSource.'Event' message to InTouch!! hr = 1; Status = -21
24.01.2015 09:55:52 ITAlarmProvider GTES-IO2 977 Error aaEngine Failed to send GTES_OSO_Unit_00.CTRL_AI00.Output.OutputDest.'Event' message to InTouch!! hr = 1; Status = -21
24.01.2015 09:55:52 ITAlarmProvider GTES-IO2 977 Error aaEngine Failed to send GTES_OSO_Unit_00.CTRL_AI01.Input.InputSource.'Event' message to InTouch!! hr = 1; Status = -21
Подскажите пожалуйста как с этим хозяйством быть.
Мы не разработчики проекта - а обслуживающая АСУТП организация, помогите, пожалуйста разобраться у нас проблема с Historian Server.
На АРМах часто и непрерывно мониторят HistClientTrend, Historical Trend, AlmDbViewCtrl.
Периодически, после перезагрузки Historian Server с каждым днем чаще и чаще зависают тренды HistClientTrend и Historical Trend, история аварий AlmDbViewCtrl, а позже и сами АРМы с запущенным WindowViewer.
Спасает от зависания перезагрузка Historian Server, затем через неделю нормальной работы начинаются подвисания АРМ минут на 5-10 раз в сутки, затем через пару дней 3-4 раза в сутки, затем "зависают" и не "отвисают" АРМы, тогда уже решаемся на перезагрузку АРМ и Historian Server.
view.exe потребляет в рабочем режиме в среднем 150 Мб при зависании без изменений.
версии WW и версии ОС:
InTouch Application Manager и InTouch WindowMaker: Version 10.1.301
Archestra IDE: 3.1.301
Historian Client 3/1/10
АРМ - Microsoft Windows XP Professional 2002 SP3 32-битная
IO сервера ввода/вывода - Microsoft Window Server 2003 R2 SP2 32-битная
Historian Server - Microsoft Window Server 2003 R2 SP2 32-битная
SQL 2005
в Historian Server в таблице PublicNameSpace в бд Runtime таблицы dbo.PublicNameSpace 1378 записей, в бд WWALMDB таблица dbo.Events 1845000 записей.
WWALMDB.mdf занимает 70 Gb
WWALMDB_log.LDF 130 Gb
Логи SMC Historian Server "GTES-HISTORIAN":
28.12.2014 02:10:53 aahCfgSvc GTES-HISTORIAN 051 Warning aahCfgSvc Driver stopped (System driver, 2014/12/28 02:10:21.496) [GTES-HISTORIAN; aahCfgSvc.cpp; 8401]
28.12.2014 02:11:17 aaBootstrap GTES-HISTORIAN 498 Warning aaBootstrap This process failed to send heartbeat and it exceeds maximum WatchdogFault.. This process will be restarted.
28.12.2014 02:14:09 AlarmBuf GTES-HISTORIAN 067 Error alarmmgr !AlmBufWaitForSemaphore - Error: (0) - The operation completed successfully.
28.12.2014 02:17:45 AlarmBuf GTES-HISTORIAN 283 Error alarmmgr !ERR Failed semaphore wait [for Local\CBThreadSemaphore] in AlmBufWaitForSemaphore [last_err=0]
28.12.2014 02:17:45 aaBootstrap GTES-HISTORIAN 283 Warning aaBootstrap Pid:11440 Path:C:\Program Files\ArchestrA\Framework\Bin\aaEngine.exe Cmd:Deploy=False,Restart=True, ScanState=Last,CheckpointPath=,ClsId={BE4A11B6-86C2-49C6-883E ABA501A6BCC7},EngineId=1,EngineName=GTES_HISTORIAN,EngineSignature=0,IsPlatformEngine=-1, PlatformId=5 Ctrl:-p -v
28.12.2014 02:17:45 AlarmBuf GTES-HISTORIAN 299 Error alarmmgr !ERR Semaphore wait failed in CBThrd_CallbackThreadMain [hCBThreadSemaphore=00000160]
28.12.2014 02:26:09 aahCfgSvc GTES-HISTORIAN 728 Warning aahCfgSvc Driver stopped (System driver, 2014/12/28 02:25:43.405) [GTES-HISTORIAN; aahCfgSvc.cpp; 8401]
28.12.2014 02:26:36 aaBootstrap GTES-HISTORIAN 583 Warning aaBootstrap This process failed to send heartbeat and it exceeds maximum WatchdogFault.. This process will be restarted.
28.12.2014 02:27:12 aaBootstrap GTES-HISTORIAN 576 Warning aaBootstrap Pid:11664 Path:C:\Program Files\ArchestrA\Framework\Bin\aaEngine.exe Cmd:Deploy=False,Restart=True, ScanState=Last,CheckpointPath=,ClsId={BE4A11B6-86C2-49C6-883E-ABA501A6BCC7},EngineId=1,EngineName=GTES_HISTORIAN,EngineSignature=0,IsPlatformEngine=-1,PlatformId=5 Ctrl:-p -v
29.12.2014 00:44:43 aaBootstrap GTES-HISTORIAN 634 Warning aaBootstrap This process failed to send heartbeat and it exceeds maximum WatchdogFault.. This process will be restarted.
... -/- аналогично 28.12.2014 02:11:17
29.12.2014 00:50:33 AlarmBuf GTES-HISTORIAN 743 Error alarmmgr !ERR Semaphore wait failed in CBThrd_CallbackThreadMain [hCBThreadSemaphore=00000160]
29.12.2014 00:52:49 aahStoreSvc GTES-HISTORIAN 087 Warning aahCfgSvc Attempt to store values in the future; timestamps were overwritten with current time (pipe name, TagName, wwTagKey, system time (UTC), time difference (sec)) (GTES-HISTORIAN_mdas, Unit_dAna_10.Value, 1758, 2014/12/28 19:48:36.603, 1) [GTES-HISTORIAN; pipeserver.cpp; 1831; 18845]
29.12.2014 00:52:51 aahStoreSvc GTES-HISTORIAN 150 Warning aahCfgSvc Attempt to store values in the future; timestamps were overwritten with current time (pipe name, TagName, wwTagKey, system time (UTC), time difference (sec)) (GTES-HISTORIAN_mdas, GS1_PDIA.Value, 1920, 2014/12/28 19:52:49.165, 1) [GTES-HISTORIAN; pipeserver.cpp; 1831]
29.12.2014 00:57:01 aahStoreSvc GTES-HISTORIAN 337 Warning aahCfgSvc Attempt to store values in the future; timestamps were overwritten with current time (pipe name, TagName, wwTagKey, system time (UTC), time difference (sec)) (GTES-HISTORIAN_mdas, KNS.P_16bit, 1882, 2014/12/28 19:57:01.368, 1) [GTES-HISTORIAN; pipeserver.cpp; 1831]
24.01.2015 04:33:27 aaBootstrap GTES-HISTORIAN 961 Warning aaBootstrap This process failed to send heartbeat and it exceeds maximum WatchdogFault.. This process will be restarted.
24.01.2015 04:33:33 aahCfgSvc GTES-HISTORIAN 586 Warning aahCfgSvc Driver stopped (System driver, 2015/01/24 04:33:07.415) [GTES-HISTORIAN; aahCfgSvc.cpp; 8401]
24.01.2015 04:36:25 AlarmBuf GTES-HISTORIAN 696 Error alarmmgr !AlmBufWaitForSemaphore - Error: (0) - The operation completed successfully.
24.01.2015 04:40:52 aahIDASSvc (local) GTES-HISTORIAN 649 Warning aahIDASSvc GTES-HISTORIAN_2: Failed to send acquisition status. Connection to server timed out (This operation returned because the timeout period expired)
24.01.2015 04:41:22 aahDrvSvc GTES-HISTORIAN 586 Warning aahDrvSvc GTES-HISTORIAN_1: Failed to send acquisition status. Connection to server timed out (This operation returned because the timeout period expired)
24.01.2015 04:42:36 AlarmBuf GTES-HISTORIAN 368 Error alarmmgr !ERR Failed semaphore wait [for Local\CBThreadSemaphore] in AlmBufWaitForSemaphore [last_err=0]
24.01.2015 04:42:36 AlarmBuf GTES-HISTORIAN 368 Error alarmmgr !ERR Semaphore wait failed in CBThrd_CallbackThreadMain [hCBThreadSemaphore=00000160]
24.01.2015 04:42:36 aaBootstrap GTES-HISTORIAN 368 Warning aaBootstrap Pid:5888 Path:C:\Program Files\ArchestrA\Framework\Bin\aaEngine.exe Cmd:Deploy=False,Restart=True,ScanState=Last,CheckpointPath=,ClsId={BE4A11B6-86C2-49C6-883E-ABA501A6BCC7},EngineId=1,EngineName=GTES_HISTORIAN,EngineSignature=0,IsPlatformEngine=-1,
PlatformId=5 Ctrl:-p -v
24.01.2015 04:43:41 aahCfgSvc GTES-HISTORIAN 993 Warning aahCfgSvc Driver stopped (System driver, 2015/01/24 04:43:16.477) [GTES-HISTORIAN; aahCfgSvc.cpp; 8401]
24.01.2015 04:45:12 GTES_HISTORIAN.aaEngine GTES-HISTORIAN 571 Error aaEngine Unknown error 0xC0000005 (c0000005) raised.
24.01.2015 04:45:13 GTES_HISTORIAN.aaEngine GTES-HISTORIAN 930 Error aaEngine Unknown error 0xC0000005 (c0000005) raised.
24.01.2015 04:45:14 GTES_HISTORIAN.aaEngine GTES-HISTORIAN 883 Error aaEngine Unknown error 0xC0000005 (c0000005) caught at line 238 in FsEngine.cpp (in Z:\SysObjectDev\src\FsEngine\).
24.01.2015 04:45:14 GTES_HISTORIAN.aaEngine GTES-HISTORIAN 883 Error aaEngine WinMain exiting error code c0000005
Логи SMC АРМ "GTES-ARM5":
31.12.2014 14:44:35 AlarmViewer GTES-ARM5 187 Error view There are no records to show, cannot call "AckVisible".
01.01.2015 21:02:53 AlarmBuf GTES-ARM5 763 Error alarmmgr !AlmBufWaitForSemaphore - Error: (0) - Операция успешно завершена.
01.01.2015 21:02:53 AlarmBuf GTES-ARM5 763 Error alarmmgr !ERR Failed semaphore wait [for Local\CBThreadSemaphore] in AlmBufWaitForSemaphore [last_err=0]
01.01.2015 21:02:53 AlarmBuf GTES-ARM5 763 Error alarmmgr !ERR Semaphore wait failed in CBThrd_CallbackThreadMain [hCBThreadSemaphore=00000134]
Логи SMC сервера ввода вывода "GTES-IO2"
24.01.2015 09:55:52 ITAlarmProvider GTES-IO2 977 Error aaEngine Failed to send GTES_OSO_Unit_00.R4.Input.InputSource.'Event' message to InTouch!! hr = 1; Status = -21
24.01.2015 09:55:52 ITAlarmProvider GTES-IO2 977 Error aaEngine Failed to send GTES_OSO_Unit_00.R4.Output.OutputDest.'Event' message to InTouch!! hr = 1; Status = -21
24.01.2015 09:55:52 ITAlarmProvider GTES-IO2 977 Error aaEngine Failed to send GTES_OSO_Unit_00.CTRL_AI00.Input.InputSource.'Event' message to InTouch!! hr = 1; Status = -21
24.01.2015 09:55:52 ITAlarmProvider GTES-IO2 977 Error aaEngine Failed to send GTES_OSO_Unit_00.CTRL_AI00.Output.OutputDest.'Event' message to InTouch!! hr = 1; Status = -21
24.01.2015 09:55:52 ITAlarmProvider GTES-IO2 977 Error aaEngine Failed to send GTES_OSO_Unit_00.CTRL_AI01.Input.InputSource.'Event' message to InTouch!! hr = 1; Status = -21
Подскажите пожалуйста как с этим хозяйством быть.