insufficient disk space

Forum for questions and support relating to the 1.29.x releases only.
Locked
Zenw1e
Posts: 10
Joined: Mon Sep 12, 2016 11:04 am

insufficient disk space

Post 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.
Attachments
space.jpg
space.jpg (54.55 KiB) Viewed 3644 times
bbunge
Posts: 2956
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: insufficient disk space

Post 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?
Zenw1e
Posts: 10
Joined: Mon Sep 12, 2016 11:04 am

Re: insufficient disk space

Post by Zenw1e »

I have no errors when viewing from web-browser or remote.
ZoneMinder installed on a HP ProLiant Server.
bbunge
Posts: 2956
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: insufficient disk space

Post 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
Zenw1e
Posts: 10
Joined: Mon Sep 12, 2016 11:04 am

Re: insufficient disk space

Post 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?
bbunge
Posts: 2956
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: insufficient disk space

Post 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...
Zenw1e
Posts: 10
Joined: Mon Sep 12, 2016 11:04 am

Re: insufficient disk space

Post by Zenw1e »

Ok, thanx, i will try
Zenw1e
Posts: 10
Joined: Mon Sep 12, 2016 11:04 am

Re: insufficient disk space

Post 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.
Locked