# Write cache overload on qBittorrent

**URL:** <https://dietpi.com/forum/t/write-cache-overload-on-qbittorrent/24468>\
**Category:** Troubleshooting\
**Tags:** services\
**Created:** [29 September 2025 21:49 UTC](https://dietpi.com/forum/t/write-cache-overload-on-qbittorrent/24468 "2025-09-29T21:49:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stephz](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/s/5e9695/32.png) [@Stephz](https://dietpi.com/forum/u/Stephz)\
**Post date:** [29 September 2025 21:49 UTC](https://dietpi.com/forum/t/write-cache-overload-on-qbittorrent/24468/1 "2025-09-29T21:49:40Z")

</div>

Hello everyone, I have a issue with qBittorrent on OrangePi 4B when I download to NAS.

This is my fstab:

```auto
192.168.31.xxx:/xxx /mnt/nfs_client nfs w,async,tcp,noatime,rsize=10485766,wsize=1048576,hard,timeo=600,vers=3,\_netdev,x-systemd.device-timeout=120,x-systemd.automount 0 0

```

I tried to connect it trough Samba protocol but is doing the same, it starts downloading at 20MB/s and then it lowers to 50kb/s - I noticed that everytime this happens write cache overload is 90%

I saw this [qBittorrent download very slow - #37 by KamikazeePL](https://dietpi.com/forum/t/qbittorrent-download-very-slow/17021/37) on the forum, but didn’t work for me.

I noticed that is only write speed which is affected, cause when I try to read from the disk is ok - disks are fine, cause on Windows with Samba is getting 30MB/s stable.

Do you have any idea what can be the issue here?

---

<div class="post-metadata">

**Author:** ![Jappe](https://dietpi.com/forum/user_avatar/dietpi.com/jappe/32/1788_2.png) [@Jappe](https://dietpi.com/forum/u/Jappe)\
**Post date:** [4 October 2025 13:35 UTC](https://dietpi.com/forum/t/write-cache-overload-on-qbittorrent/24468/2 "2025-10-04T13:35:12Z")

</div>

Since it’s working with windows (Downloading on win and write to NAS) the OrangPi is maybe the bottleneck.

Can you check with htop the cpu utization and how much RAM is used. Maybe the bottleneck is there.

I would also stick to NFS and try to force it to use NFSv4 (if supported by your NAS)  
You can also limit the number of parallel downloads to get rid of a high amount of parallel writes, maybe this is helping.

Also ChatGPT ( 😅) says, your rsize/wsize=1048576 is **very high** and it recommends `rsize=32768,wsize=32768` or at max 128k (maybe doublecheck this idea)

Does the speed stays high when you download to a local storage on the OPi?

---

<div class="post-metadata">

**Author:** ![Stephz](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/s/5e9695/32.png) [@Stephz](https://dietpi.com/forum/u/Stephz)\
**Post date:** [13 October 2025 17:47 UTC](https://dietpi.com/forum/t/write-cache-overload-on-qbittorrent/24468/3 "2025-10-13T17:47:21Z")

</div>

Hi, thanks for your reply, will try what ChatGPT told you

 ![image](https://dietpi.com/forum/uploads/default/original/2X/f/f176fe1a4a9f6e240c5d97c603c950f9ed9ef610.png)

Here is htop while write cache is 80% doesn’t look like bottleneck.

How do you limit the paralel downloads?

---

<div class="post-metadata">

**Author:** ![Jappe](https://dietpi.com/forum/user_avatar/dietpi.com/jappe/32/1788_2.png) [@Jappe](https://dietpi.com/forum/u/Jappe)\
**Post date:** [13 October 2025 21:19 UTC](https://dietpi.com/forum/t/write-cache-overload-on-qbittorrent/24468/4 "2025-10-13T21:19:09Z")

</div>

Ok so the CPU is not limiting, but your write cache is already 80% full, so qbittorrent will slow down the downloads already. Your load avg is also around 9, so a lot of processes are waiting for I/O. (probably bc the writes of qbittorent clocking up the system)  
You don’t have this problem on windows, bc windows is buffering massively into RAM, collecting the files into a big chunk before sending them via SMB. Linux does not do this, it handles it different to achieve better data consistency.

> [@Stephz](#):
>
> How do you limit the paralel downloads?

Just download one or two torrents at the same time to reduce the amount random writes.

You could also download the files first to local storage on the OPi and when finished transfer them to the NAS (There is an option _Keep incomplete torrents in:”_), so you don’t have so many random writes on the NAS.

---

<div class="post-metadata">

**Author:** ![system](https://dietpi.com/forum/uploads/default/original/1X/7e1021de2213860bce185915ce2c1786e56490ec.png) [@system](https://dietpi.com/forum/u/system)\
**Post date:** [10 April 2026 09:19 UTC](https://dietpi.com/forum/t/write-cache-overload-on-qbittorrent/24468/5 "2026-04-10T09:19:14Z")

</div>

Closed on 10 April 2026 09:19 UTC

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