> 1. by setting lisa.vse.max.hard.errors=-1 will it impact on performance/memory on VSE server ?
If you have any other services that go down and *don't* implement some kind of delay before they abort then they will spin up and down as fast as possible until your are able to manually stop them.
> 2. As you mentioned that VSE will try for four times and turn into 'ended'.. can this be increased number of tries ?
The hard errors property can be set to a maximum value of 9223372036854775807 (2^63). Past a certain point, though, it's practically equivalent to -1 (unlimited).
> 3. Thred.sleep() .. I need to check.. probably I need to wait for couple of hours before it abort it..
So this is not a question of the total time the service will "sleep". It's a question of how quickly you want it to come back up after the MQ server becomes available again. Your VSE service is effectively polling the MQ server, and this is the time between each poll. If you set your sleep time to two hours, then your VSE service will restart very few times but it will take an average of one hour after your MQ server comes back up for your VSE service to reconnect. If you set your sleep time to 10 minutes, then your VSE service will restart more often but it will only take an average of 5 minutes after your MQ server comes back up for your VSE service to reconnect. It's up to you to figure out the right balance of restarts and responsiveness.