Page 1 of 1
TM1 instance stuck on restart on StatsBy... cub files
Posted: Wed May 02, 2018 7:54 pm
by vladino
Hi guys,
we are experiencing weird behavior when trying to restart a TM1 instance.
It is stuck on "TM1ServerImpl::Destroy: Commit changes" and it never ends. So the only way is to kill the process itself...
In the Data folder I can see that all "StatsBy..." cubes are being overwritten (there are *.cub$ files).
How to resolve this please? Appreciate any help!
BR
Vladino
Re: TM1 instance stuck on restart on StatsBy... cub files
Posted: Wed May 02, 2018 9:13 pm
by macsir
Never heard about that before. Did you manually save data before restarting?
Re: TM1 instance stuck on restart on StatsBy... cub files
Posted: Wed May 02, 2018 9:58 pm
by vladino
macsir wrote: ↑Wed May 02, 2018 9:13 pm
Never heard about that before. Did you manually save data before restarting?
Sure, I have written a process that runs CubeSaveData for all cubes and before restarting the instance I'm also running SaveDataAll.
Re: TM1 instance stuck on restart on StatsBy... cub files
Posted: Thu May 03, 2018 4:46 am
by macsir
I think there is some conflicting between the two functions. If you use savedataall, it is unnecessary to use CubeSaveData to save all cubes.
Re: TM1 instance stuck on restart on StatsBy... cub files
Posted: Thu May 03, 2018 7:02 am
by vladino
macsir wrote: ↑Thu May 03, 2018 4:46 am
I think there is some conflicting between the two functions. If you use savedataall, it is unnecessary to use CubeSaveData to save all cubes.
I don't think that this is the reason - sometimes it is restarted successfully, but most of the times it is stuck.
Btw. when I don't run CubeSaveData and kill the process then all data changes for cubes that aren't logged are gone... This is the reason why I'm running both CubeSaveData and SaveDataAll.
Re: TM1 instance stuck on restart on StatsBy... cub files
Posted: Thu May 03, 2018 7:18 am
by gtonkin
Are your saves in Epilog?-had issues previously with these in Prolog.
Re: TM1 instance stuck on restart on StatsBy... cub files
Posted: Fri May 04, 2018 12:36 pm
by vladino
gtonkin wrote: ↑Thu May 03, 2018 7:18 am
Are your saves in Epilog?-had issues previously with these in Prolog.
Both CubeSaveData and SaveDataAll are in Prolog... I will give it a try and let you know guys, thanks!
Re: TM1 instance stuck on restart on StatsBy... cub files
Posted: Fri May 04, 2018 9:23 pm
by vladino
vladino wrote: ↑Fri May 04, 2018 12:36 pm
gtonkin wrote: ↑Thu May 03, 2018 7:18 am
Are your saves in Epilog?-had issues previously with these in Prolog.
Both CubeSaveData and SaveDataAll are in Prolog... I will give it a try and let you know guys, thanks!
Hmm, that's interesting... It seems that it works!
Let's wait for a while if the issue is resolved. Thank you sir!
Re: TM1 instance stuck on restart on StatsBy... cub files
Posted: Sat May 05, 2018 7:50 pm
by vladino
Bad news here guys... :-/
Still sometimes hangs on "Commit changes", }StatsBy... cubes hangs in "cub$" state and the only way is to kill the process manually.
Any other suggestions?