Moving Redis Heap Files in Tableau Server

Data

Moving Redis Heap Files in Tableau Server

I was plugging away at various tasks yesterday when I received a fun notification from Windows:

“You have low disk space on C:”

This isn’t unusual, as I have an SSD on my C: drive and have to clean it up every now again. I was surprised because I had just freed up 5-6 GB and was wondering what byte goblins were after my precious disk space this time.

The Redis Disk Goblin

I fired up WinDirStat, and low and behold, Tableau Server was the culprit! Specifically, the temp folder had two 1.5 GB files in it named RedisQFork_99999.dat

Two files

I had been doing some Tableau Server testing on my local computer and realized that these must be cache files for the new Redis cache server in Tableau Server 9.0. I did, however, note that these files delete when Tableau Server stops.

Reclaiming My Disk Space

I thought, “Surely I’ll be able to configure the location of the temp directory.” It took a little bit of searching, but I found the service.temp.dir setting in the workgroup.yml file.

I shut down Tableau Server, changed this setting to my D: drive, restarted Tableau Server and VOILA! Everything in the temp folder moved to the new specified location on my D: drive. Oh, wait … everything BUT the Redis heap file. It was still hanging out on my C: drive, just chillin’.

Oh, Redis Config, Where Art Thou?

Sigh. It was a bit deflating, but I was too far in to go back. I needed that disk space, and my OCD need to find and destroy the problem had kicked in. 

I called my homeboy Google and said, “what’s up with Redis heap files.” He let me in on a secret: Heap file location was configurable on the command line when starting Redis.

I assumed that there was a file that kicked off all the Tableau processes and was right. It’s called tasks.yml. In there, you’ll find the command line for Redis:

command: ""d:/Program Files/Tableau/Tableau Server/9.0/redis/bin/redis-server.exe""

More About the Author

Cole Shelton

Chief Data Officer
The Road to Tableau 2019.3: How InterWorks Influenced Server and Content Migration Features Tableau purchased Power Tools in 2019. Contact Us for more information. InterWorks fell in love with Tableau in 2008, and our Tableau ...
We’ve Improved Data Source Audit in Workbook Tools for Tableau! Tableau purchased Power Tools in 2019. Contact Us for more information. A little over a month ago, we released version 1.14 of our ...

See more from this author →

InterWorks uses cookies to allow us to better understand how the site is used. By continuing to use this site, you consent to this policy. Review Policy OK

×

Interworks GmbH
Ratinger Straße 9
40213 Düsseldorf
Germany
Geschäftsführer: Mel Stephenson

Kontaktaufnahme: markus@interworks.eu
Telefon: +49 (0)211 5408 5301

Amtsgericht Düsseldorf HRB 79752
UstldNr: DE 313 353 072

×

Love our blog? You should see our emails. Sign up for our newsletter!