tmpfs Questions

1

Has anyone tried running a postgresql container with a tmpfs volume mount to pgsql_tmp? (any database with a temp files directory i would imagine) Has it caused any problem? Is this a bad idea? ...
Azaleah asked 2/1, 2019 at 20:3

2

Solved

I have a case where there are two processes which act on the same file - one as a writer and one as a reader. The file is a one line text file and the writer re-writes the line in a loop. reader re...
Zaragoza asked 23/2, 2016 at 19:12

1

I am looking for any existing implementation of sharing a read only in-memory cache across pods on the same node. This setup would allow fast access without the need to load the entire cache into e...
Brannen asked 19/1, 2022 at 9:33

1

Solved

I made a tmpfs filesystem in my home directory on Ubuntu using this command: $ mount -t tmpfs -o size=1G,nr_inodes=10k,mode=0777 tmpfs space $ df -h space . File system Size Used Avail. Avail% Moun...
Agglutinogen asked 25/9, 2020 at 14:42

2

Solved

I'm running a docker container that seems to have insufficient memory and I'm not sure how to solve this problem. I'm essentially running a program on this docker container that downloads an image...
Faitour asked 21/11, 2017 at 0:12

2

Solved

I have a docker-compose file that I'm trying to secure by making the root volumes of the containers it creates read-only. Relevant parts of docker-compose.yml: version: '2' services: mysql: im...
Crapulous asked 27/1, 2017 at 21:0

1

I would like to run entire docker container in memory without mapping volumes to host's hard drive. TMPFS described here helps to mount volumes as "memory volumes", but I'm looking a way how to st...
Cornhusking asked 8/4, 2019 at 13:24

2

Solved

Question: How do you specify in a Dockerfile, or on the docker build command line, that you would like to have a tmpfs mounted in the build container? This is in the context of a split build - the ...
Syrupy asked 11/2, 2019 at 20:18

1

Solved

I have a Postgres database inside a docker container against which I run django tests. I want to improve the speed of the tests. The easiest way to do this (it seems to me) is to move postgres data...
Isoagglutination asked 11/9, 2018 at 14:9

2

I'd like to measure tmpfs performance by using dd. But it fail, like below: # dd if=/dev/zero of=/tmp/128M bs=4M count=32 oflag=direct dd: failed to open ‘/tmp/128M’: Invalid argument Any help?...
Wernick asked 9/1, 2014 at 7:28

4

Solved

I had to write a Bash script to delete duplicate files today, using their md5 hashes. I stored those hashes as files in a temporary directory: for i in * ; do hash=$(md5sum /tmp/msg | cut -d " " ...
Hustings asked 1/8, 2015 at 17:37

1

Solved

I faced up with a strange scala-io moveTo method issue. Here is my filesystem, tmp directory resides in ram. ~ % df -Th ~/ :) Filesystem Type Size Used Avail Use% Mounted on rootfs rootfs 112G 18G...
Skeie asked 22/3, 2012 at 9:5
1

© 2022 - 2024 — McMap. All rights reserved.