[Aya] [Burichan] [Cirno Blue] [Futaba] [Gurochan] [Marisa Black] [Murderer White] [Nazrin Grey] [Photon] [Reimu Red] [Spooky Suwako] - [Home] [FAQ] [Thread List] [Manage]

[Return]
Posting mode: Reply
Leave these fields empty (spam trap):
Name
Email
Subject
Comment
File
CAPTCHA
Password (for post and file deletion)
  • Supported file types are: GIF, JPG, PNG
  • Maximum file size allowed is 8192 KB.
  • Images greater than 256x256 pixels will be thumbnailed.

File: 1687194755457.png -(114357 B, 250x268) Thumbnail displayed, click image for full size.
114357 No.1349  

Strange things are afoot and they must be discussed.

>> No.1350  
File: 1687194811064.png -(511642 B, 648x915) Thumbnail displayed, click image for full size.
511642

What happened to the 'last image/GIF you saved' thread? I think it was >>25 based on my browser history. It was up less than 24 hours ago.

I also can't post in >>1, on posting it tells me 'thread doesn't exist' even though I can access it for reading.

>> No.1351  

>>1349
What things?
>>1350
Probably the same as with the last Post every time you visit /bun/ thread

captcha: gaw

>> No.1357  
File: 1687214564275.jpg -(307378 B, 1280x720) Thumbnail displayed, click image for full size.
307378

Why do threads randomly disappear on /bun/?

>> No.1359  
File: 1687260583249.jpg -(153982 B, 640x480) Thumbnail displayed, click image for full size.
153982

i dont know why and its freaking me out

>> No.1361  

It was the 4 oldest threads again, I'm restoring the backups I made for them in

April

and marking them as read-only because the last time I didn't they got purged. This is only a bandaid fix so someone please audit the code and solve this what the fuck is going on.

>> No.1363  
File: 1687277430783.png -(765058 B, 800x600) Thumbnail displayed, click image for full size.
765058

>>1361
If the GitHub code is up to date, the only function to delete posts (aside from the manual post deletion function delete_stuff) is called from trim_database(), and only in the while($threads>$max_threads or $posts>$max_posts or $size>$max_size) loop. I don't have your config file, do you have MAX_THREADS, MAX_POSTS or MAX_MEGABYTES set? I notice there's also an ARCHIVE_MODE setting, might be useful to configure for cases like this when stuff unexpectedly gets autodeleted.

>> No.1364  

It's probably some SQL faggotry then. MAX_THREADS is set to 1000 and there are currently only 80 active. I was under the impression that MAX_POSTS was used for in thread posting so it would lock after 1000 replies. If that might be the issue I'm disabling that as well. (Shouldn't >>25-san have disappeared when we hit >>1025?) I'll turn on the archive and hopefully that will work.

>> No.1366  
File: 1687281391892.png -(417518 B, 800x600) Thumbnail displayed, click image for full size.
417518

>>1364
The first count_posts in trim_database() is called without an argument, i.e. no $parent, so it counts ALL the posts in the database. Not sure how you configure a per-thread limit, but that value seems to dictate the maximum of all posts on the board.

>(Shouldn't >>25-san have disappeared when we hit >>1025?)

No, because earlier threads had already been deleted, reducing the overall post count.

>> No.1370  

>>1366
so if I disable all the limits it will never happen again???

>> No.1372  
File: 1687317992282.png -(634659 B, 800x600) Thumbnail displayed, click image for full size.
634659

>>1370
If that's what caused it, then theoretically, yes. Always make sure to have safeguards (like the ARCHIVE_MODE setting) and backups.

>> No.1374  

The currently fucked threads are 1, 3, 6, 7, 8, 11, 15, and 25. They seem to get deleted when I rebuild the cache, let me know if they disappear again. There's probably a way to put them back into the table to make them usable again but I'm too retarded to figure it out.

>> No.1378  

>>1374
the old short thoughts is gone too

>> No.1379  

>>1378
That was >>11. You can still view it by manually going to the URL: https://bunbunmaru.ca/wakaba/res/11.html

>> No.1380  
File: 1687393870322.jpg -(202713 B, 843x841) Thumbnail displayed, click image for full size.
202713

>>1379
I might as well post the rest.

>>1 welcome back: https://bunbunmaru.ca/wakaba/res/1.html
>>3 (Aya image, no text): https://bunbunmaru.ca/wakaba/res/3.html
>>6 (Sakuya image, no text): https://bunbunmaru.ca/wakaba/res/5.html
>>7 post in this thread every time you bun here: https://bunbunmaru.ca/wakaba/res/7.html
>>8 Winter 2023 Anime https://bunbunmaru.ca/wakaba/res/8.html
>>11 Short Thoughts: https://bunbunmaru.ca/wakaba/res/11.html
>>15 /bant/ culture thread: https://bunbunmaru.ca/wakaba/res/15.html
>>25 Post the last image/GIF you saved: https://bunbunmaru.ca/wakaba/res/25.html

>> No.1381  
File: 1687394654496.png -(864155 B, 1280x720) Thumbnail displayed, click image for full size.
864155

>>1380
Also checked the post counts while I was at it:
>>1: 30
>>3: 13
>>6: 3
>>7: 144
>>8: 54
>>11: 38
>>15: 2
>>25: 102 (as of the backup, more since then)

>>Total: 386

The numbers check out. We've been close (and presumably over) the 1000 posts before, and the 'last image' thread pushed the board over 1000 posts. After that got deleted, we were under 1000 posts again, stopping the cleanup.



Delete Post []
Password