Skip to main content.

Log Lag

posted by pilgrim

pilgrim
Posts: 283
Log Lag 1 of 3
April 20, 2025, 11:10 a.m.

After some testing with some very helpful players (thanks, Ighlaf and Firouzeh in particular), we discerned that the reason for recent crashes is multiple players accessing logs at a time.

I thought the reason for this might be due to how roleplay logs are stored in a django model, so I've now revamped roleplay logs to work as text files that sit on the server instead. The django model still points to that file, but it should be less difficult, hopefully? 


Let's test over the next week or so and see if the server ends up crashing when people are titling or otherwise accessing their logs on the website.

As a note, the new system is backwards-compatible, meaning that the old logs still work. Multiple players titling old logs at a time could still potentially cause a crash. If this new system works, I will see if it's worth patching over old logs to the new system. 

If you have any issues or get any tracebacks with the new system, feel free to send me an OOCMail or just post here to mention it so I can get you fixed. 

Thanks!

April 20, 2025, 11:10 a.m.
Quote
Ighlaf
Posts: 178
Re: Log Lag 2 of 3
April 20, 2025, 12:31 p.m.

Thank you!

And shout out to pof Yasin helping figure out logs were crash cause alongside.

April 20, 2025, 12:31 p.m.
Quote
Yasin
Posts: 112
Re: Log Lag 3 of 3
April 20, 2025, 3:02 p.m.

Woohoo, so excited about this! For whatever its worth, pilgrim, that explanation makes lots of sense to me. But yes, will only _slightly_ get my hopes up :toolbox: and will pay careful attention to log titling shenanigans over the next week or so!

April 20, 2025, 3:02 p.m.
Quote