Answers.Body: <p>Your root filesystem on <code>/dev/sdb1</code> shows as 100% in use which is where your <code>/opt/bitnami/php/var/run/session</code> is probably located and makes sense of the error message you are getting.</p>
  <p>You either need to expand that <code>/dev/sdb1</code> filesystem or move some files from that to another filesystem.  You have 15G free on <code>/mnt</code> so you could look at relocating <code>/opt</code> or <code>/opt/bitnami</code> to <code>/mnt</code> - but it depends how big those subtrees are and what level of access you have.</p>
  <p>It's just a disk space issue and nothing to do with CiviCRM.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-02-26T10:18:53.750Z
Answers.LastActivityDate: 2024-02-26T22:38:01.290Z
Answers.LastEditDate: 2024-02-26T22:38:01.290Z
Answers.UserDisplayName: Aidan
Body: <p>We currently have CiviCRM installed in a Bitnami solution in WordPress from a VM in Azure. In the last few days we have experienced problems logging in and when trying to access phpmyadmin we received this message:</p>
  <blockquote>
  <p>session_write_close(): Write failed: No space left on device (28)</p>
  <p>session_write_close(): Failed to write session data (files). Please
  verify that the current setting of session.save_path is correct
  (/opt/bitnami/php/var/run/session)</p>
  </blockquote>
  <p>The answer seems obvious <strong>&quot;The server disk is full&quot;</strong>, however I would not want to rush to change the size of the Virtual Machine in Azure without first trying other options.</p>
  <p>By running <strong>df -h</strong> we get the following:</p>
  <pre><code>Filesystem      Size  Used Avail Use% Mounted on
  udev            3.9G     0  3.9G   0% /dev
  tmpfs           796M  524K  796M   1% /run
  /dev/sdb1        30G   28G     0 100% /
  tmpfs           3.9G     0  3.9G   0% /dev/shm
  tmpfs           5.0M     0  5.0M   0% /run/lock
  /dev/sdb15      124M   11M  114M   9% /boot/efi
  /dev/sda1        16G   24K   15G   1% /mnt
  tmpfs           796M     0  796M   0% /run/user/1000
  </code></pre>
  <p>We have very important data that increases the MariaDB tables, we have also already <strong>optimized the tables</strong>, but this does not seem to work.</p>
  <p>These are the characteristics of the resource created in Azure. (Server)</p>
  <blockquote>
  <p><strong>VM:</strong> Standard D2s v3 (2 vcpu, 8 GiB memory) BITNAMI WordPress<br>
  <strong>OS disk:</strong> Storage type - Premium SSD LRS Size | (GiB) - 30</p>
  </blockquote>
  
Tags: <php><civicrm.settings.php><admin><webserver><mariadb>
Title: Write failed: No space left on device
ThreadText: # Write failed: No space left on device
  
  (Asked by: username_0 on 2024-02-23)
  
  We currently have CiviCRM installed in a Bitnami solution in WordPress from a VM in Azure. In the last few days we have experienced problems logging in and when trying to access phpmyadmin we received this message:
  
  > session\_write\_close(): Write failed: No space left on device (28)
  >
  > session\_write\_close(): Failed to write session data (files). Please
  > verify that the current setting of session.save\_path is correct
  > (/opt/bitnami/php/var/run/session)
  
  The answer seems obvious **"The server disk is full"**, however I would not want to rush to change the size of the Virtual Machine in Azure without first trying other options.
  
  By running **df -h** we get the following:
  
  ```
  Filesystem      Size  Used Avail Use% Mounted on
  udev            3.9G     0  3.9G   0% /dev
  tmpfs           796M  524K  796M   1% /run
  /dev/sdb1        30G   28G     0 100% /
  tmpfs           3.9G     0  3.9G   0% /dev/shm
  tmpfs           5.0M     0  5.0M   0% /run/lock
  /dev/sdb15      124M   11M  114M   9% /boot/efi
  /dev/sda1        16G   24K   15G   1% /mnt
  tmpfs           796M     0  796M   0% /run/user/1000
  
  ```
  
  We have very important data that increases the MariaDB tables, we have also already **optimized the tables**, but this does not seem to work.
  
  These are the characteristics of the resource created in Azure. (Server)
  
  > **VM:** Standard D2s v3 (2 vcpu, 8 GiB memory) BITNAMI WordPress  
  > **OS disk:** Storage type - Premium SSD LRS Size | (GiB) - 30
  
  **Tags:** php, civicrm.settings.php, admin, webserver, mariadb
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2024-02-26. Score: 2 | Accepted answer
  
  Your root filesystem on `/dev/sdb1` shows as 100% in use which is where your `/opt/bitnami/php/var/run/session` is probably located and makes sense of the error message you are getting.
  
  You either need to expand that `/dev/sdb1` filesystem or move some files from that to another filesystem. You have 15G free on `/mnt` so you could look at relocating `/opt` or `/opt/bitnami` to `/mnt` - but it depends how big those subtrees are and what level of access you have.
  
  It's just a disk space issue and nothing to do with CiviCRM.
  
  
  ---
  
  