Moonbeam Posted February 18, 2021 Posted February 18, 2021 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?
Daniel F Posted February 18, 2021 Posted February 18, 2021 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.
Moonbeam Posted February 18, 2021 Author Posted February 18, 2021 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.
Morrigan Posted February 18, 2021 Posted February 18, 2021 (edited) 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, 2021 by Morrigan
Management Matt Posted February 18, 2021 Management Posted February 18, 2021 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.
CoffeeCake Posted February 18, 2021 Posted February 18, 2021 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
Moonbeam Posted February 18, 2021 Author Posted February 18, 2021 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.
Management Charles Posted February 18, 2021 Management Posted February 18, 2021 14 minutes ago, Moonbeam said: 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. Moonbeam 1
CoffeeCake Posted February 18, 2021 Posted February 18, 2021 Oh! This is for CIC. Maybe it'd be nice if we had tagging for CIC related things here when creating threads. AlexWebsites 1
Management Charles Posted February 18, 2021 Management Posted February 18, 2021 22 minutes ago, Moonbeam said: 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?
Moonbeam Posted February 18, 2021 Author Posted February 18, 2021 2 minutes ago, Charles said: 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. 4 minutes ago, Paul E. said: 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.
Management Charles Posted February 18, 2021 Management Posted February 18, 2021 2 minutes ago, Moonbeam said: 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. Moonbeam 1
CoffeeCake Posted February 18, 2021 Posted February 18, 2021 11 minutes ago, Moonbeam said: 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 AlexWebsites, Charles and Moonbeam 2 1
Moonbeam Posted February 18, 2021 Author Posted February 18, 2021 16 minutes ago, Charles said: 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?
Daniel F Posted February 18, 2021 Posted February 18, 2021 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. Moonbeam 1
Moonbeam Posted February 18, 2021 Author Posted February 18, 2021 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.
Moonbeam Posted February 18, 2021 Author Posted February 18, 2021 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.
Daniel F Posted February 18, 2021 Posted February 18, 2021 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.
Moonbeam Posted February 18, 2021 Author Posted February 18, 2021 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. Linux-Is-Best and bfarber 2
Recommended Posts