Remote restart of appserver

Is it possible that your primary appserver is configured with a Max Server Agent setting that is more than your server can handle? When our server spawns additional agents, it pegs the processors while they all come up. Once they're up and settled, the processors return to normal. Maybe your server continues to be pegged because it can't spawn the number of agents that it wants to.

Bob Beaghan



[Non-text portions of this message have been removed]
Good morning,
We use Vantage 8.03.

Occasionally CPU is pegged at 100% on the Vantage application server, and until I figure out what is causing it, I have no choice but to stop and restart the main appserver, which immediately returns things to normal.

Problem is that because the server is at 100% CPU it can be very slow to remote.

Is there any way to get the broker PID of the appserver remotely, then I could do rkill on it?


If anyone has any other suggestions as far as figuring out what is causing the CPU to lock hit 100%, I'd also appreciate any help with that issue.





Anthony Hughes


[Non-text portions of this message have been removed]
You can install Progress Explorer Tool on any client. I restart my
appservers on a client PC when I do maintenance.



Obviously what you're experiencing is not normal. My first thought on why
your CPU is pegged out on the server is due to a bad BAQ being run
somewhere. That's the only scenario where I've seen that symptom. When you
restart the appserver, do you get a phone call from anyone saying "Hey, I
was in the middle of xxxx and the system crashed" ? MRP, Capture COS/WIP?
I'd find the culprit fast otherwise you could realistically get major data
corruption.



If you happen to be a SQL site let me know and I share a query that shows
you everything in the system monitor so perhaps you can see what
report/baq/process may be active when your CPU gets pegged.







From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
Tony Hughes
Sent: Tuesday, August 27, 2013 10:27 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Remote restart of appserver





Good morning,
We use Vantage 8.03.

Occasionally CPU is pegged at 100% on the Vantage application server, and
until I figure out what is causing it, I have no choice but to stop and
restart the main appserver, which immediately returns things to normal.

Problem is that because the server is at 100% CPU it can be very slow to
remote.

Is there any way to get the broker PID of the appserver remotely, then I
could do rkill on it?

If anyone has any other suggestions as far as figuring out what is causing
the CPU to lock hit 100%, I'd also appreciate any help with that issue.

Anthony Hughes

[Non-text portions of this message have been removed]





[Non-text portions of this message have been removed]
Hello Vic, thank you for the reply.
We're SQL back end, so any query you have would be appreciated. Is it systask table? I have been wondering how useful that table is for this.
We're not currently running MRP, and Capture COS hasn't been run today (has not been run since last week).

We use very few BAQs, I personally can't stand them for many reasons, and so don't create any.
But we have a couple. Does systask record when they are used?

This happens about once every month. The calls we get are that Vantage is unresponsive. Click and wait, wait, wait...
Eventually people will be dropped and receive 4GL and/or 7### error codes.


Thanks for your help, I appreciate it.Â




________________________________
From: Vic Drecchio <vic.drecchio@...>
To: vantage@yahoogroups.com
Sent: Tuesday, August 27, 2013 10:02 AM
Subject: RE: [Vantage] Remote restart of appserver



Â
You can install Progress Explorer Tool on any client. I restart my
appservers on a client PC when I do maintenance.

Obviously what you're experiencing is not normal. My first thought on why
your CPU is pegged out on the server is due to a bad BAQ being run
somewhere. That's the only scenario where I've seen that symptom. When you
restart the appserver, do you get a phone call from anyone saying "Hey, I
was in the middle of xxxx and the system crashed" ? MRP, Capture COS/WIP?
I'd find the culprit fast otherwise you could realistically get major data
corruption.

If you happen to be a SQL site let me know and I share a query that shows
you everything in the system monitor so perhaps you can see what
report/baq/process may be active when your CPU gets pegged.

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
Tony Hughes
Sent: Tuesday, August 27, 2013 10:27 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Remote restart of appserver

Good morning,
We use Vantage 8.03.

Occasionally CPU is pegged at 100% on the Vantage application server, and
until I figure out what is causing it, I have no choice but to stop and
restart the main appserver, which immediately returns things to normal.

Problem is that because the server is at 100% CPU it can be very slow to
remote.

Is there any way to get the broker PID of the appserver remotely, then I
could do rkill on it?

If anyone has any other suggestions as far as figuring out what is causing
the CPU to lock hit 100%, I'd also appreciate any help with that issue.

Anthony Hughes

[Non-text portions of this message have been removed]

[Non-text portions of this message have been removed]




[Non-text portions of this message have been removed]
That used to happen to us, its a problem with your immediate run requests
backing up and clogging up the pipes (at least it was for us and its a
known issue in that version) create anew App Server to handle the Print
Jobs and this should go away, and then the only thing you need to do is
restart the print app server without having to restart the whole thing.

Call epoicor and ask them for instructions for creating a Print Only App
server


*Jose C Gomez*
*Software Engineer*
*
*
*
*T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com
<http://www.linkedin.com/in/josecgomez> <http://www.facebook.com/josegomez>
<http://www.google.com/profiles/jose.gomez> <http://www.twitter.com/joc85>
<http://www.josecgomez.com/professional-resume/>
<http://www.josecgomez.com/feed/>
<http://www.usdoingstuff.com>

*Quis custodiet ipsos custodes?*


On Tue, Aug 27, 2013 at 11:21 AM, Tony Hughes <thughes281@...> wrote:

> **
>
>
> Hello Vic, thank you for the reply.
> We're SQL back end, so any query you have would be appreciated. Is it
> systask table? I have been wondering how useful that table is for this.
> We're not currently running MRP, and Capture COS hasn't been run today
> (has not been run since last week).
>
> We use very few BAQs, I personally can't stand them for many reasons, and
> so don't create any.
> But we have a couple. Does systask record when they are used?
>
> This happens about once every month. The calls we get are that Vantage is
> unresponsive. Click and wait, wait, wait...
> Eventually people will be dropped and receive 4GL and/or 7### error codes.
>
> Thanks for your help, I appreciate it.
>
> ________________________________
> From: Vic Drecchio <vic.drecchio@...>
> To: vantage@yahoogroups.com
> Sent: Tuesday, August 27, 2013 10:02 AM
> Subject: RE: [Vantage] Remote restart of appserver
>
>
>
>
> You can install Progress Explorer Tool on any client. I restart my
> appservers on a client PC when I do maintenance.
>
> Obviously what you're experiencing is not normal. My first thought on why
> your CPU is pegged out on the server is due to a bad BAQ being run
> somewhere. That's the only scenario where I've seen that symptom. When you
> restart the appserver, do you get a phone call from anyone saying "Hey, I
> was in the middle of xxxx and the system crashed" ? MRP, Capture COS/WIP?
> I'd find the culprit fast otherwise you could realistically get major data
> corruption.
>
> If you happen to be a SQL site let me know and I share a query that shows
> you everything in the system monitor so perhaps you can see what
> report/baq/process may be active when your CPU gets pegged.
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
> Of
> Tony Hughes
> Sent: Tuesday, August 27, 2013 10:27 AM
> To: vantage@yahoogroups.com
> Subject: [Vantage] Remote restart of appserver
>
> Good morning,
> We use Vantage 8.03.
>
> Occasionally CPU is pegged at 100% on the Vantage application server, and
> until I figure out what is causing it, I have no choice but to stop and
> restart the main appserver, which immediately returns things to normal.
>
> Problem is that because the server is at 100% CPU it can be very slow to
> remote.
>
> Is there any way to get the broker PID of the appserver remotely, then I
> could do rkill on it?
>
> If anyone has any other suggestions as far as figuring out what is causing
> the CPU to lock hit 100%, I'd also appreciate any help with that issue.
>
> Anthony Hughes
>
> [Non-text portions of this message have been removed]
>
> [Non-text portions of this message have been removed]
>
> [Non-text portions of this message have been removed]
>
>
>


[Non-text portions of this message have been removed]
Have you seen the Epicor SQL Tuning document? Have you went through that already? If not let me know and I’ll dig out the docs.



Here’s my SQL Query that looks at SysTask. Perhaps seeing what is ACTIVE at the time of the CPU peaking may provide a clue.



select

top 500

S.systasknum as 'TaskID',

S.startdate as 'Date',

RIGHT('00' + CAST(cast((S.STARTTIME/60/60) as INT) AS VARCHAR(2)),2) + ':' +

RIGHT('00' + CAST(cast((S.starttime - (cast((S.STARTTIME/60/60) as INT))*60*60)/60 AS INT) AS VARCHAR(2)),2) + ':' +

RIGHT('00' + CAST(S.STARTTIME - ((cast((S.STARTTIME/60/60) as INT) *60*60) + (cast((starttime - (cast((S.STARTTIME/60/60) as INT))*60*60)/60 AS INT) * 60)) AS VARCHAR(2)),2) AS 'StartTime',

RIGHT('00' + CAST(cast((S.ENDTIME/60/60) as INT) AS VARCHAR(2)),2) + ':' +

RIGHT('00' + CAST(cast((S.ENDTIME - (cast((S.ENDTIME/60/60) as INT))*60*60)/60 AS INT) AS VARCHAR(2)),2) + ':' +

RIGHT('00' + CAST(S.ENDTIME - ((cast((S.ENDTIME/60/60) as INT) *60*60) + (cast((ENDtime - (cast((S.ENDTIME/60/60) as INT))*60*60)/60 AS INT) * 60)) AS VARCHAR(2)),2) AS 'EndTime',

S.endtime - S.starttime as 'SecsElapsed',

UPPER(S.taskdescription) as 'Task',

S.taskstatus as 'Status',

Upper(S.submituser) as 'UserID',

UPPER(U.NAME) AS 'UserName',

s.activitymsg as 'Comment'

from pub.systask S

INNER JOIN PUB.USERFILE U ON U.DCDUSERID = S.SUBMITUSER

order by s.systasknum desc



From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Tony Hughes
Sent: Tuesday, August 27, 2013 11:22 AM
To: vantage@yahoogroups.com
Subject: Re: [Vantage] Remote restart of appserver





Hello Vic, thank you for the reply.
We're SQL back end, so any query you have would be appreciated. Is it systask table? I have been wondering how useful that table is for this.
We're not currently running MRP, and Capture COS hasn't been run today (has not been run since last week).

We use very few BAQs, I personally can't stand them for many reasons, and so don't create any.
But we have a couple. Does systask record when they are used?

This happens about once every month. The calls we get are that Vantage is unresponsive. Click and wait, wait, wait...
Eventually people will be dropped and receive 4GL and/or 7### error codes.

Thanks for your help, I appreciate it.

________________________________
From: Vic Drecchio <vic.drecchio@... <mailto:vic.drecchio%40swepcotube.com> >
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Sent: Tuesday, August 27, 2013 10:02 AM
Subject: RE: [Vantage] Remote restart of appserver



You can install Progress Explorer Tool on any client. I restart my
appservers on a client PC when I do maintenance.

Obviously what you're experiencing is not normal. My first thought on why
your CPU is pegged out on the server is due to a bad BAQ being run
somewhere. That's the only scenario where I've seen that symptom. When you
restart the appserver, do you get a phone call from anyone saying "Hey, I
was in the middle of xxxx and the system crashed" ? MRP, Capture COS/WIP?
I'd find the culprit fast otherwise you could realistically get major data
corruption.

If you happen to be a SQL site let me know and I share a query that shows
you everything in the system monitor so perhaps you can see what
report/baq/process may be active when your CPU gets pegged.

From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> [mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On Behalf Of
Tony Hughes
Sent: Tuesday, August 27, 2013 10:27 AM
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Subject: [Vantage] Remote restart of appserver

Good morning,
We use Vantage 8.03.

Occasionally CPU is pegged at 100% on the Vantage application server, and
until I figure out what is causing it, I have no choice but to stop and
restart the main appserver, which immediately returns things to normal.

Problem is that because the server is at 100% CPU it can be very slow to
remote.

Is there any way to get the broker PID of the appserver remotely, then I
could do rkill on it?

If anyone has any other suggestions as far as figuring out what is causing
the CPU to lock hit 100%, I'd also appreciate any help with that issue.

Anthony Hughes

[Non-text portions of this message have been removed]

[Non-text portions of this message have been removed]

[Non-text portions of this message have been removed]





[Non-text portions of this message have been removed]
I would also like to have a copy of this query.


On Tue, Aug 27, 2013 at 8:02 AM, Vic Drecchio
<vic.drecchio@...>wrote:

> **
>
>
> You can install Progress Explorer Tool on any client. I restart my
> appservers on a client PC when I do maintenance.
>
> Obviously what you're experiencing is not normal. My first thought on why
> your CPU is pegged out on the server is due to a bad BAQ being run
> somewhere. That's the only scenario where I've seen that symptom. When you
> restart the appserver, do you get a phone call from anyone saying "Hey, I
> was in the middle of xxxx and the system crashed" ? MRP, Capture COS/WIP?
> I'd find the culprit fast otherwise you could realistically get major data
> corruption.
>
> If you happen to be a SQL site let me know and I share a query that shows
> you everything in the system monitor so perhaps you can see what
> report/baq/process may be active when your CPU gets pegged.
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
> Of
> Tony Hughes
> Sent: Tuesday, August 27, 2013 10:27 AM
> To: vantage@yahoogroups.com
> Subject: [Vantage] Remote restart of appserver
>
> Good morning,
> We use Vantage 8.03.
>
> Occasionally CPU is pegged at 100% on the Vantage application server, and
> until I figure out what is causing it, I have no choice but to stop and
> restart the main appserver, which immediately returns things to normal.
>
> Problem is that because the server is at 100% CPU it can be very slow to
> remote.
>
> Is there any way to get the broker PID of the appserver remotely, then I
> could do rkill on it?
>
> If anyone has any other suggestions as far as figuring out what is causing
> the CPU to lock hit 100%, I'd also appreciate any help with that issue.
>
> Anthony Hughes
>
> [Non-text portions of this message have been removed]
>
> [Non-text portions of this message have been removed]
>
>
>



--
*Tanya Denison* | IT Manager | NRS, Inc.
*2009 S. Main Street, Moscow, ID 83843*
*tdenison@...* <tdenison@...>* | **www.nrs.com* <http://www.nrs.com>
*c: 208.301.0599 | p: 208.883.7834 Ext 277 | f: 208.882.1744*


[Non-text portions of this message have been removed]
Also, here's a script that kills all SQL SPIDs. Test it in your environment
first. I used to run this to see if killing all SPIDs would release
anything on the appserver side and resume normal CPU utilization.





USE master

GO



SET NOCOUNT ON

DECLARE @DBName varchar(50)

DECLARE @spidstr varchar(8000)

DECLARE @ConnKilled smallint

SET @ConnKilled=0

SET @spidstr = ''



Set @DBName = 'MfgSys803'

IF db_id(@DBName) < 4

BEGIN

PRINT 'Connections to system databases cannot be killed'

RETURN

END

SELECT @spidstr=coalesce(@spidstr,',' )+'kill '+convert(varchar, spid)+ '; '

FROM master..sysprocesses WHERE dbid=db_id(@DBName)



IF LEN(@spidstr) > 0

BEGIN

EXEC(@spidstr)

SELECT @ConnKilled = COUNT(1)

FROM master..sysprocesses WHERE dbid=db_id(@DBName)

END



From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
Vic Drecchio
Sent: Tuesday, August 27, 2013 11:03 AM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Remote restart of appserver





You can install Progress Explorer Tool on any client. I restart my
appservers on a client PC when I do maintenance.

Obviously what you're experiencing is not normal. My first thought on why
your CPU is pegged out on the server is due to a bad BAQ being run
somewhere. That's the only scenario where I've seen that symptom. When you
restart the appserver, do you get a phone call from anyone saying "Hey, I
was in the middle of xxxx and the system crashed" ? MRP, Capture COS/WIP?
I'd find the culprit fast otherwise you could realistically get major data
corruption.

If you happen to be a SQL site let me know and I share a query that shows
you everything in the system monitor so perhaps you can see what
report/baq/process may be active when your CPU gets pegged.

From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
Behalf Of
Tony Hughes
Sent: Tuesday, August 27, 2013 10:27 AM
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Subject: [Vantage] Remote restart of appserver

Good morning,
We use Vantage 8.03.

Occasionally CPU is pegged at 100% on the Vantage application server, and
until I figure out what is causing it, I have no choice but to stop and
restart the main appserver, which immediately returns things to normal.

Problem is that because the server is at 100% CPU it can be very slow to
remote.

Is there any way to get the broker PID of the appserver remotely, then I
could do rkill on it?

If anyone has any other suggestions as far as figuring out what is causing
the CPU to lock hit 100%, I'd also appreciate any help with that issue.

Anthony Hughes

[Non-text portions of this message have been removed]

[Non-text portions of this message have been removed]





[Non-text portions of this message have been removed]
Thank you Jose.
We have 5 total appservers: main one, and ones for printing, process server, tasks and services.

Like you say, I tried stopping the auxiliary ones but this won't stop the problem.

When the issue hits, I can see maybe 10-12 java32.exe processes running, all sharing equally the 100% of CPU usage.

But only with killing the main appserver's java32 process can I make it stop.Â




________________________________
From: Jose Gomez <jose@...>
To: Vantage <vantage@yahoogroups.com>
Sent: Tuesday, August 27, 2013 10:25 AM
Subject: Re: [Vantage] Remote restart of appserver


That used to happen to us, its a problem with your immediate run requests
backing up and clogging up the pipes (at least it was for us and its a
known issue in that version) create anew App Server to handle the Print
Jobs and this should go away, and then the only thing you need to do is
restart the print app server without having to restart the whole thing.

Call epoicor and ask them for instructions for creating a Print Only App
server


*Jose C Gomez*
*Software Engineer*
*
*
*
*T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com
<http://www.linkedin.com/in/josecgomez> <http://www.facebook.com/josegomez>
 <http://www.google.com/profiles/jose.gomez> <http://www.twitter.com/joc85>
 <http://www.josecgomez.com/professional-resume/>
<http://www.josecgomez.com/feed/>
 <http://www.usdoingstuff.com>

*Quis custodiet ipsos custodes?*


On Tue, Aug 27, 2013 at 11:21 AM, Tony Hughes <thughes281@...> wrote:

> **
>
>
> Hello Vic, thank you for the reply.
> We're SQL back end, so any query you have would be appreciated. Is it
> systask table? I have been wondering how useful that table is for this.
> We're not currently running MRP, and Capture COS hasn't been run today
> (has not been run since last week).
>
> We use very few BAQs, I personally can't stand them for many reasons, and
> so don't create any.
> But we have a couple. Does systask record when they are used?
>
> This happens about once every month. The calls we get are that Vantage is
> unresponsive. Click and wait, wait, wait...
> Eventually people will be dropped and receive 4GL and/or 7### error codes.
>
> Thanks for your help, I appreciate it.
>
> ________________________________
> From: Vic Drecchio <vic.drecchio@...>
> To: vantage@yahoogroups.com
> Sent: Tuesday, August 27, 2013 10:02 AM
> Subject: RE: [Vantage] Remote restart of appserver
>
>
>
>
> You can install Progress Explorer Tool on any client. I restart my
> appservers on a client PC when I do maintenance.
>
> Obviously what you're experiencing is not normal. My first thought on why
> your CPU is pegged out on the server is due to a bad BAQ being run
> somewhere. That's the only scenario where I've seen that symptom. When you
> restart the appserver, do you get a phone call from anyone saying "Hey, I
> was in the middle of xxxx and the system crashed" ? MRP, Capture COS/WIP?
> I'd find the culprit fast otherwise you could realistically get major data
> corruption.
>
> If you happen to be a SQL site let me know and I share a query that shows
> you everything in the system monitor so perhaps you can see what
> report/baq/process may be active when your CPU gets pegged.
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
> Of
> Tony Hughes
> Sent: Tuesday, August 27, 2013 10:27 AM
> To: vantage@yahoogroups.com
> Subject: [Vantage] Remote restart of appserver
>
> Good morning,
> We use Vantage 8.03.
>
> Occasionally CPU is pegged at 100% on the Vantage application server, and
> until I figure out what is causing it, I have no choice but to stop and
> restart the main appserver, which immediately returns things to normal.
>
> Problem is that because the server is at 100% CPU it can be very slow to
> remote.
>
> Is there any way to get the broker PID of the appserver remotely, then I
> could do rkill on it?
>
> If anyone has any other suggestions as far as figuring out what is causing
> the CPU to lock hit 100%, I'd also appreciate any help with that issue.
>
> Anthony Hughes
>
> [Non-text portions of this message have been removed]
>
> [Non-text portions of this message have been removed]
>
> [Non-text portions of this message have been removed]
>

>


[Non-text portions of this message have been removed]



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

Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links



[Non-text portions of this message have been removed]
Thank you Vic.
I will have this ready for next time it happens!
Appreciate the help.



________________________________
From: Vic Drecchio <vic.drecchio@...>
To: vantage@yahoogroups.com
Sent: Tuesday, August 27, 2013 10:42 AM
Subject: RE: [Vantage] Remote restart of appserver



Â
Have you seen the Epicor SQL Tuning document? Have you went through that already? If not let me know and I’ll dig out the docs.

Here’s my SQL Query that looks at SysTask. Perhaps seeing what is ACTIVE at the time of the CPU peaking may provide a clue.

select

top 500

S.systasknum as 'TaskID',

S.startdate as 'Date',

RIGHT('00' + CAST(cast((S.STARTTIME/60/60) as INT) AS VARCHAR(2)),2) + ':' +

RIGHT('00' + CAST(cast((S.starttime - (cast((S.STARTTIME/60/60) as INT))*60*60)/60 AS INT) AS VARCHAR(2)),2) + ':' +

RIGHT('00' + CAST(S.STARTTIME - ((cast((S.STARTTIME/60/60) as INT) *60*60) + (cast((starttime - (cast((S.STARTTIME/60/60) as INT))*60*60)/60 AS INT) * 60)) AS VARCHAR(2)),2) AS 'StartTime',

RIGHT('00' + CAST(cast((S.ENDTIME/60/60) as INT) AS VARCHAR(2)),2) + ':' +

RIGHT('00' + CAST(cast((S.ENDTIME - (cast((S.ENDTIME/60/60) as INT))*60*60)/60 AS INT) AS VARCHAR(2)),2) + ':' +

RIGHT('00' + CAST(S.ENDTIME - ((cast((S.ENDTIME/60/60) as INT) *60*60) + (cast((ENDtime - (cast((S.ENDTIME/60/60) as INT))*60*60)/60 AS INT) * 60)) AS VARCHAR(2)),2) AS 'EndTime',

S.endtime - S.starttime as 'SecsElapsed',

UPPER(S.taskdescription) as 'Task',

S.taskstatus as 'Status',

Upper(S.submituser) as 'UserID',

UPPER(U.NAME) AS 'UserName',

s.activitymsg as 'Comment'

from pub.systask S

INNER JOIN PUB.USERFILE U ON U.DCDUSERID = S.SUBMITUSER

order by s.systasknum desc

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Tony Hughes
Sent: Tuesday, August 27, 2013 11:22 AM
To: vantage@yahoogroups.com
Subject: Re: [Vantage] Remote restart of appserver

Hello Vic, thank you for the reply.
We're SQL back end, so any query you have would be appreciated. Is it systask table? I have been wondering how useful that table is for this.
We're not currently running MRP, and Capture COS hasn't been run today (has not been run since last week).

We use very few BAQs, I personally can't stand them for many reasons, and so don't create any.
But we have a couple. Does systask record when they are used?

This happens about once every month. The calls we get are that Vantage is unresponsive. Click and wait, wait, wait...
Eventually people will be dropped and receive 4GL and/or 7### error codes.

Thanks for your help, I appreciate it.

________________________________
From: Vic Drecchio <vic.drecchio@... <mailto:vic.drecchio%40swepcotube.com> >
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Sent: Tuesday, August 27, 2013 10:02 AM
Subject: RE: [Vantage] Remote restart of appserver

You can install Progress Explorer Tool on any client. I restart my
appservers on a client PC when I do maintenance.

Obviously what you're experiencing is not normal. My first thought on why
your CPU is pegged out on the server is due to a bad BAQ being run
somewhere. That's the only scenario where I've seen that symptom. When you
restart the appserver, do you get a phone call from anyone saying "Hey, I
was in the middle of xxxx and the system crashed" ? MRP, Capture COS/WIP?
I'd find the culprit fast otherwise you could realistically get major data
corruption.

If you happen to be a SQL site let me know and I share a query that shows
you everything in the system monitor so perhaps you can see what
report/baq/process may be active when your CPU gets pegged.

From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> [mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On Behalf Of
Tony Hughes
Sent: Tuesday, August 27, 2013 10:27 AM
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Subject: [Vantage] Remote restart of appserver

Good morning,
We use Vantage 8.03.

Occasionally CPU is pegged at 100% on the Vantage application server, and
until I figure out what is causing it, I have no choice but to stop and
restart the main appserver, which immediately returns things to normal.

Problem is that because the server is at 100% CPU it can be very slow to
remote.

Is there any way to get the broker PID of the appserver remotely, then I
could do rkill on it?

If anyone has any other suggestions as far as figuring out what is causing
the CPU to lock hit 100%, I'd also appreciate any help with that issue.

Anthony Hughes

[Non-text portions of this message have been removed]

[Non-text portions of this message have been removed]

[Non-text portions of this message have been removed]

[Non-text portions of this message have been removed]




[Non-text portions of this message have been removed]
When I copy, paste, and run this query, I get an error “Invalid object name ‘pub.systask’



From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Vic Drecchio
Sent: Tuesday, August 27, 2013 11:43 AM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Remote restart of appserver





Have you seen the Epicor SQL Tuning document? Have you went through that already? If not let me know and I’ll dig out the docs.

Here’s my SQL Query that looks at SysTask. Perhaps seeing what is ACTIVE at the time of the CPU peaking may provide a clue.

select

top 500

S.systasknum as 'TaskID',

S.startdate as 'Date',

RIGHT('00' + CAST(cast((S.STARTTIME/60/60) as INT) AS VARCHAR(2)),2) + ':' +

RIGHT('00' + CAST(cast((S.starttime - (cast((S.STARTTIME/60/60) as INT))*60*60)/60 AS INT) AS VARCHAR(2)),2) + ':' +

RIGHT('00' + CAST(S.STARTTIME - ((cast((S.STARTTIME/60/60) as INT) *60*60) + (cast((starttime - (cast((S.STARTTIME/60/60) as INT))*60*60)/60 AS INT) * 60)) AS VARCHAR(2)),2) AS 'StartTime',

RIGHT('00' + CAST(cast((S.ENDTIME/60/60) as INT) AS VARCHAR(2)),2) + ':' +

RIGHT('00' + CAST(cast((S.ENDTIME - (cast((S.ENDTIME/60/60) as INT))*60*60)/60 AS INT) AS VARCHAR(2)),2) + ':' +

RIGHT('00' + CAST(S.ENDTIME - ((cast((S.ENDTIME/60/60) as INT) *60*60) + (cast((ENDtime - (cast((S.ENDTIME/60/60) as INT))*60*60)/60 AS INT) * 60)) AS VARCHAR(2)),2) AS 'EndTime',

S.endtime - S.starttime as 'SecsElapsed',

UPPER(S.taskdescription) as 'Task',

S.taskstatus as 'Status',

Upper(S.submituser) as 'UserID',

UPPER(U.NAME) AS 'UserName',

s.activitymsg as 'Comment'

from pub.systask S

INNER JOIN PUB.USERFILE U ON U.DCDUSERID = S.SUBMITUSER

order by s.systasknum desc

From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> [mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On Behalf Of Tony Hughes
Sent: Tuesday, August 27, 2013 11:22 AM
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Subject: Re: [Vantage] Remote restart of appserver

Hello Vic, thank you for the reply.
We're SQL back end, so any query you have would be appreciated. Is it systask table? I have been wondering how useful that table is for this.
We're not currently running MRP, and Capture COS hasn't been run today (has not been run since last week).

We use very few BAQs, I personally can't stand them for many reasons, and so don't create any.
But we have a couple. Does systask record when they are used?

This happens about once every month. The calls we get are that Vantage is unresponsive. Click and wait, wait, wait...
Eventually people will be dropped and receive 4GL and/or 7### error codes.

Thanks for your help, I appreciate it.

________________________________
From: Vic Drecchio <vic.drecchio@... <mailto:vic.drecchio%40swepcotube.com> <mailto:vic.drecchio%40swepcotube.com> >
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> <mailto:vantage%40yahoogroups.com>
Sent: Tuesday, August 27, 2013 10:02 AM
Subject: RE: [Vantage] Remote restart of appserver

You can install Progress Explorer Tool on any client. I restart my
appservers on a client PC when I do maintenance.

Obviously what you're experiencing is not normal. My first thought on why
your CPU is pegged out on the server is due to a bad BAQ being run
somewhere. That's the only scenario where I've seen that symptom. When you
restart the appserver, do you get a phone call from anyone saying "Hey, I
was in the middle of xxxx and the system crashed" ? MRP, Capture COS/WIP?
I'd find the culprit fast otherwise you could realistically get major data
corruption.

If you happen to be a SQL site let me know and I share a query that shows
you everything in the system monitor so perhaps you can see what
report/baq/process may be active when your CPU gets pegged.

From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> <mailto:vantage%40yahoogroups.com> [mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> <mailto:vantage%40yahoogroups.com> ] On Behalf Of
Tony Hughes
Sent: Tuesday, August 27, 2013 10:27 AM
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> <mailto:vantage%40yahoogroups.com>
Subject: [Vantage] Remote restart of appserver

Good morning,
We use Vantage 8.03.

Occasionally CPU is pegged at 100% on the Vantage application server, and
until I figure out what is causing it, I have no choice but to stop and
restart the main appserver, which immediately returns things to normal.

Problem is that because the server is at 100% CPU it can be very slow to
remote.

Is there any way to get the broker PID of the appserver remotely, then I
could do rkill on it?

If anyone has any other suggestions as far as figuring out what is causing
the CPU to lock hit 100%, I'd also appreciate any help with that issue.

Anthony Hughes

[Non-text portions of this message have been removed]

[Non-text portions of this message have been removed]

[Non-text portions of this message have been removed]

[Non-text portions of this message have been removed]





[Non-text portions of this message have been removed]
systask is a deprecated system table. sysjobs, sysjobsteps, and
sysjobservers have taken its place, so the query will need to be rewritten.


On Tue, Aug 27, 2013 at 10:05 AM, Turgeon, Bill <bturgeon@...>wrote:

> **
>
>
> When I copy, paste, and run this query, I get an error �Invalid object
> name �pub.systask�
>
>
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
> Of Vic Drecchio
> Sent: Tuesday, August 27, 2013 11:43 AM
> To: vantage@yahoogroups.com
> Subject: RE: [Vantage] Remote restart of appserver
>
>
>
>
>
> Have you seen the Epicor SQL Tuning document? Have you went through that
> already? If not let me know and I�ll dig out the docs.
>
> Here�s my SQL Query that looks at SysTask. Perhaps seeing what is ACTIVE
> at the time of the CPU peaking may provide a clue.
>
> select
>
> top 500
>
> S.systasknum as 'TaskID',
>
> S.startdate as 'Date',
>
> RIGHT('00' + CAST(cast((S.STARTTIME/60/60) as INT) AS VARCHAR(2)),2) + ':'
> +
>
> RIGHT('00' + CAST(cast((S.starttime - (cast((S.STARTTIME/60/60) as
> INT))*60*60)/60 AS INT) AS VARCHAR(2)),2) + ':' +
>
> RIGHT('00' + CAST(S.STARTTIME - ((cast((S.STARTTIME/60/60) as INT) *60*60)
> + (cast((starttime - (cast((S.STARTTIME/60/60) as INT))*60*60)/60 AS INT) *
> 60)) AS VARCHAR(2)),2) AS 'StartTime',
>
> RIGHT('00' + CAST(cast((S.ENDTIME/60/60) as INT) AS VARCHAR(2)),2) + ':' +
>
> RIGHT('00' + CAST(cast((S.ENDTIME - (cast((S.ENDTIME/60/60) as
> INT))*60*60)/60 AS INT) AS VARCHAR(2)),2) + ':' +
>
> RIGHT('00' + CAST(S.ENDTIME - ((cast((S.ENDTIME/60/60) as INT) *60*60) +
> (cast((ENDtime - (cast((S.ENDTIME/60/60) as INT))*60*60)/60 AS INT) * 60))
> AS VARCHAR(2)),2) AS 'EndTime',
>
> S.endtime - S.starttime as 'SecsElapsed',
>
> UPPER(S.taskdescription) as 'Task',
>
> S.taskstatus as 'Status',
>
> Upper(S.submituser) as 'UserID',
>
> UPPER(U.NAME) AS 'UserName',
>
> s.activitymsg as 'Comment'
>
> from pub.systask S
>
> INNER JOIN PUB.USERFILE U ON U.DCDUSERID = S.SUBMITUSER
>
> order by s.systasknum desc
>
> From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> [mailto:
> vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On Behalf Of
> Tony Hughes
> Sent: Tuesday, August 27, 2013 11:22 AM
> To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
> Subject: Re: [Vantage] Remote restart of appserver
>
> Hello Vic, thank you for the reply.
> We're SQL back end, so any query you have would be appreciated. Is it
> systask table? I have been wondering how useful that table is for this.
> We're not currently running MRP, and Capture COS hasn't been run today
> (has not been run since last week).
>
> We use very few BAQs, I personally can't stand them for many reasons, and
> so don't create any.
> But we have a couple. Does systask record when they are used?
>
> This happens about once every month. The calls we get are that Vantage is
> unresponsive. Click and wait, wait, wait...
> Eventually people will be dropped and receive 4GL and/or 7### error codes.
>
> Thanks for your help, I appreciate it.
>
> ________________________________
> From: Vic Drecchio <vic.drecchio@... <mailto:
> vic.drecchio%40swepcotube.com> <mailto:vic.drecchio%40swepcotube.com> >
> To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> <mailto:
> vantage%40yahoogroups.com>
> Sent: Tuesday, August 27, 2013 10:02 AM
> Subject: RE: [Vantage] Remote restart of appserver
>
> You can install Progress Explorer Tool on any client. I restart my
> appservers on a client PC when I do maintenance.
>
> Obviously what you're experiencing is not normal. My first thought on why
> your CPU is pegged out on the server is due to a bad BAQ being run
> somewhere. That's the only scenario where I've seen that symptom. When you
> restart the appserver, do you get a phone call from anyone saying "Hey, I
> was in the middle of xxxx and the system crashed" ? MRP, Capture COS/WIP?
> I'd find the culprit fast otherwise you could realistically get major data
> corruption.
>
> If you happen to be a SQL site let me know and I share a query that shows
> you everything in the system monitor so perhaps you can see what
> report/baq/process may be active when your CPU gets pegged.
>
> From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> <mailto:
> vantage%40yahoogroups.com> [mailto:vantage@yahoogroups.com <mailto:
> vantage%40yahoogroups.com> <mailto:vantage%40yahoogroups.com> ] On Behalf
> Of
> Tony Hughes
> Sent: Tuesday, August 27, 2013 10:27 AM
> To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> <mailto:
> vantage%40yahoogroups.com>
> Subject: [Vantage] Remote restart of appserver
>
> Good morning,
> We use Vantage 8.03.
>
> Occasionally CPU is pegged at 100% on the Vantage application server, and
> until I figure out what is causing it, I have no choice but to stop and
> restart the main appserver, which immediately returns things to normal.
>
> Problem is that because the server is at 100% CPU it can be very slow to
> remote.
>
> Is there any way to get the broker PID of the appserver remotely, then I
> could do rkill on it?
>
> If anyone has any other suggestions as far as figuring out what is causing
> the CPU to lock hit 100%, I'd also appreciate any help with that issue.
>
> Anthony Hughes
>
> [Non-text portions of this message have been removed]
>
> [Non-text portions of this message have been removed]
>
> [Non-text portions of this message have been removed]
>
> [Non-text portions of this message have been removed]
>
>
>
>
> [Non-text portions of this message have been removed]
>
>
>



--
*Tanya Denison* | IT Manager | NRS, Inc.
*2009 S. Main Street, Moscow, ID 83843*
*tdenison@...* <tdenison@...>* | **www.nrs.com* <http://www.nrs.com>
*c: 208.301.0599 | p: 208.883.7834 Ext 277 | f: 208.882.1744*


[Non-text portions of this message have been removed]
Make sure you’re in the right database (not Master)



From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Turgeon, Bill
Sent: Tuesday, August 27, 2013 1:06 PM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Remote restart of appserver





When I copy, paste, and run this query, I get an error “Invalid object name ‘pub.systask’



From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> [mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On Behalf Of Vic Drecchio
Sent: Tuesday, August 27, 2013 11:43 AM
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Subject: RE: [Vantage] Remote restart of appserver





Have you seen the Epicor SQL Tuning document? Have you went through that already? If not let me know and I’ll dig out the docs.

Here’s my SQL Query that looks at SysTask. Perhaps seeing what is ACTIVE at the time of the CPU peaking may provide a clue.

select

top 500

S.systasknum as 'TaskID',

S.startdate as 'Date',

RIGHT('00' + CAST(cast((S.STARTTIME/60/60) as INT) AS VARCHAR(2)),2) + ':' +

RIGHT('00' + CAST(cast((S.starttime - (cast((S.STARTTIME/60/60) as INT))*60*60)/60 AS INT) AS VARCHAR(2)),2) + ':' +

RIGHT('00' + CAST(S.STARTTIME - ((cast((S.STARTTIME/60/60) as INT) *60*60) + (cast((starttime - (cast((S.STARTTIME/60/60) as INT))*60*60)/60 AS INT) * 60)) AS VARCHAR(2)),2) AS 'StartTime',

RIGHT('00' + CAST(cast((S.ENDTIME/60/60) as INT) AS VARCHAR(2)),2) + ':' +

RIGHT('00' + CAST(cast((S.ENDTIME - (cast((S.ENDTIME/60/60) as INT))*60*60)/60 AS INT) AS VARCHAR(2)),2) + ':' +

RIGHT('00' + CAST(S.ENDTIME - ((cast((S.ENDTIME/60/60) as INT) *60*60) + (cast((ENDtime - (cast((S.ENDTIME/60/60) as INT))*60*60)/60 AS INT) * 60)) AS VARCHAR(2)),2) AS 'EndTime',

S.endtime - S.starttime as 'SecsElapsed',

UPPER(S.taskdescription) as 'Task',

S.taskstatus as 'Status',

Upper(S.submituser) as 'UserID',

UPPER(U.NAME) AS 'UserName',

s.activitymsg as 'Comment'

from pub.systask S

INNER JOIN PUB.USERFILE U ON U.DCDUSERID = S.SUBMITUSER

order by s.systasknum desc

From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> <mailto:vantage%40yahoogroups.com> [mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> <mailto:vantage%40yahoogroups.com> ] On Behalf Of Tony Hughes
Sent: Tuesday, August 27, 2013 11:22 AM
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> <mailto:vantage%40yahoogroups.com>
Subject: Re: [Vantage] Remote restart of appserver

Hello Vic, thank you for the reply.
We're SQL back end, so any query you have would be appreciated. Is it systask table? I have been wondering how useful that table is for this.
We're not currently running MRP, and Capture COS hasn't been run today (has not been run since last week).

We use very few BAQs, I personally can't stand them for many reasons, and so don't create any.
But we have a couple. Does systask record when they are used?

This happens about once every month. The calls we get are that Vantage is unresponsive. Click and wait, wait, wait...
Eventually people will be dropped and receive 4GL and/or 7### error codes.

Thanks for your help, I appreciate it.

________________________________
From: Vic Drecchio <vic.drecchio@... <mailto:vic.drecchio%40swepcotube.com> <mailto:vic.drecchio%40swepcotube.com> <mailto:vic.drecchio%40swepcotube.com> >
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> <mailto:vantage%40yahoogroups.com> <mailto:vantage%40yahoogroups.com>
Sent: Tuesday, August 27, 2013 10:02 AM
Subject: RE: [Vantage] Remote restart of appserver

You can install Progress Explorer Tool on any client. I restart my
appservers on a client PC when I do maintenance.

Obviously what you're experiencing is not normal. My first thought on why
your CPU is pegged out on the server is due to a bad BAQ being run
somewhere. That's the only scenario where I've seen that symptom. When you
restart the appserver, do you get a phone call from anyone saying "Hey, I
was in the middle of xxxx and the system crashed" ? MRP, Capture COS/WIP?
I'd find the culprit fast otherwise you could realistically get major data
corruption.

If you happen to be a SQL site let me know and I share a query that shows
you everything in the system monitor so perhaps you can see what
report/baq/process may be active when your CPU gets pegged.

From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> <mailto:vantage%40yahoogroups.com> <mailto:vantage%40yahoogroups.com> [mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> <mailto:vantage%40yahoogroups.com> <mailto:vantage%40yahoogroups.com> ] On Behalf Of
Tony Hughes
Sent: Tuesday, August 27, 2013 10:27 AM
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> <mailto:vantage%40yahoogroups.com> <mailto:vantage%40yahoogroups.com>
Subject: [Vantage] Remote restart of appserver

Good morning,
We use Vantage 8.03.

Occasionally CPU is pegged at 100% on the Vantage application server, and
until I figure out what is causing it, I have no choice but to stop and
restart the main appserver, which immediately returns things to normal.

Problem is that because the server is at 100% CPU it can be very slow to
remote.

Is there any way to get the broker PID of the appserver remotely, then I
could do rkill on it?

If anyone has any other suggestions as far as figuring out what is causing
the CPU to lock hit 100%, I'd also appreciate any help with that issue.

Anthony Hughes

[Non-text portions of this message have been removed]

[Non-text portions of this message have been removed]

[Non-text portions of this message have been removed]

[Non-text portions of this message have been removed]




[Non-text portions of this message have been removed]





[Non-text portions of this message have been removed]
Oh.... Lucky E9. :-)

-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
Tanya Denison
Sent: Tuesday, August 27, 2013 1:12 PM
To: vantage@yahoogroups.com
Subject: Re: [Vantage] Remote restart of appserver

systask is a deprecated system table. sysjobs, sysjobsteps, and
sysjobservers have taken its place, so the query will need to be rewritten.


On Tue, Aug 27, 2013 at 10:05 AM, Turgeon, Bill
<bturgeon@...>wrote:

> **
>
>
> When I copy, paste, and run this query, I get an error "Invalid object
> name 'pub.systask'
>
>
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On
> Behalf Of Vic Drecchio
> Sent: Tuesday, August 27, 2013 11:43 AM
> To: vantage@yahoogroups.com
> Subject: RE: [Vantage] Remote restart of appserver
>
>
>
>
>
> Have you seen the Epicor SQL Tuning document? Have you went through
> that already? If not let me know and I'll dig out the docs.
>
> Here's my SQL Query that looks at SysTask. Perhaps seeing what is
> ACTIVE at the time of the CPU peaking may provide a clue.
>
> select
>
> top 500
>
> S.systasknum as 'TaskID',
>
> S.startdate as 'Date',
>
> RIGHT('00' + CAST(cast((S.STARTTIME/60/60) as INT) AS VARCHAR(2)),2) + ':'
> +
>
> RIGHT('00' + CAST(cast((S.starttime - (cast((S.STARTTIME/60/60) as
> INT))*60*60)/60 AS INT) AS VARCHAR(2)),2) + ':' +
>
> RIGHT('00' + CAST(S.STARTTIME - ((cast((S.STARTTIME/60/60) as INT)
> *60*60)
> + (cast((starttime - (cast((S.STARTTIME/60/60) as INT))*60*60)/60 AS
> + INT) *
> 60)) AS VARCHAR(2)),2) AS 'StartTime',
>
> RIGHT('00' + CAST(cast((S.ENDTIME/60/60) as INT) AS VARCHAR(2)),2) +
> ':' +
>
> RIGHT('00' + CAST(cast((S.ENDTIME - (cast((S.ENDTIME/60/60) as
> INT))*60*60)/60 AS INT) AS VARCHAR(2)),2) + ':' +
>
> RIGHT('00' + CAST(S.ENDTIME - ((cast((S.ENDTIME/60/60) as INT) *60*60)
> + (cast((ENDtime - (cast((S.ENDTIME/60/60) as INT))*60*60)/60 AS INT)
> * 60)) AS VARCHAR(2)),2) AS 'EndTime',
>
> S.endtime - S.starttime as 'SecsElapsed',
>
> UPPER(S.taskdescription) as 'Task',
>
> S.taskstatus as 'Status',
>
> Upper(S.submituser) as 'UserID',
>
> UPPER(U.NAME) AS 'UserName',
>
> s.activitymsg as 'Comment'
>
> from pub.systask S
>
> INNER JOIN PUB.USERFILE U ON U.DCDUSERID = S.SUBMITUSER
>
> order by s.systasknum desc
>
> From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> [mailto:
> vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On Behalf
> Of Tony Hughes
> Sent: Tuesday, August 27, 2013 11:22 AM
> To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
> Subject: Re: [Vantage] Remote restart of appserver
>
> Hello Vic, thank you for the reply.
> We're SQL back end, so any query you have would be appreciated. Is it
> systask table? I have been wondering how useful that table is for this.
> We're not currently running MRP, and Capture COS hasn't been run today
> (has not been run since last week).
>
> We use very few BAQs, I personally can't stand them for many reasons,
> and so don't create any.
> But we have a couple. Does systask record when they are used?
>
> This happens about once every month. The calls we get are that Vantage
> is unresponsive. Click and wait, wait, wait...
> Eventually people will be dropped and receive 4GL and/or 7### error codes.
>
> Thanks for your help, I appreciate it.
>
> ________________________________
> From: Vic Drecchio <vic.drecchio@... <mailto:
> vic.drecchio%40swepcotube.com> <mailto:vic.drecchio%40swepcotube.com>
> >
> To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> <mailto:
> vantage%40yahoogroups.com>
> Sent: Tuesday, August 27, 2013 10:02 AM
> Subject: RE: [Vantage] Remote restart of appserver
>
> You can install Progress Explorer Tool on any client. I restart my
> appservers on a client PC when I do maintenance.
>
> Obviously what you're experiencing is not normal. My first thought on
> why your CPU is pegged out on the server is due to a bad BAQ being run
> somewhere. That's the only scenario where I've seen that symptom. When
> you restart the appserver, do you get a phone call from anyone saying
> "Hey, I was in the middle of xxxx and the system crashed" ? MRP, Capture
COS/WIP?
> I'd find the culprit fast otherwise you could realistically get major
> data corruption.
>
> If you happen to be a SQL site let me know and I share a query that
> shows you everything in the system monitor so perhaps you can see what
> report/baq/process may be active when your CPU gets pegged.
>
> From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> <mailto:
> vantage%40yahoogroups.com> [mailto:vantage@yahoogroups.com <mailto:
> vantage%40yahoogroups.com> <mailto:vantage%40yahoogroups.com> ] On
> Behalf Of Tony Hughes
> Sent: Tuesday, August 27, 2013 10:27 AM
> To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> <mailto:
> vantage%40yahoogroups.com>
> Subject: [Vantage] Remote restart of appserver
>
> Good morning,
> We use Vantage 8.03.
>
> Occasionally CPU is pegged at 100% on the Vantage application server,
> and until I figure out what is causing it, I have no choice but to
> stop and restart the main appserver, which immediately returns things to
normal.
>
> Problem is that because the server is at 100% CPU it can be very slow
> to remote.
>
> Is there any way to get the broker PID of the appserver remotely, then
> I could do rkill on it?
>
> If anyone has any other suggestions as far as figuring out what is
> causing the CPU to lock hit 100%, I'd also appreciate any help with that
issue.
>
> Anthony Hughes
>
> [Non-text portions of this message have been removed]
>
> [Non-text portions of this message have been removed]
>
> [Non-text portions of this message have been removed]
>
> [Non-text portions of this message have been removed]
>
>
>
>
> [Non-text portions of this message have been removed]
>
>
>



--
*Tanya Denison* | IT Manager | NRS, Inc.
*2009 S. Main Street, Moscow, ID 83843*
*tdenison@...* <tdenison@...>* | **www.nrs.com* <http://www.nrs.com>
*c: 208.301.0599 | p: 208.883.7834 Ext 277 | f: 208.882.1744*


[Non-text portions of this message have been removed]



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

Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and
Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
Missed this question, first time around - Re the SQL Tuning, we've had 2 different people out from Epicor, and I think they have it tweaked to death. They are the ones who broke out our process servers to four different app servers.





________________________________
From: Vic Drecchio <vic.drecchio@...>
To: vantage@yahoogroups.com
Sent: Tuesday, August 27, 2013 10:42 AM
Subject: RE: [Vantage] Remote restart of appserver



Â
Have you seen the Epicor SQL Tuning document? Have you went through that already? If not let me know and I’ll dig out the docs.

Here’s my SQL Query that looks at SysTask. Perhaps seeing what is ACTIVE at the time of the CPU peaking may provide a clue.

select

top 500

S.systasknum as 'TaskID',

S.startdate as 'Date',

RIGHT('00' + CAST(cast((S.STARTTIME/60/60) as INT) AS VARCHAR(2)),2) + ':' +

RIGHT('00' + CAST(cast((S.starttime - (cast((S.STARTTIME/60/60) as INT))*60*60)/60 AS INT) AS VARCHAR(2)),2) + ':' +

RIGHT('00' + CAST(S.STARTTIME - ((cast((S.STARTTIME/60/60) as INT) *60*60) + (cast((starttime - (cast((S.STARTTIME/60/60) as INT))*60*60)/60 AS INT) * 60)) AS VARCHAR(2)),2) AS 'StartTime',

RIGHT('00' + CAST(cast((S.ENDTIME/60/60) as INT) AS VARCHAR(2)),2) + ':' +

RIGHT('00' + CAST(cast((S.ENDTIME - (cast((S.ENDTIME/60/60) as INT))*60*60)/60 AS INT) AS VARCHAR(2)),2) + ':' +

RIGHT('00' + CAST(S.ENDTIME - ((cast((S.ENDTIME/60/60) as INT) *60*60) + (cast((ENDtime - (cast((S.ENDTIME/60/60) as INT))*60*60)/60 AS INT) * 60)) AS VARCHAR(2)),2) AS 'EndTime',

S.endtime - S.starttime as 'SecsElapsed',

UPPER(S.taskdescription) as 'Task',

S.taskstatus as 'Status',

Upper(S.submituser) as 'UserID',

UPPER(U.NAME) AS 'UserName',

s.activitymsg as 'Comment'

from pub.systask S

INNER JOIN PUB.USERFILE U ON U.DCDUSERID = S.SUBMITUSER

order by s.systasknum desc

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Tony Hughes
Sent: Tuesday, August 27, 2013 11:22 AM
To: vantage@yahoogroups.com
Subject: Re: [Vantage] Remote restart of appserver

Hello Vic, thank you for the reply.
We're SQL back end, so any query you have would be appreciated. Is it systask table? I have been wondering how useful that table is for this.
We're not currently running MRP, and Capture COS hasn't been run today (has not been run since last week).

We use very few BAQs, I personally can't stand them for many reasons, and so don't create any.
But we have a couple. Does systask record when they are used?

This happens about once every month. The calls we get are that Vantage is unresponsive. Click and wait, wait, wait...
Eventually people will be dropped and receive 4GL and/or 7### error codes.

Thanks for your help, I appreciate it.

________________________________
From: Vic Drecchio <vic.drecchio@... <mailto:vic.drecchio%40swepcotube.com> >
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Sent: Tuesday, August 27, 2013 10:02 AM
Subject: RE: [Vantage] Remote restart of appserver

You can install Progress Explorer Tool on any client. I restart my
appservers on a client PC when I do maintenance.

Obviously what you're experiencing is not normal. My first thought on why
your CPU is pegged out on the server is due to a bad BAQ being run
somewhere. That's the only scenario where I've seen that symptom. When you
restart the appserver, do you get a phone call from anyone saying "Hey, I
was in the middle of xxxx and the system crashed" ? MRP, Capture COS/WIP?
I'd find the culprit fast otherwise you could realistically get major data
corruption.

If you happen to be a SQL site let me know and I share a query that shows
you everything in the system monitor so perhaps you can see what
report/baq/process may be active when your CPU gets pegged.

From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> [mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On Behalf Of
Tony Hughes
Sent: Tuesday, August 27, 2013 10:27 AM
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Subject: [Vantage] Remote restart of appserver

Good morning,
We use Vantage 8.03.

Occasionally CPU is pegged at 100% on the Vantage application server, and
until I figure out what is causing it, I have no choice but to stop and
restart the main appserver, which immediately returns things to normal.

Problem is that because the server is at 100% CPU it can be very slow to
remote.

Is there any way to get the broker PID of the appserver remotely, then I
could do rkill on it?

If anyone has any other suggestions as far as figuring out what is causing
the CPU to lock hit 100%, I'd also appreciate any help with that issue.

Anthony Hughes

[Non-text portions of this message have been removed]

[Non-text portions of this message have been removed]

[Non-text portions of this message have been removed]

[Non-text portions of this message have been removed]




[Non-text portions of this message have been removed]