Solace Community is getting a facelift!

On March 3rd we will be starting the process of migrating Solace Community to a new platform. As a result, Solace Community will go in to a temporary read-only state. You will still be able to come onto Solace Community and search through posts to find answers, but you won't be able to ask questions, post comments, or react in any way.

We hope to have the migration complete by Wednesday March 5th (or sooner), so please keep an eye out!

Fail to run solace in docker

aleeeeexxxx
aleeeeexxxx Member Posts: 2 New User

"runParameters":

-d -p 8080:8080 -p 5550:5550  -p 5672:5672 -e username_admin_globalaccesslevel=admin -e username_admin_password=admin -e system_scaling_maxconnectioncount=100 --shm-size=1g --entrypoint /usr/sbin/boot.sh

I curl following api for health check, and got 503

http://127.0.0.1:5550/health-check/guaranteed-active

It works good before but break today.

I did no change.

Logs attached.

Tagged:

Answers

  • aleeeeexxxx
    aleeeeexxxx Member Posts: 2 New User

    Got this log:

    2024-09-27T06:46:46.501+00:00 <local0.warning> 3787660b5581 appuser[329]: /usr/sw                        watchdog.cpp:1419                     (WATCHDOG     - 0x00000000) Watchdog(3)@watchdog(15)                      WARN     Did not get poll response from MplThread(3)@mgmtplane(9), sequence number = 3, attempt = 1
    
  • Aaron
    Aaron Member, Administrator, Moderator, Employee Posts: 668 admin

    Hi @aleeeeexxxx, welcome to the forum! I'm guessing this is a "not enough memory" issue. Here's my Docker run command, try this and see if it's better. (note: if you are on Mac OSX, you need to expose port 55554 instead of Solace's default 55555 since Apple uses that now)

    #!/bin/bash
    docker create \
    --hostname=solace1081 \
    --shm-size=2g \
    --ulimit core=-1 \
    --ulimit memlock=-1 \
    --ulimit nofile=2448:38048 \
    --cap-add=IPC_LOCK \
    --cap-add=SYS_NICE \
    -p 8080:8080 \
    -p 2222:2222 \
    -p 55555:55555 \
    -p 55003:55003 \
    -p 8008:8008 \
    -p 1883-1885:1883-1885 \
    -p 8000-8002:8000-8002 \
    -p 5672-5674:5672-5674 \
    -p 9000-9002:9000-9002 \
    -p 5550:5550 \
    --env 'username_admin_globalaccesslevel=admin' \
    --env 'username_admin_password=admin' \
    --restart unless-stopped \
    --name=solace1081 solace/solace-pubsub-standard:latest
    

This Month's Leaders

This Week's Leaders