How to clean up /dev/shm

Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to clean up /dev/shm

L1 Bithead

Hi everyone,


Been receiving alerts for a little bit around tmpfs /dev/shm being at 99% - how should we clean up this directory? What is this directory used for?

tmpfs /dev/shmtmpfs /dev/shm




Accepted Solutions

The workaround I have is that the Palo Alto needs to be rebooted. While we haven't run into any issues with it at 97% I would say it's safe to do a monthly reboot to clean up the directory.

View solution in original post


Cyber Elite
Cyber Elite


Restart the firewall. /dev/shm is used on the firewall the same as it is on any other Linux system, it's a temporary file store that uses memory instead of disk like /tmp does. Outside of restarting the firewall I'm not sure there's a way exposed to actually do anything about it outside of a reload. 

Does 10.0.* cause this to fill up faster?


EDIT: Is there anything we should worry about if this folder fills up? I just don't want an unexpected crash

Typically this is cleared on reboot but after upgrading to 10.0.6 its failed to clear the space on system reboot.


I have looked at the other drives on the PAN are there seems to be no capacity issues other then the tmpfs /dev/shm location at 97%.


Can yoU confirm whether this is expected on later versions 10.0.x +?

Where you able to to clean it, where you able to get to know why it is high.

We are having the similar issue

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!