No errors until the server is about to crash due to lack of resources. And 
the code is returning 0

What I don't understand is why this code works perfectly fine (as bad as 
it is) on 7.0.01 patch 008 with the Handles and server being stable.  But 
as soon as we launch it on the 7.5 patch 007 the server will crash due to 
the resource being not freed up

Thank you,

Pascale Sterrett (Boyer)
Remedy Technical Lead & Developer
Daimler Trucks North America LLC
Montgomery Park,  9th floor 
Portland, OR 97210 U.S.A

Phone:503-745-6569
Email:[email protected]

http://www.daimler-trucksnorthamerica.com 





[email protected] 
Sent by: [email protected]
12/29/2010 01:07 PM
Please respond to
[email protected]


To
[email protected]
cc

Subject
Re: arprocess Handles goes up to 78K which crashes the server






Does the batch file return any error code back to Remedy?  How does the 
arfork log list the exit code of the batch?

If it is not 0 (and you are not worrying about success/fail back to 
Remedy) then you may want to make the last line of the batch   exit 0

Fred

-----Original Message-----
From: Action Request System discussion list(ARSList) 
[mailto:[email protected]] On Behalf Of [email protected]
Sent: Wednesday, December 29, 2010 10:55 AM
To: [email protected]
Subject: arprocess Handles goes up to 78K which crashes the server

Hi all,

Happy holidays and new years to all.

We have an issue with our upgraded production server.  Since we upgraded 
to 7.5 patch 007 (from 7.0.01 patch 008) our server crash every 30 to 40 
hours.  The reason is it runs out of resources. We noticed that the 
arserver process run over 78,000 Handles after a few days.  We identify 
the cause as being an escalation that does a run process which launch a 
batch file that runs a Java program.  

Absolutely nothing has changed on the code side (Remedy) or on the Java 
side.  When we disable the escalation, the number of Handles average 2,000 
for the arserver process.  But as soon as we enable that particular 
escalation, we see the Handles grow by almost 1,000 every hour or so to 
the point of crashing the server due to lack of resources.  
We have an opened ticket with BMC , but they are telling us its an OS 
issue.  All our servers are on the same OS, same patches etc.  We move the 
code (both Java and Remedy) on another server that runs the same OS, same 
OS patching but ARS 7.0.01 patch 008 and the Handles are stable at 2,400 
for the arserver.  
We are adding monitoring tools to the server to try to get more 
information but all points back to the arserver.
The Java code was compiled on 1.5.0_12. We recompiled it with 1.6.0_22 but 
still same problem.  We changed the Java program to make sure that the 
connections were closing properly.

Any one else have this kind of issue? any ideas?

As a Band-Aid, we are currently rebooting the server every night. 

OS: Win2003 server
ARS 7.5 patch 007
No OOB all homegrown
MSSQL 2005 remote on Win 2003

Thank you,

Pascale Sterrett (Boyer)
Remedy Technical Lead & Developer
Daimler Trucks North America LLC
Montgomery Park,  9th floor 
Portland, OR 97210 U.S.A

Phone:503-745-6569
Email:[email protected]

http://www.daimler-trucksnorthamerica.com 

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug11 www.wwrug.com ARSList: "Where the Answers Are"



If you are not the intended addressee, please inform us immediately that you 
have received this e-mail in error, and delete it. We thank you for your 
cooperation.  
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug11 www.wwrug.com ARSList: "Where the Answers Are"

Reply via email to