dosubot[bot] commented on issue #30372:
URL: https://github.com/apache/superset/issues/30372#issuecomment-2370729639

   <!-- Answer -->
   The error "Process unexpectedly closed with status signal" when generating 
thumbnails in Superset within a Docker Compose environment is likely due to 
insufficient memory allocation for the `superset-worker` service. 
   
   To resolve this, you can increase the memory limit for the `superset-worker` 
service by uncommenting and adjusting the `mem_limit` and `mem_reservation` 
settings in your `docker-compose.yml` file. Here is the relevant section with 
the memory settings uncommented:
   
   ```yml
     superset-worker:
       build:
         <<: *common-build
       container_name: superset_worker
       command: ["/app/docker/docker-bootstrap.sh", "worker"]
       env_file:
         - path: docker/.env # default
           required: true
         - path: docker/.env-local # optional override
           required: false
       environment:
         CELERYD_CONCURRENCY: 2
       restart: unless-stopped
       depends_on: *superset-depends-on
       user: *superset-user
       volumes: *superset-volumes
       extra_hosts:
         - "host.docker.internal:host-gateway"
       healthcheck:
         test: ["CMD-SHELL", "celery -A superset.tasks.celery_app:app inspect 
ping -d celery@$$HOSTNAME"]
       # Bump memory limit if processing selenium / thumbnails on 
superset-worker
       mem_limit: 2038m
       mem_reservation: 128M
   ```
   
   By increasing the memory limit, you can help ensure that the 
`superset-worker` has enough resources to process thumbnails without running 
into memory-related issues 
<sup>[[1]](https://github.com/apache/superset/blob/master/docker-compose.yml)</sup>.
   
   
   <!-- Dosu Comment Footer -->
   *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to