Skip to content

Performance degradation since RELEASE.2026-09-16T00-00-00Z #251

Closed as not planned

Description

@GhaziTriki

Since RELEASE.2026-09-16T00-00-00Z I have noticed several issues in production mostly regarding performance but not only:

  1. Slow loading of policies through UI "/policies" and it takes around 85 seconds for about 50 policies only.
  2. Reading and writing into some buckets is no more possible.
  3. Performance issue accessing bucket content, improved in the release after.

I would be happy to share more feedback and collaborate debugging, just ping me.

Activity

  1. GhaziTriki commented on Oct 20, 2026

    @GhaziTriki
    Author

    I reverted to version https://github.com/pgsty/silo/releases#release-RELEASE.2026-09-03T13-18-01Z and listing bucket content takes a lot of time even with pagination enabled.
    Listing policies took now 61 seconds. So there is definitely an issue before that version.

  2. julienlau commented on Oct 23, 2026

    @julienlau

    On how many clusters did you see that ?
    I would investigate first the cluster before the version. How do you know that it comes from this specific version ?
    How many env ?
    What is your topology ? are you using site replication or tiering ?

  3. GhaziTriki commented on Oct 23, 2026

    @GhaziTriki
    Author

    Hello @julienlau,
    We have a single cluster with 6 servers and single entry point load-balancer.
    Since we deployed that version on 16th September we have an application that stopped walking through some buckets. The issue might come from a previous version. Also I use "CS Browser" and now walking throuh buckets list takes a lot of time, it looks like pagination or items per page is not working as expected anymore.
    We are not using replication.

  4. GhaziTriki commented on Oct 26, 2026

    @GhaziTriki
    Author

    Update: root cause found on our side, plus two questions for SILO

    Root cause: a client-side pile-up of recursive listings. A recording sync script running from cron on 5 servers had no concurrency lock, and its raw-recording loop re-ran mcli mirror on every raw recording ever kept, on every run. Once one run took longer than the cron interval, runs overlapped and kept accumulating. One server alone had 182 concurrent mcli mirror processes; each starts with a recursive ListObjectsV2 of its target prefix. This matches the ~877 in-flight listObjectsV2Handler in the profiles (5 servers × ~180).

    It became self-sustaining: slower listings made runs longer, which made more runs overlap, which made listings slower. This explains:

    • the onset on 2026-10-11 without any deployment (the point where runs started to overlap);
    • the reset after every restart, followed by degradation;
    • the 10-minute ClientDisconnected listings;
    • the slow IAM refresh and /policies (.minio.sys walks queue behind the same per-drive walk serialization on HDDs).

    So this was not a regression in 20260903, 20260916 or 20261018. Sorry for the noise in the title.

    What we changed

    • Sync script: flock so runs never overlap, 1 transfer at a time per server, raw recordings that are already mirrored and verified are skipped
    • Killed the accumulated mcli mirror processes on all servers
    • MINIO_SCANNER_SPEED from fastest to default, rolling restart

    Result

    Measurement Before After
    ListObjectsV2 in flight (cluster) ~877 N
    Goroutines per node 12,600–17,700 N
    IAM refresh took, daily median 405 s N s
    mcli admin policy ls ~2 min N s

    Remaining questions (SILO side)

    Our client was clearly at fault, but a single misbehaving client could starve IAM and every other request on the whole cluster:

    1. Is there, or could there be, a cap on concurrent listings or walks per node or drive, separate from requests_max? Listings beyond the cap could return 503 SlowDown quickly instead of queuing for 10 minutes behind the rotational walkMu/walkReadMu.
    2. Could IAM refresh be isolated from S3 listing load, so .minio.sys/config/iam walks don't queue behind client listings on the same drives?
    3. In the degraded profile, about 1,000 walks per node sat in metacacheWriter.Close → s2.(*Writer).Flush after the walk had finished. Is the consumer (merge or WalkDirHandler stream) not draining or canceling when the listing request ends?

    The profiles are available on request.

  5. added
    bug
    wontfix
    on Oct 27, 2026
  6. added theissue type on Oct 27, 2026
  7. moved this from Backlog to Done in Siloon Oct 27, 2026
  8. Vonng commented on Oct 27, 2026

    @Vonng
    Member

    Thanks for the detailed follow-up and for tracing this down.

    The additional evidence identifies the immediate cause as a client-side workload pile-up: the cron job started overlapping mcli mirror runs, and each run recursively listed the historical recordings. One server reached about 182 concurrent mcli mirror processes, producing roughly 877 concurrent ListObjectsV2 handlers across the cluster. This also explains why the degradation began without a SILO deployment, why a restart temporarily reset it, and why IAM refresh and the Console policy view were affected by the same drive walk serialization.

    After adding a flock, limiting each server to one transfer at a time, skipping recordings that were already mirrored and verified, stopping the accumulated processes, and returning MINIO_SCANNER_SPEED to default, the client-side pressure was removed.

    Based on this follow-up, the report does not establish a SILO regression in 20260903, 20260916, or 20261018, and there is no SILO code fix to ship from this incident. I am closing this issue as not planned.

    The possible server-side improvements you mentioned—bounded concurrent listing walks, returning 503 SlowDown instead of queueing indefinitely, isolating IAM refresh from S3 listing load, and ensuring listing streams are cancelled and drained promptly—remain valid separate design questions. Please open or reopen a focused issue if one of these can be reproduced with a controlled, non-overlapping client workload.

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

    bugwontfix

    Type

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions