How to resize / dev / shm in an Engine Flexible application

How do you resize the shared memory folder /dev/shmin App Engine Flexible?

The default value is 64 M, which is too low to run many applications (such as chrome). I see no way to change it. There are ways to change it if you have access to the docker run command , but we don’t have that access when running flexible applications for applications.

+3
source share
2 answers

A: No.

, (?) appengine. . - /dev/shm .

...

, , tmpfs, tmpfs . .

1

Google, - . tmpfs :

spec:
  volumes:
  - name: dshm
    emptyDir:
      medium: Memory
  containers:
  - image: gcr.io/project/image
    volumeMounts:
      - mountPath: /dev/shm
        name: dshm

, /dev/shm.

2

, , , , .

3

, GCE , GCE, COS ( os)


№ 4

, , Firefox Docker.

+2

, Google ( 13757624):

, , /dev/shm App Engine Flex.

, . Flex VM . dockerfile, 'sudo', , , , , , - , , .

+2

Source: https://habr.com/ru/post/1016508/


All Articles