Screen turns off + log files taking up all my space

Ubuntu Support Template

Ubuntu Version:
Example: 24.04.3 LTS

Desktop Environment (if applicable):
Ubuntu server. I think I use grub? (followed official install guide for ubuntu server)

Problem Description:
I have a fresh install of above OS.

I use LVM and have raid with two 128gb disks - I have 128gb total space that is.

Just trying to getting it started and learning this to be able to host my own websites from home.

However recently I had problem with screen turning off and I cant get it to wake again.

The keyboard still works, and the workstation is up and running. Just the screen going black/getting no signal.

So my journey began googling as the beginner I am.

I followed some guide to turn of all hibernation. Still the screen turns off after some minutes.

I then found a youtube clip using recovery mode etc. Upon following this I was told to update the ssystem. It then reports “no space left”.

So I googled how to check the space. And found threads talking about LVM problems. Followed that guide (https://askubuntu.com/questions/1106795/ubuntu-server-18-04-lvm-out-of-space-with-improper-default-partitioning) but my partition is already all the space, 104gb. But its 100% used.

So I googled more to figure out how to look what takes space. Its the /var folder. Using all space. Within that folder it seems to be logs that are my problem.

I am now trying to figure out how to even use the logs to see what my issue is. I also want to turn of the logs since they take all my space without me doing anything. My guess is I should find the culprit within the logs before - so I know what the issue.

But I cant find help why my screen goes off while using the server.

Since I am new I am starting to loose it since I am not familiar with console and not being able to get a good overview. ATM I am fumbling in the dark just knowing my logs fill up my LVM drive and that my screen goes black/turn off all the time which is super anoying.

I have activated the wake on lan, also configured it in my opnsense firewall - but the screen wont go back on until I restart the server with ctrl +alt + delete.

I would be very very very thankful for all tips you can give me on what to control/do.

I should note I always get “unable to load ubuntu” when I start up the server - however after the message I get the ubuntu loader start screen. And then it boots as normal.

I also use encryption on the disk. I thought I might try to do all the good stuff while I am building and learning from scratch. But I think I might be over my head on this one :frowning:

Best regards,

Flamuren

If you run

cd /var; sudo du -sh *

You’ll see the large directories and files. We can clear these down if you give details

2 Likes

Hi,

Thanks for your tip! :pray:

I managed to clean it up. 100gb of log files. And set up some max value, so the files cant get too big.

The problem was my gpu cooler. The GPU was overheating and crashing the OS and clogging the log files.

Both are fixed now :innocent:

1 Like

@flamuren Welcome to Ubuntu Discourse :slight_smile:

Great to hear you were able to fix the issues.

In order to help the community with a working solution and to recognize the user who helped, it is normal to mark the relevant post as the solution.

Thanks

1 Like

Why is the GPU on a server overheating ? On Ubuntu server you’re normally operating in a virtual terminal, the load on a GPU should be minimal. Actually, unless you’re doing any data processing on the GPU like crypto currency mining or local AI on this server, you don’t need a dedicated GPU, the onboard GPU included in most modern processors is more than up to the task.

Its a old cad computer with no connection for screen on the motherboard only on the GPU.

The fan was broken, so it was only the heatsink. The computer very little drag, so I guess the air was standing still around the heatsink and just got hotter and hotter.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.