question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Contents Cache failed for <Object name>

See original GitHub issue

Brief summary of issue / Description of requested feature:

This happened before in issue #1064 and I thought it was resolved, but when checking my logs for the past week, I occasionally will see dozens of lines of error messages of Contents cache failed for <object name here>, a character or a room. Reloading fixes it, though I’m unsure why this would suddenly pop back after seeming to be resolved for months.

Steps to reproduce the issue / Reasons for adding feature:

  1. Long enough period between reloads seems to occasionally create this error.

Error output / Expected result of feature

Dozens of lines of Contents cache failed for <object name>. Usually more than one object is affected - somewhere between 1-6 characters or rooms seems to be typical.

Extra information, such as Evennia revision/repo/branch, operating system and ideas for how to solve / implement:

Probably related to issue #1064

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:20 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
Griatchcommented, Jun 26, 2020

@TehomCD, @aceamro @strikaco I have investigated the error and found this to be benign. What happens is that the central idmapper cache is flushed (this happens on a timer to cut down on memory usage), meaning the lookup fails. Reloading from database rebuilds that part of the cache and it will after that not longer give the error. So this is the normal operation of rebuilding the cache after a flush. It’s just the ‘error’ in the log that’s confusing. I have removed the logging of this (it shouldn’t even be a warning).

0reactions
strikacocommented, Jan 23, 2020

In #1064, the reason for this error was the firing of the cache flush mechanism (see my comment that reproduced it). This will start firing if the memory footprint of your game is increasing past the memory limiter breakoff point as set in settings. Is the memory limiter firing for you in the same way now?

@Griatch I’m starting to experience this error myself. The memory limiter is definitely kicking in; the rest of the conditions are as reported-- 12h+ uptime, active (10k+ objects created).

But everything still seems to be working inasmuch as I can observe it. Is this log entry misclassified (should it be a warn event?) or is its presence indicative of an actual error that needs addressing?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Delete failed with "Missing cache file for object ..." in ... - IBM
The error is caused because the cache file should exist but is missing. Diagnosing The Problem. Run ' ccm fs_check -v objectname '....
Read more >
Quick Fix: Object Cache Error - Design TLC
Fix an object-cache error message on your WordPress website with this easy process.
Read more >
"Invalid object name" error. - Microsoft Q&A
I have a table that exists in the database. When I run "Select * from tablename" , it executes successfully .But when I...
Read more >
sql server invalid object name - but tables are listed in SSMS ...
In my case, the IntelliSense cache was listing object information for an entirely different database. ... Select your appropriate database name. That's it....
Read more >
3 Troubleshooting TimesTen Application-Tier Database Cache
DDL on cached Oracle database tables may cause cache group operations to fail. Changes not visible after updating object in cache group. Loading...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found