Extending /var/ramfs size on Xenial


#1

Hi,

I’d like to know how we can increase the size of /var/ramfs on Xenial because updating .travis.yml did not help on Xenial, which did help on Trusty.

“[[ $GEM != ‘ar:postgresql’ ]] || sudo mount -o remount,size=50% /var/ramfs”

https://travis-ci.org/rails/rails/jobs/484179723#L8378

$ sudo df -k
Filesystem 1K-blocks Used Available Use% Mounted on
udev 3813260 0 3813260 0% /dev
tmpfs 765236 18376 746860 3% /run
/dev/sda1 71088948 12302912 58769652 18% /
tmpfs 3826172 16 3826156 1% /dev/shm
tmpfs 5120 0 5120 0% /run/lock
tmpfs 3826172 0 3826172 0% /sys/fs/cgroup
none 786432 786000 432 100% /var/ramfs
tmpfs 765236 0 765236 0% /run/user/2000

Looks like /var/ramfs size did not change.


#2

This issue has been resolved. The environment variable needs to be changed activerecord:postgresql