Page 1 of 1

Hardisk Spindown doesnt work

PostPosted:Tue Apr 03, 2012 5:38 pm
by caiden
Hello from Germany, :D

After I successfully installed OKM on my NAS with running Open Media Vault.
I have now found that the disks are no longer go into the standby mode(Spindown).
If I terminate the OKM service the diskdrive switch into standby after a couple of minutes.
What can I do, to standby the harddisk while OKM runs as a service?

Thanks
Caiden

Re: Hardisk Spindown doesnt work

PostPosted:Wed Apr 04, 2012 5:46 am
by okmuser
Hi,

I also noticed in my server that java (currently OpenKM is the only program that uses java in my server) accessing HDD's every 30ish seconds.

This may be something related to indexing the documents....?

cheers,
okmuser

Re: Hardisk Spindown doesnt work

PostPosted:Wed Apr 04, 2012 9:00 am
by caiden
Hello,

i think this is the java process.
Code: Select all
java -Dprogram.name=run.sh -server -Xms256m -Xmx1024m -XX:PermSize~/usr/local/java/jdk1.6.0_31/lib/tools.jar org.jboss.Main -b 0.0.0.0
what can we do?

Thanks
Caiden

Re: Hardisk Spindown doesnt work

PostPosted:Thu Apr 05, 2012 9:43 am
by jllort
Is not good idea configuring openkm repository in a NAS ( NAS is not a SAN ) for performance reasons ... about your hardware problem, you could have some crontab task to make some periodical operation in your disk. Althought it I think is configuration hardware problem, you should take a look at your NAS configuration parameters, The solution it is not on OpenKM hand.

Re: Hardisk Spindown doesnt work

PostPosted:Thu Apr 05, 2012 11:30 am
by caiden
Hello jllort,

thanks for your answer.

But that is not true, it is openkm related or jboss(?) i think.
If i stop the Openkm Service(Jboss as well) the harddisk spindown works perfekt.

I have no cronjobs running.
If the OpenKM run as a Service i have the java process running see in post #3. I didnt now why
this process runs every x-seconds without any connection to the OpenKM webside.

Openmediavault is an NAS Solution on top of a Debian. I have installed the nas on a
normal DesktopPC and it works great.

Thanks
Caiden

Re: Hardisk Spindown doesnt work

PostPosted:Wed Apr 11, 2012 7:02 am
by pavila
OpenKM make an intensive use of the hard disk due to repository writes, index optimization between several other daemon process running. Don't expect the disk spin down while running OpenKM.

Re: Hardisk Spindown doesnt work

PostPosted:Wed Apr 11, 2012 8:44 am
by caiden
Hello,

i found the files which are constantly changing:
/jboss-4.2.3.GA/server/default/data/hypersonic/OKM_APP.log
/jboss-4.2.3.GA/server/default/data/hypersonic/OKM_APP.lck
/jboss-4.2.3.GA/server/default/data/hypersonic/localDB.lck

i cannot understand why these files are constantly changed.
I think a .lck and .log file has has nothing to do with indexing.

Why okm writes the repository or create indexing while nobody works whith it.

Is it possible to change the location of the 3 files?

Thanks.

cheers,
caiden

Re: Hardisk Spindown doesnt work

PostPosted:Fri Apr 13, 2012 6:42 am
by pavila
As I can see you have the default HSQL embedded database and I recommend to install OpenKM using a real database like MySQL or PostgreSQL.

And as said in the previous post, there are processes running which make optimizations to the document repository.

Re: Hardisk Spindown doesnt work

PostPosted:Tue Apr 17, 2012 5:38 pm
by caiden
Hi Pavila,

yeaaaaahhhhhhh, yes thats works fine!!!

After i change to mysql, the Harddisk now spin down.
:D :D :D
Now it works perfektly for me :-)


Thanks and best regards
Caiden