Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted February 18, 20214 yr I have done a lot of searching, trying to hunt down the answer to this on my own, but I'm kind of stumped. Then again, I don't actually know what I'm doing, but hey - I never claimed otherwise. However, even I know that something's not right when we're still just goofing around, testing how we want to set things up, and have next to no content and only a handful of user accounts (all of which belong to the admin team and our socks) and we've somehow used 7.57 of 7.81 of our disk space. That shouldn't be happening with almost no content at all, right? What am I missing? I mean, other than disk space?
February 18, 20214 yr Community Expert What's eating up the space? The database or files on your filesystem? Are your tasks running? If not, the cleanup task which cleans up stuff like the guest cache is never called, which would explain a huge increase in the database size.
February 18, 20214 yr Author Like I said, we have almost no content. There are two files in the File folder. I checked, and the tasks appear to be running, but I'll go back and look specifically at the cleanup task. I ran the cleanup task, which is set to run daily and appears to be doing so. Running it didn't change the amount of disk space being used.
February 18, 20214 yr I don't know what panel you have but most of them will break that down into specifics: So my databases (I have a few) are taking up 3 gigs of that 138 gigs of dick usage on my server. What Daniel is asking you @Moonbeam is which one is it in you case? With my hosting I can actually click on those and get more details: For me I know a chunk of it is my systems daily backup that is run by my server (probably about half of it honestly). Edited February 18, 20214 yr by Morrigan
February 18, 20214 yr Management Check email usage too. I've seen Cpanel servers with a lot of disk space usage and the culprit is a POP3 mailbox with GB of mail sitting there.
February 18, 20214 yr Something like this might help narrow down what and where space is being taken up: https://superuser.com/questions/9847/linux-utility-for-finding-the-largest-files-directories
February 18, 20214 yr Author What I'm looking at is the panel in the client area, which... looks even worse today, apparently stating that we've exceeded our allotted disk space, somehow. We don't have any email set up yet, as I haven't yet figured out how to accomplish that. We've got nothing on the site that could possibly be taking up this much space.
February 18, 20214 yr Management What I'm looking at is the panel in the client area, which... looks even worse today, apparently stating that we've exceeded our allotted disk space, somehow. We don't have any email set up yet, as I haven't yet figured out how to accomplish that. We've got nothing on the site that could possibly be taking up this much space. I will have a look at your account and get back to you. That does seem abnormally high. I can see on the backend what is specifically using space.
February 18, 20214 yr Oh! This is for CIC. Maybe it'd be nice if we had tagging for CIC related things here when creating threads.
February 18, 20214 yr Management What I'm looking at is the panel in the client area, which... looks even worse today, apparently stating that we've exceeded our allotted disk space, somehow. We don't have any email set up yet, as I haven't yet figured out how to accomplish that. We've got nothing on the site that could possibly be taking up this much space. Your REST API logs are using 9GB of space. Do you want me to delete them all and turn on pruning?
February 18, 20214 yr Author Your API logs are using 9GB of space. Do you want me to delete them all and turn on pruning? Yes, please. And that is very interesting - I wouldn't have thought we'd have that much in the API logs when we've barely begun building stuff. Good to know, and I'll watch that in the future. Oh! This is for CIC. Maybe it'd be nice if we had tagging for CIC related things here when creating threads. Yes, sorry. Didn't occur to me to even look for such a tag.
February 18, 20214 yr Management Yes, please. And that is very interesting - I wouldn't have thought we'd have that much in the API logs when we've barely begun building stuff. Good to know, and I'll watch that in the future. I think you must have REST API logs enabled to log all activity. You should have a look at those. I pruned it for you.
February 18, 20214 yr Yes, sorry. Didn't occur to me to even look for such a tag. No worries! Self-hosted sites and CIC sites are going to have completely different troubleshooting paths when dealing with issues outside of the IPS software itself (or sometimes in extending or integrating things). It'd be nice if when posting here, there were a prompt to select what is applicable to the question or issue being asked. @Jordan Invision
February 18, 20214 yr Author I think you must have REST API logs enabled to log all activity. You should have a look at those. I pruned it for you. I'm not seeing a setting for disabling this. Can you point me to where I can do that?
February 18, 20214 yr Community Expert You can change this on the REST API - API Log page, but there's no way to disable the logging, you can only reduce the timeframe to 1 day.
February 18, 20214 yr Author Thanks, Daniel. I've set it to one day, and I'll start digging into the API calls to see if we inadvertently set something in a way that we don't want it to function.
February 18, 20214 yr Author Yes, yes it is. It seems to be making multiple calls per minute. Maybe that's the way it's supposed to be... I have no way of knowing for sure. But I've watched the pages of logs increase at an alarming rate in the last hour, so I'm thinking that's excessive.
February 18, 20214 yr Community Expert Take a look at the log, then you'll know how many calls are being made;) That said, there's no way to disable logging globally, but you can enable/disable the logging for each endpoint.
February 18, 20214 yr Author Yes. I'd finally figured that out. If you picture someone who's just moved into a furnished house and suddenly dealing with a power outage, stumbling around in the dark and knocking things over and slamming their head into unseen walls, you'll have an accurate read on my attempt to wrangle managing this forum.