On Wed, Apr 04, 2012 at 12:50:35PM +0300, Gleb Kurtsou wrote: > ... > tmpfs-32bit-size_max.patch.txt should fix the problem. I don't have i386 > installations to test it myself. > > Do you run PAE kernel? Could you try filling up /tmp at least to 10g. > ... After updating source to r233868, applying the patch, then updating, here are the results of my testing so far (not using PAE). Summary: as before, I believe that the patch didn't hurt anything, but it also doesn't restrict the usable size of /tmp to the specified size (from /etc/fstab): Script started on Wed Apr 4 06:23:25 2012 g1-227(10.0-C)[1] _do uid=0(root) gid=0(wheel) groups=0(wheel),5(operator) /dev/ada0s2a on / (ufs, local, soft-updates) devfs on /dev (devfs, local, multilabel) tmpfs on /tmp (tmpfs, local) /dev/ada0s2d on /usr (ufs, local, soft-updates) /dev/ada0s4e on /var (ufs, local, soft-updates) /dev/ada0s4g on /common (ufs, local, soft-updates) fdescfs on /dev/fd (fdescfs) FreeBSD g1-227.catwhisker.org 10.0-CURRENT FreeBSD 10.0-CURRENT #2 233868M: Wed Apr 4 06:02:25 PDT 2012 root_at_g1-227.catwhisker.org:/usr/obj/usr/src/sys/CANARY i386 Wed Apr 4 06:23:27 PDT 2012 >>> Removing old libraries Please be sure no application still uses those libraries, else you can not start such an application. Consult UPDATING for more information regarding how to cope with the removal/revision bump of a specific library. >>> Old libraries removed Wed Apr 4 06:23:28 PDT 2012 g1-227(10.0-C)[2] exit Script done on Wed Apr 4 06:23:29 2012 Script started on Wed Apr 4 06:23:35 2012 g1-227(10.0-C)[1] df -hi /tmp Filesystem Size Used Avail Capacity iused ifree %iused Mounted on tmpfs 23G 12k 23G 0% 17 2.1G 0% /tmp g1-227(10.0-C)[2] grep tmpfs /etc/fstab # tmpfs /tmp tmpfs rw,size=2147483648 0 0 tmpfs /tmp tmpfs rw,size=8g 0 0 g1-227(10.0-C)[3] ls -lhT /bkp/tmp/test -rw-r--r-- 1 david wheel 8.0G Mar 25 10:42:49 2012 /bkp/tmp/test g1-227(10.0-C)[4] dd bs=1m if=!$ of=/tmp/test dd bs=1m if=/bkp/tmp/test of=/tmp/test 8192+0 records in 8192+0 records out 8589934592 bytes transferred in 186.178099 secs (46138266 bytes/sec) g1-227(10.0-C)[5] df -hi /tmp Filesystem Size Used Avail Capacity iused ifree %iused Mounted on tmpfs 23G 8.0G 15G 35% 18 2.1G 0% /tmp g1-227(10.0-C)[6] dd bs=1m if=/bkp/tmp/test of=/tmp/test1 8192+0 records in 8192+0 records out 8589934592 bytes transferred in 220.254916 secs (38999968 bytes/sec) g1-227(10.0-C)[7] df -hi /tmp Filesystem Size Used Avail Capacity iused ifree %iused Mounted on tmpfs 23G 16G 7.0G 70% 19 2.1G 0% /tmp g1-227(10.0-C)[8] exit Script done on Wed Apr 4 06:33:12 2012 g1-227(10.0-C)[5] Peace, david -- David H. Wolfskill david_at_catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.catwhisker.org/~david/publickey.gpg for my public key.
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:25 UTC