View Full Version : Space Issue Preventing New Attachments/causing error
smooth-c
01-24-2009, 09:30 AM
Okay guys, around lunchtime yesterday my site started going a bit slow and I noticed trying to upload attachments gave this error;
http://img518.imageshack.us/img518/8963/59148229dm4.jpg
Now, I thought this was a little strange so I rebooted my server and the issue went - a little while later, it came back so I tried logging into phpmyadmin and I see this error (which prevents me from logging in)
Warning: Unknown: write failed: No space left on device (28) in Unknown on line 0
Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0
I went to this directory and noticed there was lots temp files, so with the advice from another forum I deleted them. The issue seemed to resolve itself and then later on, it just started again so im here now.
Can anyone give me advice? this issue is driving me crazy and I really need to rectify it asap.
Many thanks,
Greg
Dismounted
01-24-2009, 09:33 AM
It looks like the hard drive has run out of space on your server. Please contact your host ASAP.
smooth-c
01-24-2009, 10:05 AM
Hm my hard drive is 250GB - (I've got two of the same size but only use one) didn't think we'd ever fill it
I checked via ssh but I don't really understand any of this, do you?
[root@sxxxxxx ~]# fdisk -l
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sda1 1 123 987966 fd Linux raid autodetect
/dev/sda2 124 367 1959930 82 Linux swap / Solaris
/dev/sda4 368 30401 241248105 5 Extended
/dev/sda5 368 976 4891761 fd Linux raid autodetect
/dev/sda6 977 1585 4891761 fd Linux raid autodetect
/dev/sda7 1586 30401 231464488+ fd Linux raid autodetect
Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 1 123 987966 fd Linux raid autodetect
/dev/sdb2 124 367 1959930 82 Linux swap / Solaris
/dev/sdb4 368 30401 241248105 5 Extended
/dev/sdb5 368 976 4891761 fd Linux raid autodetect
/dev/sdb6 977 1585 4891761 fd Linux raid autodetect
/dev/sdb7 1586 30401 231464488+ fd Linux raid autodetect
Disk /dev/md7: 237.0 GB, 237019529216 bytes
2 heads, 4 sectors/track, 57866096 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk identifier: 0x00000000
Disk /dev/md7 doesn't contain a valid partition table
Disk /dev/md6: 5009 MB, 5009047552 bytes
2 heads, 4 sectors/track, 1222912 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk identifier: 0x00000000
Disk /dev/md6 doesn't contain a valid partition table
Disk /dev/md5: 5009 MB, 5009047552 bytes
2 heads, 4 sectors/track, 1222912 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk identifier: 0x00000000
Disk /dev/md5 doesn't contain a valid partition table
Disk /dev/md1: 1011 MB, 1011548160 bytes
2 heads, 4 sectors/track, 246960 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk identifier: 0x00000000
Disk /dev/md1 doesn't contain a valid partition table
[root@xxxxxxx ~]#
--------------- Added 1232798930 at 1232798930 ---------------
Also, i've just deleted a few GB's from the server and the problem still remains - should it not of gone, atleast for now?
nexialys
01-24-2009, 11:31 AM
file size limit, files too big can interupt the connection too...
did you check these details with your webmaster ?!
smooth-c
01-24-2009, 11:51 AM
I've sent a support request in now - awaiting a response but they will most likely just say "it's a dedicated server, deal with it"
This is a nightmare! :(
Dismounted
01-24-2009, 12:03 PM
I checked via ssh but I don't really understand any of this, do you?
fdisk shows the disk structure, not remaining space. Run this command instead:
df -h
Also, i've just deleted a few GB's from the server and the problem still remains - should it not of gone, atleast for now?
Deleted from where? You could be removing files from a partition/drive that is not full, and hence, not the problem.
I've sent a support request in now - awaiting a response but they will most likely just say "it's a dedicated server, deal with it"
If you don't not have the knowledge to manage your own server (not saying this is a bad thing), would it have been wise to opt for a fully managed solution?
smooth-c
01-24-2009, 07:54 PM
Thanks for your help :) I do agree with your last opinion but hey, i'm willing to learn! :)
Anyway, I solved the issue - my friend pointed out that my log file was over 10GB in size so all is sorted!
Thanks for your help guys! :D
Dismounted
01-25-2009, 02:44 AM
You might want to have a look at "logrotate".
http://linuxcommand.org/man_pages/logrotate8.html
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.