Excessive Event ID 7351 - The object cache for the site collection 'http://xxxxx.com' is being reset.

David Balawyder 0 Reputation points
2023-12-21T21:31:48.81+00:00

We are seeing excessive amounts of Event ID: 7351 being logged in the SharePoint Operations Event log and the SharePoint w3wp.exe processes memory climbs to the point of consuming all available memory then the process restarts (takes about 4 hours) and everything works fine but the process then goes through the same cycle.

Every 5 minutes we generate hundreds of these messages in the SharePoint Operations Event Log and seem to kick off every 5 minutes.

The object cache for the site collection 'http://xxxxxxx.yyyyyyyy.zzzzzzzz.aaaaaa.com' is being reset.

Has anyone seen this before?

Microsoft 365 and Office | SharePoint | For business | Windows
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Emily Du-MSFT 51,871 Reputation points Microsoft External Staff
    2023-12-22T07:22:47.95+00:00

    Event ID 7351 means the object cache exceeded its maximum assigned size.

    The object cache is used internally to optimize page rendering by storing properties of sites, page layouts, and pages. The object cache reduces the amount of traffic between the Web server and a SQL database. This results in higher throughput of rendered pages, thereby increasing the number of pages that can be delivered to clients.

    Go to the site collection -> Site settings -> Under Site Collection Administration, click Site collection object cache -> Set a larger Object Cache Size.

    You also could try to add more RAM to the server or increase the memory allocation of the distributed cache.

    References:

    https://support.microsoft.com/en-au/office/configure-object-cache-settings-cef3a1f7-4493-496d-9396-9da3a4d5bab7

    https://learn.microsoft.com/en-us/sharepoint/technical-reference/cached-objects-have-been-evicted


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. David Balawyder 0 Reputation points
    2024-01-04T22:01:01.3933333+00:00

    Hi Emily,

    Sorry I have not got back sooner and thanks for the information. We did double the cache size but we are still seeing excessive 7351 messages in the SharePoint Event log. Let me provide more information on what we are seeing in the Log, the following snippet shows the amount of these clear cache events we are seeing. They start showing up in the log once the users start their day and continue throughout the day continuously. On top of the 7351 events we are also getting event 2161, the details behind these are. Each 7351 occurs repetitively for each of the two site collections.

    Event 7351 (Web Content Management) of severity 'Informational' occurred 67 more time(s) and was suppressed

    Event 7351 (Web Content Management) of severity 'Informational' occurred 33 more time(s) and was suppressed in the event log

    Event 7351 (Web Content Management) of severity 'Informational' occurred 25 more time(s) and was suppressed in the event log

    Event 7351 (Web Content Management) of severity 'Informational' occurred 6 more time(s) and was suppressed in the event log

    Event 7351 (Web Content Management) of severity 'Informational' occurred 25 more time(s) and was suppressed in the event log

    Event 7351 (Web Content Management) of severity 'Informational' occurred 21 more time(s) and was suppressed in the event log

    Event 7351 (Web Content Management) of severity 'Informational' occurred 34 more time(s) and was suppressed in the event log

    Event 7351 (Web Content Management) of severity 'Informational' occurred 15 more time(s) and was suppressed in the event log

    Event 7351 (Web Content Management) of severity 'Informational' occurred 18 more time(s) and was suppressed in the event log

    ... this shows that the cache reset event has triggered ~250 times in a span of about 40 minutes.

    My understanding is once the cache is cleared the SharePoint server has to go back to the database to re-render the content. Our users are seeing some pages coming up blank which we suspect "may" be a victim of the cache clearing.

    We have the same software installed at another site and we only see the 7351 event show up twice on the hour every hour, once for each of the two site collections.

    User's image

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.