Post B4nur4nOyUkE0Mx1Oa by tati@eldritch.cafe
 (DIR) More posts by tati@eldritch.cafe
 (DIR) Post #B4nur4nOyUkE0Mx1Oa by tati@eldritch.cafe
       0 likes, 0 repeats
       
       #wordpress nerds, i'm beating my head against the wall.i help an org with a hosted wordpress setup. one of our board members needed to give some big files to someone and putting them in wordpress seemed like a safe and easy way to do it. i wouldn't have had any reason to think there would be a problem either.some time later, a couple of people went to work in an area that's handled by a heavy pig of a plugin. the site fell over, out of memory and thrashing.i don't believe the files were being downloaded at that moment. but deleting them put the site back to normal. i don't see any evidence of disk quotas, but i don't know all the ways to check for that in ubuntu.why could big-ass files knock a site over, and why could deleting them fix it immediately ?
       
 (DIR) Post #B4nur50sAPWIg9FmOO by jibsaram@68k.social
       0 likes, 0 repeats
       
       @tati@eldritch.cafe hi! 👋 The first thought that comes to mind is if those files are accessed (ie. downloaded) via a WordPress proxy path rather than a direct link, WordPress may be trying to load them entirely in memory as they pass through, which depending on your setup might be able to make everything rather memory constrained. Could that be a possible reason?
       
 (DIR) Post #B4q5KLSbU0ZvwdjniC by tati@eldritch.cafe
       0 likes, 0 repeats
       
       @jibsaram hi ! i don't think so ? i assume they gave a direct url, but it's definitely worth asking, and it would explain memory pressure. as far as setup, this thing feels underprovisioned. i didn't notice that until i put a periodic monitor on it, but it has less total memory than the size of any one of those files. the plugin i call the 'pig' is sometimes slow to load and i now think it's because of swapping. i didn't notice other heavy plugins, but now i definitely need to check for anything intercepting downloads. thank you for the ideas !
       
 (DIR) Post #B4q5KLkKQ6kypc1xL6 by jibsaram@68k.social
       0 likes, 0 repeats
       
       @tati@eldritch.cafe Oof yeah sounds like that can be quite challenging, especially if the DB server is running on the same instance too. I hope you've been able to figure it out!