Out of memory: Killed process 26838 (crowdsec) error #321

Closed
opened 2025-11-13 11:56:52 -06:00 by GiteaMirror · 5 comments
Owner

Originally created by @syl779 on GitHub (May 8, 2025).

I rent a VPS (Ionos, 2 cores, 2GB RAM, 80GB disk) and have been running Pangolin with a view to using it instead of Cloudflare or open ports on my router. My VPS runs Ubuntu 22.04.5 LTS.

I have installed Pangolin, with Crowdsec. When I updated Pangolin to 1.3, I moved to using ":latest" for all the containers in my compose file, including Crowdsec. The server crashed today with an Out of memory: Killed process 26838 (crowdsec) error. Is there a problem using the latest version of crowdsec?

Originally created by @syl779 on GitHub (May 8, 2025). I rent a VPS (Ionos, 2 cores, 2GB RAM, 80GB disk) and have been running Pangolin with a view to using it instead of Cloudflare or open ports on my router. My VPS runs Ubuntu 22.04.5 LTS. I have installed Pangolin, with Crowdsec. When I updated Pangolin to 1.3, I moved to using ":latest" for all the containers in my compose file, including Crowdsec. The server crashed today with an Out of memory: Killed process 26838 (crowdsec) error. Is there a problem using the latest version of crowdsec?
GiteaMirror added the stale label 2025-11-13 11:56:52 -06:00
Author
Owner

@TuncTaylan commented on GitHub (May 10, 2025):

Could you please check, if you have these configurations set?

config/traefik/traefik_config.yml

experimental:
  plugins:
    crowdsec:
      moduleName: github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin
      version: v1.4.2

config/traefik/dynamic_config.yml

http:
  middlewares:
    crowdsec:
      plugin:
        crowdsec:
          crowdsecAppsecBodyLimit: 10485760
@TuncTaylan commented on GitHub (May 10, 2025): Could you please check, if you have these configurations set? [config/traefik/traefik_config.yml](https://github.com/fosrl/pangolin/blob/21f13260456b45bd24bae3cfa7dfbe5225ad1630/install/config/crowdsec/traefik_config.yml#L19) ```shell experimental: plugins: crowdsec: moduleName: github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin version: v1.4.2 ``` [config/traefik/dynamic_config.yml](https://github.com/fosrl/pangolin/blob/21f13260456b45bd24bae3cfa7dfbe5225ad1630/install/config/crowdsec/dynamic_config.yml#L45) ```shell http: middlewares: crowdsec: plugin: crowdsec: crowdsecAppsecBodyLimit: 10485760 ```
Author
Owner

@syl779 commented on GitHub (May 10, 2025):

I had 1.3.5, which I have changed to 1.4.2 - should I use "latest" or will I get caught out again?

I didn't have crowdsecAppsecBodyLimit set

@syl779 commented on GitHub (May 10, 2025): I had 1.3.5, which I have changed to 1.4.2 - should I use "latest" or will I get caught out again? I didn't have crowdsecAppsecBodyLimit set
Author
Owner

@TuncTaylan commented on GitHub (May 10, 2025):

Using "latest" is never a good idea, in worse case you'll be deploying software untested or incompatible. Just make sure to set the configurations above, after that it'll work. I'm running the stack on a VM with 1/8 vCPU, 1GB RAM without any issues.

@TuncTaylan commented on GitHub (May 10, 2025): Using "latest" is never a good idea, in worse case you'll be deploying software untested or incompatible. Just make sure to set the configurations above, after that it'll work. I'm running the stack on a VM with 1/8 vCPU, 1GB RAM without any issues.
Author
Owner

@github-actions[bot] commented on GitHub (May 25, 2025):

This issue has been automatically marked as stale due to 14 days of inactivity. It will be closed in 14 days if no further activity occurs.

@github-actions[bot] commented on GitHub (May 25, 2025): This issue has been automatically marked as stale due to 14 days of inactivity. It will be closed in 14 days if no further activity occurs.
Author
Owner

@github-actions[bot] commented on GitHub (Jun 8, 2025):

This issue has been automatically closed due to inactivity. If you believe this is still relevant, please open a new issue with up-to-date information.

@github-actions[bot] commented on GitHub (Jun 8, 2025): This issue has been automatically closed due to inactivity. If you believe this is still relevant, please open a new issue with up-to-date information.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#321