Skip to content

UI Model management performs too many DNS requests #751

Closed

Description

@jhandwe

Even opening the models tab in the WebUI, but possibly also downloading models (I tested with Kororo and Qwen3 TTS), causes the server to perform thousands of identical DNS requests, mostly for us.aws.cdn.hf.co and huggingface.co (based on pihole logs). This trips the default 1000 requests per client and 60s limit of pihole, which results in time-outs and thus broken internet for the machine in question.

I tested this on commit 7c2ec18b00113319de08e0b1eec99f2cb45f8c27, built with

bash scripts/build_linux.sh --hip on --native-model-manager --jobs 16

The server command is

audiocpp_server --ui --ui-management --backend hip

Activity

  1. jhandwe commented on Oct 1, 2026

    @jhandwe
    Author

    Without looking into the code more deeply, this could be caused by the function http_request in src/framework/package_manager/manager.cpp constructing and configuring a new httplib::Client for each call. I am unsure how involved a code change to reusing client objects would be though.

  2. 0xShug0 commented on Oct 1, 2026

    @0xShug0
    Owner

    @jhandwe Thanks for reporting the issue! Will work on the fix.

  3. 0xShug0 commented on Oct 1, 2026

    @0xShug0
    Owner

    Fixed. One 316-package scan dropped from 2,576 to 18 DNS calls.

  4. jhandwe commented on Oct 2, 2026

    @jhandwe
    Author

    Just tested it, thanks for the super quick fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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