8GB Ant Media server
I am running an 8GB Ant Media dedicated server and I updated the version to the latest a few days ago. I downloaded 2 videos successfully on the server and when I try to upload the third video a 37.1 GB video, I get an error message when the upload ends , happened twice so far.
I have 89.8 GB / 157 GB storage space so 37.1GB should not be an issue but when I translated the log message , it translates to "No space left on device".
I root SSHed and deleted the failed to upload video to free the storage space and I have around 67GB free space but I know if I try to upload my third video that is 37.1GB in size, I would get the error message again which doesn't make sense.
If you know what is wrong please let me know thanks.
2 Replies
How did you ascertain the total space available on your machine?
Linode's recommended method of doing so is by running df -h
More information on this can be found here:
https://www.linode.com/content/linux-df-and-du-commands-how-to-check-linux-disk-space-usage/
It may also be helpful to have the output of du -sh /usr/local/antmedia/
Also, is this a fresh install you are attempting these uploads on? This is a fairly common issue on older installs/machines.
-Micah
I used both commands , I can't post a screenshot here but basically I should have enough space it says 87GB when I used du -sh /usr/local/antmedia/ and df -h its below :
Filesystem Size Used Avail Use% Mounted on
udev 3.9G 0 3.9G 0% /dev
tmpfs 795M 976K 794M 1% /run
/dev/sda 157G 91G 59G 61% /
tmpfs 3.9G 0 3.9G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
tmpfs 795M 0 795M 0% /run/user/0
Originally I just checked through my dashboard to check my disk space as it says on there, this is a fresh install I am attempting these uploads on yes , I don't know why I get this.