OMV5 systems hangs for several seconds

  • Hi,


    I have built my own NAS about two years ago or so based on OMV 5 and since then I have an annoying problem.. OMV5 runs on a INTEL i5 CPU and has 16 GB RAM and 4 disks so there should be no real performance issues since I do not a heavy load.


    I have several Windows clients from which I save documents (Word, Libre Office, Excel, ...) on a network share. Sometimes the machine seems to hang, the program trying to save the data does not respond. The hang lasts about 30 seconds approximately and continues as normal.


    I can't say whether this occurs on special occasions - sometimes I save a document successfully and try to save the second document too and the hang occurs.

    I first thought the reason for this would by my very old Office version but this also happens with a recent LibreOffice.


    This happens quite often - several times a day - and is annoying for me.


    Sometimes this leads to another problem - the system does not remove the file lock file created by Word or LibreOffice - the programs then believe this document to be locked and I can't overwrite it anymore. However there is a strange this - when I save the document to another filename it immediately succeeds and also removes the file lock on the first file - so after that I can save the file again using the original file name.


    Before that I had a Netgear NAS which is very slow but I never experienced this problem.


    I have checked the statistics and see some spikes but really nothing to worry about.

    Currently the CPU usage is 0.1% and the memory usage is 17.5% (o f16 GiB).


    To me is seems as if the network would hang but I have no idea where to start.


    Could you give me a hint where to start to analyze the problem?


    I have seen in the diagnostics that I had a Wait IO spike going up to 50 % but then again everything was calm. However I only saw the spike today - nothing else this day or this week or this month. So I am very confident that this is the problem. The load average went up the same time to about 0.5 or 0.6.


    Since I don't really know how to interpret these values and what could be considered as "normal" I'd be glad if somebody could tell me what I should be looking for.


    Thanx a lot for your help,


    Rudi

  • KM0201

    Approved the thread.
  • Well, I considered updating a year ago or so - but at that point there were several problems with updating, so I was a bit worried. But no, I could update - it's just that I want to avoid problems.


    How would I perform the upgrade?


    Rudi

    • Official Post

    How would I perform the upgrade?

    Follow these steps. If you see errors during step 5.1 and 5.2 you need to solve them before continuing with 5.2.


  • Sorry for the long delay - I was on holiday and forgot to enable notifications for this forum, so I was not aware of your question.


    So, to anwer the questions:


    Yes, I have a software raid and I have enabled the disks to sleep after 15 minutes.


    However these problems sometimes occur after writing, e. g. I have saved a file and when opening a different file the system hangs on opening. In this case I would have expected it to continue without delay even if I configured a spin down after 15 minutes, since the opening occurs some seconds after writing the first file.


    And to me that does not explain either why sometimes the lock files for documents do not get deleted.


    I think that when I try so save a file it takes too long and therefore the lockfile does not get deleted.


    How can I find out the reason for that behaviour?


    As a first step I will disable the disk spindown - if that helps, good. If not I have to dig deeper.


    There are several options for the advanced power management. Currently I have enabled "1 - minimum power usage with standby (spindown)".

    What would be the best setting for the disk power management in my case? "255 - Disabled"? Or "128 - minimum power usage without standby"?


    Rudi

  • chente

    Added the Label OMV 5.x
    • Official Post

    There are several options for the advanced power management. Currently I have enabled "1 - minimum power usage with standby (spindown)".

    What would be the best setting for the disk power management in my case? "255 - Disabled"? Or "128 - minimum power usage without standby"?

    With spindown I would use 127. Without I would disable it all together.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!