Timeline
Timeline process causes high CPU utilization after installation
You can experience a CPU load increase after Timeline installation.
The root cause of this issue is that Redis is not installed properly, and Timeline is not able to connect to Redis. Continuous connection attempts are causing high CPU utilization.
Important. To prevent this issue, you have to be an Administrator on the target machine and have enough permissions to install Ubuntu on Windows Subsystem for Linux. For proper Ubuntu installation please run the installation file as Administrator.
To solve this issue:
- Stop the timelinepi service from services.msc or open the command prompt as Administrator and execute the following command:
sc stop timelinepi - Open PowerShell as Administrator and list all the WSL installations in your Windows system executing the following command:
wslconfig /l
Find Ubuntu (or Ubuntu-20.04) in the list and unregister the distribution executing one of the commands below, depending on the name in the list:
wslconfig /u Ubuntu
wslconfig /u Ubuntu-20.04 - Open Windows Explorer, then navigate to the Ubuntu Installation Folder which you have selected for Ubuntu during the Timeline installation. The default folder is C:\Program Files (x86)\Ubuntu
- Run the run ubuntu.exe (or ubuntu2004.exe) file as administrator and follow the instructions on the screen to install.
- Once the installation is done, run ubuntu.exe (or ubuntu2004.exe) to open Ubuntu and login as sudo user by executing the command:
sudo su - In Ubuntu Terminal navigate to the Source Folder where you originally downloaded the distribution and which you have specified when installing Timeline.
- Execute the commands below to install and start Redis:
- dpkg -i redis-tools_6.2.4-1rl1~focal1_amd64.deb
- dpkg -i redis-server_6.2.4-1rl1~focal1_amd64.deb
- service redis-server start
You can test that your Redis server is running by connecting to the Redis CLI:
redis-cli
127.0.0.1:6379> ping - Start the Timeline service either from services.msc or executing the following command in the command prompt:
sc start timelinepi
9/22/2023 8:59:47 AM