• change the size of /dev/shm for sbuild

    From PICCA Frederic-Emmanuel@21:1/5 to All on Wed Jun 11 14:30:01 2025
    Hello, I am trying to change the size of /dev/shm in order to avoid FTBFS due to the limited space on /dev/shm

    I found the documentation on the wiki, but there is no explaination about the right way to make the change not temporarly.


    mount -o remount,size=2G /dev/shm

    someone can explain how to change the default /dev/shm size.

    Fred

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Antoine Le Gonidec@21:1/5 to All on Wed Jun 11 14:50:01 2025
    Hello, I am trying to change the size of /dev/shm in order to avoid FTBFS due to the limited space on /dev/shm

    I found the documentation on the wiki, but there is no explaination about the right way to make the change not temporarly.


    mount -o remount,size=2G /dev/shm

    someone can explain how to change the default /dev/shm size.

    You could set its mount options in /etc/fstab:

    tmpfs /dev/shm tmpfs rw,nosuid,nodev,size=2G 0 0

    -----BEGIN PGP SIGNATURE-----

    iHUEARYKAB0WIQSUsdxM90hewW6X7Jhja3j5HOuA2AUCaEl4dQAKCRBja3j5HOuA 2Nw6AP4vmvovnrs/HcWK1g9/GPKZInhKjL84+Y/0ymzjZAvpSQD7BvgXuTgEKcOK 3sY1iErr+4XeU6s4bpxYJqwmuHsbvA8=
    =Ii59
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From PICCA Frederic-Emmanuel@21:1/5 to All on Wed Jun 11 16:10:01 2025
    tmpfs /dev/shm tmpfs rw,nosuid,nodev,size=2G 0 0

    ok it works, but do we have a config option which allows to select the amount of RAM affected to /dev/shm ?

    Fred

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Antoine Le Gonidec@21:1/5 to All on Wed Jun 11 16:20:01 2025
    ok it works, but do we have a config option which allows to select the amount of RAM affected to /dev/shm ?

    There is probably some setting specific to systemd, but I do not know about it.

    -----BEGIN PGP SIGNATURE-----

    iHUEARYKAB0WIQSUsdxM90hewW6X7Jhja3j5HOuA2AUCaEmPMQAKCRBja3j5HOuA 2OvvAP49zfmtp8srVF6D0Bb1PXL8xtIcmhxd6+jamC82vvfZCwD6A2oF7yaQH6eL LxACAS7wwxcbCLmJk8ZhsyulH2czxQg=
    =cVde
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)