Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jack Wilson 3 posts 73 karma points c-trib
    Jun 21, 2024 @ 10:04
    Jack Wilson
    0

    Examine high CPU/memory usage

    We have a site running on 13.3.2, every so often it'll have a huge spike in CPU usage and also memory usage which causes it to crash. I believe I have found, roughly, the cause of the performance issues which is the "News" page where it lists 12 news articles at a time, retrieved from examine from a total number of around 2880 news articles. The page itself is extremely speedy, but after doing a CPU profiler while it had crashed I saw that the Execute function on the index was using >50% CPU. More specifically it was System.IO.UnmanagedMemoryAccessor.ReadByte, called by Lucene.Net.Codecs.Compressing.CompressingStoredFieldsReader.VisitDocument, called by Examine.Lucene.Search.LuceneSearchExecutor.Execute, called by Examine.Lucene.Search.LuceneSearchQuery.Search.

    It's a difficult one to diagnose since I can't recreate the issue on my local environment, I have to wait until it crashes in the live environment and remotely debug the process.

    Has anyone seen this before or have any ideas?

Please Sign in or register to post replies

Write your reply to:

Draft