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
We’ve Improved Data Source Audit in Workbook Tools for Tableau! A little over a month ago, we released version 1.14 of our Workbook Tools for Tableau. This release was all about our Data Source Audit ...
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 ...

See more from this author →

Subscribe to our newsletter

  • I understand that InterWorks will use the data provided for the purpose of communication and the administration my request. InterWorks will never disclose or sell any personal data except where required to do so by law. Finally, I understand that future communications related topics and events may be sent from InterWorks, but I can opt-out at any time.
  • This field is for validation purposes and should be left unchanged.

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