Conrad,

Whenever the arserverd has consumed more resources than average it doesn't
always mean it has hung. Try turning on the API/SQL combined logs during
such times. It could mean that the arserverd is waiting for available queues
for processing but there are no available queues. It could mean you are
falling short of fast or list threads.. A combined API/SQL logs would tell
you if this is the case from the time that it takes for the execution cycle
of an API from the time it is sent to the time a response is received.

What are your fast and list threads set to and what is the usage (number of
concurrent submits/modify operation, number of concurrent searches either
user induced searches or workflow induced) of your AR System?

To answer your question on a command or script to check if a AR System
process is hung, how would you do that? A process that has hung is still a
process. It is still running, and usually ends up hogging more server
resources (CPU utilization). However the same process may not be hung but
could utilize more than average resources when doing some DB intensive
tasks.

Does your AR System server terminate when you think it has hung??? Does the
armonitor service fail to restart it automatically after such a
termination??

Joe
  -----Original Message-----
  From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] Behalf Of Conrad Pereira
  Sent: Tuesday, March 11, 2008 6:30 PM
  To: [email protected]
  Subject: Re: Check ARS services from Unix shell script


  **
  Hi Joe,

  I want to a command or a script to check if the arsystem processes are
hung for some reason. Processes wise everything is up. However, I want to
check if the process is hung in some way since from the Unix side, it seems
the arserverd is taking having resources at certain times. Please let me
know how to check this.

  Thanks,
  Conrad


  On Tue, Feb 12, 2008 at 10:21 AM, Joe D'Souza <[EMAIL PROTECTED]> wrote:

    **
    Or you could even try running arsignal -g <servername>:<port> from the
AR Server installation directory and if this command doesn't return anything
the services are up.. If it returns a message of any kind, it means the AR
Server is not yet up..

    Joe
      -----Original Message-----
      From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] Behalf Of Prashant Patil

      Sent: Tuesday, February 12, 2008 2:04 AM
      To: [email protected]

      Subject: Re: Check ARS services from Unix shell script


      ** Hi All,


      Thanks alot for on all the inputs.

      Prashant





      On Feb 4, 2008 11:55 PM, Wallace, Kelvin <[EMAIL PROTECTED]>
wrote:

        **
        Prashant,



        I have a script I call "remstat" which is shown below.  It allows
you to quickly see all of the Remedy processes you wish to monitor.  You may
need to tweak it for your needs…



        echo Tomcat - Remedy Mid-Tier - Web --------------------

        ps -ef | grep tomcat

        echo

        echo AR Server Daemon ----------------------------------

        ps -ef | grep arserverd

        echo

        echo AR Monitor ----------------------------------------

        ps -ef | grep armonitor

        echo

        echo AR Plug-in Server ---------------------------------

        ps -ef | grep arplugin

        echo

        echo AR Assignment Engine ------------------------------

        ps -ef | grep apsvcae

        echo

        echo AR Application Dispatcher -------------------------

        ps -ef | grep arsvcdsp

        echo

        echo AR Fork Daemon ------------------------------------

        ps -ef | grep arforkd

        echo

        echo CMDB Engine ---------------------------------------

        ps -ef | grep cmdbd

        echo

        echo Reconciliation Engine -----------------------------

        ps -ef | grep arrecond

        echo

        echo AR Flashboards ------------------------------------

        ps -ef | grep flashboard

        echo

        echo AR E-mail Engine ----------------------------------

        ps -ef | grep AREmail

        echo



        Hope this is helpful.



        Kelvin




------------------------------------------------------------------------

        From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Prashant Patil
        Sent: Sunday, February 03, 2008 1:48 AM
        To: [email protected]
        Subject: Check ARS services from Unix shell script



        **

        Dear All,

        I have a query regarding ARSystem services on a unix server.

        I have a requirement wherein the remedy database needs to be
shutdown for a particular task. I have a shell script in place for this. It
does the following:

        1) The shell script shuts down ARS services, checks for the message:
"Action Request System shutdown process complete"

        2) Shuts down the DB, performs the task and restarts the DB.

        3) Once the DB is up, ARS services is started and checks the
message:  "Action Request System initialization is complete."

        I am not sure if the above steps are an efficient way to detect ARS
services. Is there a better way of checking ARS services from within a shell
script?

        Thanks,

        Prashant

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"

Reply via email to