cancel
Showing results for 
Search instead for 
Did you mean: 

Way to speedup shutdown?

mmarre
Champ in-the-making
Champ in-the-making
Hi all,

I started to test alfresco since one of my customer plan to use it.
The target is to use alfresco on a single PC for document archiving and the server is NOT running 24/7 but booted if needed (one man company).

Since the shutdown of alfresco takes up to some minutes on a six core system with SSD I have following question:

Is it secure to shutdown a system with running alfresco server without executing /etc/init.d/alfresco stop if there is no user logged in? If yes, I would prefer to terminate all connections with a script before the system is going down instead of executing the alfresco stop procedure.

Yes, I know that alfresco is not designed to run on a desktop system. But my customer make the rules Smiley Wink

Regards,

Michael
2 REPLIES 2

mitpatoliya
Star Collaborator
Star Collaborator
I think alfresco stop batch file will be faster then your custom script to terminate explicitly.
As that batch file is also nothing but doing the same thing but keeping the order of processes in proper sequance.

mmarre
Champ in-the-making
Champ in-the-making
Thanx for the reply.

It seems that I was not clear enough…

My idea is to disable the shutdown procedure but killing existing connections (user currently logged in) instead. Then bring down the system without processing /etc/init.d/alfresco stop. Any processes will be killed hard by the shutdown procedure then.The question is if this has any risk of data consistency (cached data in the buffer not being flushed to disk for example).

Regards,

Michael