1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Deleting Contents Within Temp Folder?

Discussion in 'Server Configuration and Hosting' started by DRE, Feb 3, 2013.

  1. DRE

    DRE Well-Known Member

    Can I delete everything within in the temp folder in data and internal_data?

    If I go above my forum root, deleting everything from my tmp folder doesn't do anything but help me save memory.

    Is it the same deal within the Xenforo installation?
  2. Adam Howard

    Adam Howard Well-Known Member

    To the best of my knowledge and from my experience so far..... YES.

    I have deleted the contents of the temp folder in both and thus far have not seen any issue.

    If in doubt, backup first though.
    8thos likes this.
  3. Lee Burnett

    Lee Burnett Member

    Why doesn't xenforo delete these temp files automatically?
  4. Floren

    Floren Well-Known Member

    I don't have anything in there, I did not even know we suppose to have a /data/temp directory?
    [root@chronos ~]# ls -lah /var/www/xenforo/data/
    total 20K
    drwxr-xr-x. 4 php-fpm root 4.0K Feb 21  2011 .
    drwxr-xr-x. 8 root    root 4.0K Nov  6 19:38 ..
    drwxr-xr-x. 3 php-fpm root 4.0K Feb 21  2011 attachments
    drwxr-xr-x. 5 php-fpm root 4.0K Oct 20  2010 avatars
    -rw-r--r--. 1 php-fpm root    1 Jun  9  2011 index.html
    [root@chronos ~]# ls -lah /var/www/xenforo/internal_data/temp/
    total 12K
    drwxr-xr-x. 2 php-fpm root 4.0K Nov  7 17:47 .
    drwxr-xr-x. 6 php-fpm root 4.0K May 12  2012 ..
    -rw-r--r--. 1 php-fpm root    1 Oct 17  2010 index.html
    It might be related to caching files locally? I use Memcached to cache everything related to XenForo.
  5. Lee Burnett

    Lee Burnett Member

    We're memcached as well. Hmm - probably server weirdness.

Share This Page