Welcome! Log In Create A New Profile

Advanced

Re: question about tmpfs

Styopa Semenukha
April 28, 2016 12:36PM
Hi,

This is probably not related to Nginx, you might want to visit Linux forums or lists for more detailed information. However, having tmpfs mounted at those directories is a normal mode of operation in many Linux distros. They are mounted automatically, and typically you don't need to worry about them.

I recommend reading at least the section about tmpfs in mount(8) manual page:
http://linux.die.net/man/8/mount

On Thursday, April 28, 2016 11:47:18 AM basti wrote:
> Hello,
>
> I have a question about tmpfs.
>
> On my raspberry pi I with only 256 MB RAM df looks like.
>
> root@pi:~# df -h
> Filesystem Size Used Avail Use% Mounted on
> /dev/root 15G 2.0G 13G 14% /
> devtmpfs 111M 0 111M 0% /dev
> tmpfs 115M 0 115M 0% /dev/shm
> tmpfs 115M 13M 102M 11% /run
> tmpfs 5.0M 4.0K 5.0M 1% /run/lock
> tmpfs 115M 0 115M 0% /sys/fs/cgroup
> /dev/mmcblk0p1 56M 20M 37M 36% /boot
> tmpfs 23M 0 23M 0% /run/user/33
> tmpfs 23M 0 23M 0% /run/user/0
>
> Is tmpfs "overload"?
> What happens when a add a new tmpfs partition e.g for squid?
>
> Is there a way to manipulate the size of the "default" tmpfs shown
> above? In /etc/fstab I cant found anything about tmpfs.
>
> root@pi:~# cat /etc/fstab
> proc /proc proc defaults 0 0
> /dev/mmcblk0p1 /boot vfat defaults 0 2
> /dev/mmcblk0p2 / ext4 defaults,noatime 0 1
> # a swapfile is not a swap partition, no line here
> # use dphys-swapfile swap[on|off] for that
> root@pi:~#
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
--
Sincerely yours,
Styopa Semenukha.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

question about tmpfs

basti April 28, 2016 05:48AM

Re: question about tmpfs

Styopa Semenukha April 28, 2016 12:36PM

Re: question about tmpfs

Reinis Rozitis April 28, 2016 04:00PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 206
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready