Service management of Sage - D
|
09-08-2016, 04:28 PM
Post: #16
|
|||
|
|||
RE: Service management of Sage
(09-07-2016 05:35 PM)lingu Wrote:Quote:wait_sage_start () { 1. While implementing, I find "sage start" cost 21 seconds on average in my dev cluster. The perf of my dev cluster is not well since they are VMs. Sometimes it would cost more than 30 seconds. Then the sage is actually started but my script reports failed. Therefore I suggest we still use 2 minutes timeout here. 2. The sleep time is 2 seconds after each trial fails. But I find even though auntie command is finish quickly if it succeeds, the received file content will exist after 2~3 seconds. So even though auntie sends file successfully, another auntie trial would be triggered. If it is triggered, script would print a ERROR info to confuse user but finally the Sage & service scripts would still succeed. Therefore I suggest we use "sleep 4" after each trial fails. Then the confusing ERROR info would not appear frequently. I will implement above change before your review, since I think they are minor change. |
|||
« Next Oldest | Next Newest »
|
- View a Printable Version
- Send this Thread to a Friend
- Subscribe to this thread
- Show the subscribers of this thread:
- Add subscribers to this thread: