Directory Locations Getting "Confused"
Posted: Wed Oct 30, 2013 3:08 pm
Hello,
We've encountered an issue and are experiencing some strange behavior with how Tm1 looks to be resolving directories on the server. Let me provide some details:
This particular situation appears to arise when we perform a SaveDataAll while having a large amount of users in the system/trying to log in. Our instance has several large cubes with daily data and is heavily ruled so performing a SaveDataAll takes 20 - 30 minutes.
When this situation arises there are a couple of strange things that start to occur:
- We have a load process that creates a log file in the directory above the database directory (i.e. '..\FileName.log'). Once we get into this state, the process still creates the file however it's placed in a seemingly random location. Often, the file is placed in the directory for our namespace that contains all the sub directories for the users' private views and subsets. However, sometimes it places the log file into one of the individual user directories. I realize it probably be a better idea to use an explicit directory (D:\MyDirectory\Filename.log vs...\File). However, I have left this because it helps me identify when this issue occurs. I can live with misplaced log files, the item below is a bit more critical).
- We have a handful of processes that leverage batch files to perform a variety of functions (e.g. emailing, calculating cells concurrently, etc.). Once this particular scenario arises, any action that leverages a batch file does not perform. All calls made to execute a batch file is made explicit path (e.g. D:\DatabasDirectory\MyBtach.bat). What I assume is occurring is that much like our logs getting placed into the wrong directory, when we call the batch file it's looking somewhere it's not supposed to and just failing. Unfortunately, being a production server I cannot get onto the server or do some simple debugging to see what Tm1 is doing.
This behavior is not consistent every time we run a SaveDataAll. But as I mentioned high usage attempts during this seems to be the only symptom I can discern. After rebooting the server, all is fixed. The logs are written to the correct directory and all processes using batch files work as expected.
Any thoughts? Has anyone ever seen anything like this before?
Thanks,
Brad
We've encountered an issue and are experiencing some strange behavior with how Tm1 looks to be resolving directories on the server. Let me provide some details:
This particular situation appears to arise when we perform a SaveDataAll while having a large amount of users in the system/trying to log in. Our instance has several large cubes with daily data and is heavily ruled so performing a SaveDataAll takes 20 - 30 minutes.
When this situation arises there are a couple of strange things that start to occur:
- We have a load process that creates a log file in the directory above the database directory (i.e. '..\FileName.log'). Once we get into this state, the process still creates the file however it's placed in a seemingly random location. Often, the file is placed in the directory for our namespace that contains all the sub directories for the users' private views and subsets. However, sometimes it places the log file into one of the individual user directories. I realize it probably be a better idea to use an explicit directory (D:\MyDirectory\Filename.log vs...\File). However, I have left this because it helps me identify when this issue occurs. I can live with misplaced log files, the item below is a bit more critical).
- We have a handful of processes that leverage batch files to perform a variety of functions (e.g. emailing, calculating cells concurrently, etc.). Once this particular scenario arises, any action that leverages a batch file does not perform. All calls made to execute a batch file is made explicit path (e.g. D:\DatabasDirectory\MyBtach.bat). What I assume is occurring is that much like our logs getting placed into the wrong directory, when we call the batch file it's looking somewhere it's not supposed to and just failing. Unfortunately, being a production server I cannot get onto the server or do some simple debugging to see what Tm1 is doing.
This behavior is not consistent every time we run a SaveDataAll. But as I mentioned high usage attempts during this seems to be the only symptom I can discern. After rebooting the server, all is fixed. The logs are written to the correct directory and all processes using batch files work as expected.
Any thoughts? Has anyone ever seen anything like this before?
Thanks,
Brad