Running system service with --time=0 connections appear to grow without limit #8208
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
When you run the podman system service to provide the api, each request looks like it creates connections for each request and the number doesn't shrink. If you're using socket activation it's probably not a problem, but if the service never stops it might become an issue. I don't know if this is an actual issue or if the numbers being reported are incorrect.
Steps to reproduce the issue:
sudo podman --log-level debug system service --time=0 unix:///tmp/podman.sock
sudo chmod a+rw /tmp/podman.sock
curl --unix-socket /tmp/podman.sock "http:/libpod/_ping" && curl --unix-socket /tmp/podman.sock "http:/libpod/_ping" && curl --unix-socket /tmp/podman.sock "http:/libpod/_ping"
Describe the results you received:
Logging indicates connections growing for each request
DEBU[0000] API Server idle for 0s
DEBU[0000] APIServer.Shutdown ignored as Duration is UnlimitedService.
DEBU[0068] IdleTracker 0xc000010008:new 0/0 connection(s)
DEBU[0068] IdleTracker 0xc000010008:active 1/1 connection(s)
DEBU[0068] APIHandler -- Method: GET URL: /_ping
DEBU[0068] IdleTracker 0xc000010008:idle 1/2 connection(s)
DEBU[0068] IdleTracker 0xc000010008:closed 0/2 connection(s)
DEBU[0069] IdleTracker 0xc000010148:new 0/2 connection(s)
DEBU[0069] IdleTracker 0xc000010148:active 1/3 connection(s)
DEBU[0069] APIHandler -- Method: GET URL: /_ping
DEBU[0069] IdleTracker 0xc000010148:idle 1/4 connection(s)
DEBU[0069] IdleTracker 0xc000010148:closed 0/4 connection(s)
DEBU[0069] IdleTracker 0xc000010218:new 0/4 connection(s)
DEBU[0069] IdleTracker 0xc000010218:active 1/5 connection(s)
DEBU[0069] APIHandler -- Method: GET URL: /_ping
DEBU[0069] IdleTracker 0xc000010218:idle 1/6 connection(s)
DEBU[0069] IdleTracker 0xc000010218:closed 0/6 connection(s)
DEBU[0070] IdleTracker 0xc000114178:new 0/6 connection(s)
DEBU[0070] IdleTracker 0xc000114178:active 1/7 connection(s)
Describe the results you expected:
Connections shouldn't grow
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide?
No
Additional environment details (AWS, VirtualBox, physical, etc.):
The text was updated successfully, but these errors were encountered: