RE: Shutting down RTEMS
John Alvord <jalvord-r/[email protected]>
| Newsgroups | gmane.comp.sysutils.tivoli.general,gmane.comp.sysutils.tivoli.tme10 |
|---|---|
| Message-ID | <OFEB89DC56.219A4235-ON88257B49.0059E663-88257B49.005A254A@us.ibm.com> |
SITMON is busy means the TEMS is in a really bad state. ITM uses a sort of cooperative multi-tasking with pthreads and if any logic doesn't give up control you are stuck. Definitely PMR time unless you can bear to consider upgrading to a later level first.... Regards, John Alvord - Ph: 1-720-396-2788 Cell: none Customer Support - Tivoli Software - jalvord-r/[email protected] Advisory Engineer - Tivoli Monitoring - ITM infrastructure Developer Blog - Wonderful World of Situations Follow us on Twitter! @Tivolisupport and Facebook Personalize your support needs with the IBM Support Portal Use Service Request to get assistance! For emails regarding a PMR, copy [email protected] For secure browser uploads: https://www.ecurep.ibm.com/app/upload For Customer Support guidance: IBM Software Support Handbook From: <Robin.Smith-U3F5sf8KFGKCmk9zJvdQaQC/[email protected]> To: <[email protected]>, Date: 04/10/2013 08:49 AM Subject: RE: [TME10] Shutting down RTEMS Sent by: [email protected] Thanks Toben, that's the approach I usually take, check the logfiles, see if anything been written and if not kill, then a kill -9... The standard kill seemed to trigger something so they must have put a trap in there somewhere. Might be worth u changing to itmstops || itmstops || kill $pid || sleep 120 || kill -9 $pid Think this rtems was already dead before I tried to shut it down, agents were all showing offline Found this in the ms log Tue Apr 9 09:01:21 2013 KDS9150I The TEMS Sitmon thread is BUSY. Process TaskManager::process#1 has been in the BUSY state for longer than 900 seconds. Then no more entries, until I shut it down - ring any bells with anybody??? From: [email protected] [ mailto:[email protected]] On Behalf Of [email protected] Sent: 10 April 2013 15:07 To: Discussion list for Tivoli product and Tivoli Ready products. Subject: Re: [TME10] Shutting down RTEMS Personally, Robin, I like the "try twice and dice" method. If it still doesn't shut down on the second attempt, soft kill, then hard kill as last resort. # alias itmstops='itmcmd server stop <tems_name>' # pid=$(ps -e | grep kdsmain | awk '{print $1}') # itmstops || itmstops || kill $pid || kill -9 $pid There are a couple of minor, rare concerns with killing kdsmain, but stars have to align just right and edits/updates to *.DB/*.IDX files have to be occurring simultaneously and usually you'll be aware of those. Toben On Wed, Apr 10, 2013 at 8:54 AM, <Robin.Smith-U3F5sf8KFGKCmk9zJvdQaQC/[email protected]> wrote: itmcmd server stop No -f option? Is it better to keep trying to shutdown or kill the kdsmain process if it takes longer than 10 minutes on a RTEMS?? Lloyds TSB Bank plc. Registered Office: 25 Gresham Street, London EC2V 7HN. Registered in England and Wales, number 2065. Telephone: 020 7626 1500. Bank of Scotland plc. Registered Office: The Mound, Edinburgh EH1 1YZ. Registered in Scotland, number 327000. Telephone: 020 7626 1500. Lloyds TSB Scotland plc. Registered Office: Henry Duncan House, 120 George Street, Edinburgh EH2 4LH. Registered in Scotland, number 95237. Telephone: 0131 225 4555. Cheltenham & Gloucester plc. Registered Office: Barnett Way, Gloucester GL4 3RL. Registered in England and Wales, number 2299428. Telephone: 01452 372372. Lloyds TSB Bank plc, Lloyds TSB Scotland plc, Bank of Scotland plc and Cheltenham & Gloucester plc are authorised and regulated by the Financial Services Authority. Halifax is a division of Bank of Scotland plc. Cheltenham & Gloucester Savings is a division of Lloyds TSB Bank plc. HBOS plc. Registered Office: The Mound, Edinburgh EH1 1YZ. Registered in Scotland, number 218813. Telephone: 020 7626 1500. Lloyds Banking Group plc. Registered Office: The Mound, Edinburgh EH1 1YZ. Registered in Scotland, number 95000. Telephone: 0131 225 4555 This e-mail (including any attachments) is private and confidential and may contain privileged material. If you have received this e-mail in error, please notify the sender and delete it (including any attachments) immediately. You must not copy, distribute, disclose or use any of the information in it or any attachments. Telephone calls may be monitored or recorded. _______________________________________________ TME10 mailing list [email protected] Unsubscribe:[email protected] -- "Sometimes I think that's the only right thing to do: To dream. to live in the world of dreams. But it doesn't last forever--wakefulness always comes to take me back..." Lloyds TSB Bank plc. Registered Office: 25 Gresham Street, London EC2V 7HN. Registered in England and Wales, number 2065. Telephone: 020 7626 1500. Bank of Scotland plc. Registered Office: The Mound, Edinburgh EH1 1YZ. Registered in Scotland, number 327000. Telephone: 020 7626 1500. Lloyds TSB Scotland plc. Registered Office: Henry Duncan House, 120 George Street, Edinburgh EH2 4LH. Registered in Scotland, number 95237. Telephone: 0131 225 4555. Cheltenham & Gloucester plc. Registered Office: Barnett Way, Gloucester GL4 3RL. Registered in England and Wales, number 2299428. Telephone: 01452 372372. Lloyds TSB Bank plc, Lloyds TSB Scotland plc, Bank of Scotland plc and Cheltenham & Gloucester plc are authorised and regulated by the Financial Services Authority. Halifax is a division of Bank of Scotland plc. Cheltenham & Gloucester Savings is a division of Lloyds TSB Bank plc. HBOS plc. Registered Office: The Mound, Edinburgh EH1 1YZ. Registered in Scotland, number 218813. Telephone: 020 7626 1500. Lloyds Banking Group plc. Registered Office: The Mound, Edinburgh EH1 1YZ. Registered in Scotland, number 95000. Telephone: 0131 225 4555 This e-mail (including any attachments) is private and confidential and may contain privileged material. If you have received this e-mail in error, please notify the sender and delete it (including any attachments) immediately. You must not copy, distribute, disclose or use any of the information in it or any attachments. Telephone calls may be monitored or recorded. _______________________________________________ TME10 mailing list [email protected] Unsubscribe:[email protected] _______________________________________________ TME10 mailing list [email protected] Unsubscribe:[email protected]