Skip to content

slow report upload #688

@freedomwarrior

Description

@freedomwarrior

Hello.
When trying to upload report, I got timeout when curl sends data

Sending data to http://127.0.0.1/patchman with curl:
curl --insecure --connect-timeout 60 --max-time 600 -i -F host="patchman-server" -F tags="Server" -F kernel="5.15.0-143-generic" -F arch="x86_64" -F protocol="1" -F os="Ubuntu 22.04.5 LTS" -F report="false" -F packages=\</tmp/tmp.de7qoZWsdy -F repos=\</tmp/tmp.dMehOabOnQ -F sec_updates=\</tmp/tmp.aJ9bzYT6rj -F bug_updates=\</tmp/tmp.86lZNKoWHM -F modules=\</tmp/tmp.8tzoEM6ppq -F reboot="ServerCheck" http://127.0.0.1/patchman/reports/upload/
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 42766    0     0  100 42766      0    135  0:05:16  0:05:15  0:00:01     0

Upload speed slows down until it timeout.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions