What type of filesystem is this one?  It should be a PV.

Even 400 collections shouldn't be that many files.

On Mon, Mar 13, 2023 at 7:59 AM Steffen Moldenhauer
<s.moldenha...@intershop.de.invalid> wrote:
>
> Hi,
>
> we're using the Solr Operator 0.6.0
> In some of our deployments a restart of Solr Pods will take minutes up to 
> half an hour.
> The init container cp-solr-xml with the command
> cp /tmp/solr.xml /tmp-config/solr.xml && chown -R 8983:8983
>          /var/solr/data/backup-restore/local-collection-backups-1
> esp. the recursive chown seems to be the cause.  We mitigated it a bit by 
> cleaning up the backup volume regularly. But there are deployments with a 
> larger number of collections (~400) and then it is still slow.
>
> How can we avoid this or how can we speed that up? Would a  find -not -user X 
> -not -group X | xargs chown make sense/a difference here?
>
> Regards
> Steffen Moldenhauer

Reply via email to