Page 1 of 1

insufficient disk space

Posted: Fri Oct 21, 2016 6:02 am
by Zenw1e
Hi there!
When i'm watching live stream from ZM via web browser, everytime i received message "Insufficent disk space" and stream video stopped.
What is this?
"df -h" command tells, disk space is good (see attachment)
Thanx.

Re: insufficient disk space

Posted: Fri Oct 21, 2016 2:02 pm
by bbunge
You need to give us more info. Just guessing that you have Zoneminder installed on a desktop system and the error msg comes from your browser? Do you get the error when you view the stream from a remote pc?

Re: insufficient disk space

Posted: Mon Oct 24, 2016 12:52 pm
by Zenw1e
I have no errors when viewing from web-browser or remote.
ZoneMinder installed on a HP ProLiant Server.

Re: insufficient disk space

Posted: Tue Oct 25, 2016 6:23 pm
by bbunge
Viewing a monitor live generates temporary files in the directory defined by PATH_SWAP. The "default" location is /tmp. The system will create 999 files then start overwriting the earlier files. The size of the .jpg's is determined by the camera resolution. So, the higher the resolution the more space in PATH_SWAP you will need. If you have changed the PATH_SWAP to your tmpfs area you could run out of space faster even though writing to RAM is faster than writing to disk.

I am not saying this is your problem but it could be.

bb

Re: insufficient disk space

Posted: Thu Oct 27, 2016 6:38 am
by Zenw1e
Thanx for an answer.
For a directory /tmp i reserved 5 Gb.

Code: Select all

/dev/md2           5,4G          78M  5,0G            2% /tmp
Everytime i see 78Mb load of this directory, not more.
What should i do?

Re: insufficient disk space

Posted: Thu Oct 27, 2016 7:04 pm
by bbunge
Zenw1e wrote:Thanx for an answer.
For a directory /tmp i reserved 5 Gb.

Code: Select all

/dev/md2           5,4G          78M  5,0G            2% /tmp
Everytime i see 78Mb load of this directory, not more.
What should i do?
Reinstall your system and create a swap partition and a root "/" partition. Put all your directories and files in one partition. Performance wise you gain nothing by creating a bunch of partitions. Only problems when a partition runs out of space...

Re: insufficient disk space

Posted: Mon Oct 31, 2016 5:31 am
by Zenw1e
Ok, thanx, i will try

Re: insufficient disk space

Posted: Tue Nov 01, 2016 7:05 am
by Zenw1e
I noticed that when viewing live cameras on the computer on which the open web streaming quickly runs out of space on this hard drive, if you look TEMP folder, then they reach the 120 GB and above, because this is written and "not enough space", when i am cleared this temp files, cameras starting normally streaming.