Server doesn't stay running for more than 5-10 minutes. Lots of clients on it. Thx!!!

CrewXp

Active Member
Nov 12, 2003
43
0
156
Hey, I kinda have a big problem. Last friday our server died. Today I cold-booted it and it starts up and all. But 5-10 minutes later, it doesn't work anymore. And it's still on. I can connect via putty to it (it asks for the username). But after taht nothing. No password request or anything. And cpanel/websites dont work.. it just says connecting.

I've tried updating apache when it was up, but it never has time to finish before it happens again.

Does anyone know what could be wrong? Thx

It's running FreeBSD with whm and all.

Also, when I tried viewing /var/log/syslog, it gave me like "/var: write failed, filesystem is full"

When I did 'df' in ssh, it gave this:
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/ad4s1a 253678 72162 161222 31% /
devfs 1 1 0 100% /dev
/dev/ad4s1e 507630 9194 457826 2% /tmp
/dev/ad4s1f 232255452 37966652 175708364 18% /usr
/dev/ad4s1d 1482638 1309724 54304 96% /var
devfs 1 1 0 100% /var/named/dev
procfs 4 4 0 100% /proc
I'm not sure if it's space-related, but I could use as much help as I can get. Thx!
 

AndyReed

Well-Known Member
PartnerNOC
May 29, 2004
2,221
4
193
Minneapolis, MN
The error message is self explanatory. You need to delete files to make room on your partitions.
 

CrewXp

Active Member
Nov 12, 2003
43
0
156
Hey, there's LOTS of stuff in /var/tmp. Would it be okay to move it to /home. then remake tmp to create space?

I'm not sure on what to clear out, and what not to delete. Thx

And why is it filling up so fast.. On other partitions, I have tons of free space.
Filesystem Size Used Avail Capacity Mounted on
/dev/ad4s1a 248M 70M 157M 31% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/ad4s1e 496M 9.0M 447M 2% /tmp
/dev/ad4s1f 221G 36G 167G 18% /usr
/dev/ad4s1d 1.4G 934M 398M 70% /var
devfs 1.0K 1.0K 0B 100% /var/named/dev
procfs 4.0K 4.0K 0B 100% /proc
But yeah. What should I delete and NOT delete? Thx so much
 
Last edited:

CrewXp

Active Member
Nov 12, 2003
43
0
156
it's okay to move the /var/tmp directory, right? There's nothing that would cause the system to have an error. Right? B/C I did that and it's working fine now.

But is that just temporary? How do I increase the space usage on that? There's Gigabyes of free space in other areas.

thx