# Rclone / feral hosting / /tmp usage

**URL:** <https://forum.rclone.org/t/rclone-feral-hosting-tmp-usage/46566>\
**Category:** Help and Support\
**Created:** [June 25, 2024, 7:16am UTC](https://forum.rclone.org/t/rclone-feral-hosting-tmp-usage/46566 "2024-06-25T07:16:29Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![AeroMaxx](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/4af34b/32.png) [@AeroMaxx](https://forum.rclone.org/u/AeroMaxx)\
**Post date:** [June 25, 2024, 7:16am UTC](https://forum.rclone.org/t/rclone-feral-hosting-tmp-usage/46566/1 "2024-06-25T07:16:29Z")

</div>

I'm using rclone on feral hosting and one of their support staff have told me the following below, this was after I used their wiki and instructions as to how they'd want it installed/used on the slot.

I had put `TMPDIR="${HOME}/tmp"` in `~/.bashrc`.

> Please make sure that rclone doesn't use `/tmp`, even for small files. The risk of it using `/tmp` for too much at once is too great relative to the disk of disrupting other users. So the set up needs to be avoided entirely. rclone may not be responding to TMPDIR.

Is it possible to make `rclone` not use `/tmp` ?

I have started using `--buffer-size 0` and `--transfers 1`

---

<div class="post-metadata">

**Author:** ![kapitainsky](https://forum.rclone.org/user_avatar/forum.rclone.org/kapitainsky/32/14450_2.png) [@kapitainsky](https://forum.rclone.org/u/kapitainsky)\
**Post date:** [June 25, 2024, 7:21am UTC](https://forum.rclone.org/t/rclone-feral-hosting-tmp-usage/46566/2 "2024-06-25T07:21:42Z")

</div>

> **[Documentation](https://rclone.org/docs/#temp-dir-dir)**
>
> Rclone Usage

---

<div class="post-metadata">

**Author:** ![AeroMaxx](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/4af34b/32.png) [@AeroMaxx](https://forum.rclone.org/u/AeroMaxx)\
**Post date:** [June 25, 2024, 8:23am UTC](https://forum.rclone.org/t/rclone-feral-hosting-tmp-usage/46566/3 "2024-06-25T08:23:07Z")

</div>

I have tried that but my tmpdir remains empty?

I removed `--buffer-size 0` to make sure that wasn't the reason for it being empty also.

---

<div class="post-metadata">

**Author:** ![kapitainsky](https://forum.rclone.org/user_avatar/forum.rclone.org/kapitainsky/32/14450_2.png) [@kapitainsky](https://forum.rclone.org/u/kapitainsky)\
**Post date:** [June 25, 2024, 9:54am UTC](https://forum.rclone.org/t/rclone-feral-hosting-tmp-usage/46566/4 "2024-06-25T09:54:27Z")

</div>

> [@AeroMaxx](#):
>
> I have tried that but my tmpdir remains empty?

And why it is the problem? It is only used when needed.

---

<div class="post-metadata">

**Author:** ![AeroMaxx](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/4af34b/32.png) [@AeroMaxx](https://forum.rclone.org/u/AeroMaxx)\
**Post date:** [June 25, 2024, 1:03pm UTC](https://forum.rclone.org/t/rclone-feral-hosting-tmp-usage/46566/5 "2024-06-25T13:03:08Z")

</div>

Because they suspended my slot and refund me when `rclone` uses `/tmp` as they have it mapped to memory and not the physical disk.

They've suspended me once already, but they have since reactivated my slot.

I'm only uploading files using `rlcone`.

---

<div class="post-metadata">

**Author:** ![kapitainsky](https://forum.rclone.org/user_avatar/forum.rclone.org/kapitainsky/32/14450_2.png) [@kapitainsky](https://forum.rclone.org/u/kapitainsky)\
**Post date:** [June 25, 2024, 1:06pm UTC](https://forum.rclone.org/t/rclone-feral-hosting-tmp-usage/46566/6 "2024-06-25T13:06:07Z")

</div>

So do not use `/tmp`.

As already posted always set your TEMP folder where you want by using `--temp-dir=DIR` flag with your rclone commands.

---

<div class="post-metadata">

**Author:** ![AeroMaxx](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/4af34b/32.png) [@AeroMaxx](https://forum.rclone.org/u/AeroMaxx)\
**Post date:** [June 25, 2024, 1:09pm UTC](https://forum.rclone.org/t/rclone-feral-hosting-tmp-usage/46566/7 "2024-06-25T13:09:05Z")

</div>

I have but as I said the command I was using before that was using `/tmp` is the same command I am using now and it doesn't appear to be using `~/tmp` as the directory is empty.

---

<div class="post-metadata">

**Author:** ![kapitainsky](https://forum.rclone.org/user_avatar/forum.rclone.org/kapitainsky/32/14450_2.png) [@kapitainsky](https://forum.rclone.org/u/kapitainsky)\
**Post date:** [June 25, 2024, 1:15pm UTC](https://forum.rclone.org/t/rclone-feral-hosting-tmp-usage/46566/8 "2024-06-25T13:15:27Z")

</div>

I have no idea what command you are using. I told you what flag to use.

---

<div class="post-metadata">

**Author:** ![system](https://forum.rclone.org/uploads/default/original/2X/3/39ad3235f6ffec76ccd0c81616bd55697b4c300d.png) [@system](https://forum.rclone.org/u/system)\
**Post date:** [July 25, 2024, 1:15pm UTC](https://forum.rclone.org/t/rclone-feral-hosting-tmp-usage/46566/9 "2024-07-25T13:15:30Z")

</div>

Closed on July 25, 2024, 1:15pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
