data inside /tmp can remove ?

seachen

Verified User
Joined
Feb 3, 2007
Messages
491
my provider told me /tmp have suspicious code.

can i remove it? it will cause directadmin and other services not working?
 
my provider told me /tmp have suspicious code.

can i remove it? it will cause directadmin and other services not working?
Normally there are things located as 'php session files', .sock files, en some tmp files/dirs.

Please do 'du -hs /tmp' to see how much is used.
 
By definition, anything in /tmp can be removed; in fact some distributions remove the contents of /tmp at every reboot.

However, if you delete session files and the sessions are still in use, those sessions will be closed, perhaps without being cleaned up properly.

Jeff
 
Back
Top