-
-
Notifications
You must be signed in to change notification settings - Fork 500
Closed
Description
Description
After stopping colima to debug port failures, I still see the port being held open by Lima:
$ colima stop fresh
INFO[0000] stopping colima [profile=fresh]
INFO[0000] stopping ... context=docker
INFO[0001] stopping ... context=vm
INFO[0005] done
$ sudo lsof -i :8025 -sTCP:LISTEN
Password:
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
ssh 53130 rfay 21u IPv4 0x8d534c11986d2b73 0t0 TCP localhost:ca-audit-da (LISTEN)
rfay@rfay-tag1-m1:~/workspace/platform-wpbedrock/web$ ps -fp 53130
UID PID PPID C STIME TTY TIME CMD
501 53130 1 0 Sun03PM ?? 0:54.36 ssh: /Users/rfay/.lima/colima-fresh/ssh.sock [mux]
$ limactl list
NAME STATUS SSH CPUS MEMORY DISK DIR
colima Stopped 127.0.0.1:0 4 6GiB 100GiB ~/.lima/colima
colima-fresh Stopped 127.0.0.1:0 4 6GiB 100GiB ~/.lima/colima-fresh
$ limactl stop colima-fresh
INFO[0000] Sending SIGINT to hostagent process 8201
INFO[0000] Waiting for the host agent and the driver processes to shut down
INFO[0000] [hostagent] Received SIGINT, shutting down the host agent
INFO[0000] [hostagent] Shutting down the host agent
INFO[0000] [hostagent] Stopping forwarding "/var/run/docker.sock" (guest) to "/Users/rfay/.colima/fresh/docker.sock" (host)
INFO[0000] [hostagent] Stopping forwarding "/run/lima-guestagent.sock" (guest) to "/Users/rfay/.lima/colima-fresh/ga.sock" (host)
INFO[0000] [hostagent] Unmounting "/Users/rfay"
INFO[0000] [hostagent] Unmounting "/tmp/colima-fresh"
INFO[0000] [hostagent] Shutting down QEMU with ACPI
INFO[0000] [hostagent] Sending QMP system_powerdown command
INFO[0005] [hostagent] QEMU has exited
Even after that this is still happening.
$ sudo lsof -i :8025 -sTCP:LISTEN
Password:
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
ssh 53130 rfay 21u IPv4 0x8d534c11986d2b73 0t0 TCP localhost:ca-audit-da (LISTEN)
Version
Colima Version: 0.5.4
Lima Version: 0.15.0
Qemu Version: 7.2.0
Operating System
- macOS Intel <= 12 (Monterrey)
- macOS Intel >= 13 (Ventura)
- macOS M1 <= 12 (Monterrey)
- macOS M1 >= 13 (Ventura)
- Linux
Output of colima status
$ colima status fresh
FATA[0000] colima [profile=fresh] is not running
After restarting:
$ colima status fresh
INFO[0000] colima [profile=fresh] is running using QEMU
INFO[0000] arch: aarch64
INFO[0000] runtime: docker
INFO[0000] mountType: sshfs
INFO[0000] socket: unix:///Users/rfay/.colima/fresh/docker.sock
Reproduction Steps
I was running some DDEV tests and suddenly saw a port-held-open problem that I couldn't resolve by stopping all containers... then couldn't fix it by stopping Colima either.
Expected behaviour
When colima is stopped (or containers are stopped) no ports should be held open.
Additional context
Thanks as always!
I recognize that this may be a lima bug.
Killing the process did get rid of the port hold.
$ kill 53130
$ ps -fp 53130
UID PID PPID C STIME TTY TIME CMD
$ sudo lsof -i :8025 -sTCP:LISTEN
Metadata
Metadata
Assignees
Labels
No labels