# Extending /var/ramfs size on Xenial

**URL:** <https://travis-ci.community/t/extending-var-ramfs-size-on-xenial/1997>\
**Category:** Xenial\
**Created:** [January 25, 2019, 2:51am UTC](https://travis-ci.community/t/extending-var-ramfs-size-on-xenial/1997 "2019-01-25T02:51:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yahonda](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/yahonda/32/573_2.png) [@yahonda](https://travis-ci.community/u/yahonda)\
**Post date:** [January 25, 2019, 2:51am UTC](https://travis-ci.community/t/extending-var-ramfs-size-on-xenial/1997/1 "2019-01-25T02:51:44Z")

</div>

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.

> <https://github.com/rails/rails/pull/34803/files#diff-354f30a63fb0907d4ad57269548329e3R43>
>
> \### Summary
> 
> This pull request upgrades Ubuntu version used at Travis CI from …Trusty (14.04) to Xenial (16.04).
> https://docs.travis-ci.com/user/reference/xenial/
> 
> Since MySQL 5.7 is available by default
> https://docs.travis-ci.com/user/reference/xenial/#databases-and-services
> 
> Added \[WIP\] label since CI will not run from forked Rails, this pull request commit may fail.

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

> **[Travis CI - Test and Deploy with Confidence](https://app.travis-ci.com/rails/rails/jobs/484179723)**
>
> Travis CI enables your team to test and ship your apps with confidence. Easily sync your projects with Travis CI and you'll be testing your code in minutes.

> $ 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.

---

<div class="post-metadata">

**Author:** ![yahonda](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/yahonda/32/573_2.png) [@yahonda](https://travis-ci.community/u/yahonda)\
**Post date:** [January 26, 2019, 2:11am UTC](https://travis-ci.community/t/extending-var-ramfs-size-on-xenial/1997/2 "2019-01-26T02:11:18Z")

</div>

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

> <https://github.com/rails/rails/commit/a5b2fff64ca0c1fa7be5124f40a251d991c10a85#diff-354f30a63fb0907d4ad57269548329e3>
