cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ezim
Level 9
Report Inappropriate Content
Message 1 of 18

How to kill stuck server purge task

Jump to solution

What is the best way to kill a server task on McAfee ePolicy Orchestrator  5.9 that is not terminating?

  • It is a purge task for server task log events.
  • The task has been sitting at "pending termination" for hours.
  • It gets recreated and runs on server reboot (as it thinks there was a server failure).

Other server tasks are not running as scheduled and the ePO system performance over all is very slow.

1 Solution

Accepted Solutions
cdinet
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 10 of 18

Re: How to kill stuck server purge task

Jump to solution

Yea, that's what I was afraid of.  That is why tomcat has to stop on its own.  Let me send you a script in chat.

Was my reply helpful?
If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?

View solution in original post

17 Replies
cdinet
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 2 of 18

Re: How to kill stuck server purge task

Jump to solution

Try this - stop all epo services, do NOT kill the tomcat process - let it stop on its own, no matter how long it takes.  Then once stopped, restart it and see if it is terminated.

Was my reply helpful?
If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?

ezim
Level 9
Report Inappropriate Content
Message 3 of 18

Re: How to kill stuck server purge task

Jump to solution

Hello @cdinet ,

Thank you for your advice.

How long would you expect it to take, until the tomcat process has stopped on its own.

Is there any way to speed this up?

cdinet
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 4 of 18

Re: How to kill stuck server purge task

Jump to solution

It should have stopped on its own by now.  No way to speed it up.  It is closing out transactions in the backend, so depending on what it is doing, it takes a little time.

Was my reply helpful?
If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?

ezim
Level 9
Report Inappropriate Content
Message 5 of 18

Re: How to kill stuck server purge task

Jump to solution

It hasn't stopped yet.

Is there any way of "seeing" what it is doing to estimate how much longer it will take?

I couldn't see anything in the server's log files to give me a clue.

cdinet
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 6 of 18

Re: How to kill stuck server purge task

Jump to solution

No, there is no way that I know of.  Be sure to refresh the services window.  Is the tomcat7 process still running?

 

Was my reply helpful?
If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?

ezim
Level 9
Report Inappropriate Content
Message 7 of 18

Re: How to kill stuck server purge task

Jump to solution

Yes, it is still running.

With 0% CPU and 1144.4MB of RAM (the server has plenty of memory still available).

The tomcat process has over 130 connection open on port 1433 to the database server.

Only one of them seems to occasionally send/receive data.

cdinet
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 8 of 18

Re: How to kill stuck server purge task

Jump to solution

Ok, go ahead and kill it then.  Once service is restarted, check to see if it is still in progress.  If it is, let me know.

Was my reply helpful?
If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?

ezim
Level 9
Report Inappropriate Content
Message 9 of 18

Re: How to kill stuck server purge task

Jump to solution

The task gets restarted. It shows "In Progress" again.

14/01/21 20:12:04 Failed: Task will be restarted due to server failure.
14/01/21 20:12:35 Started: Purge Server Task Log

cdinet
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 10 of 18

Re: How to kill stuck server purge task

Jump to solution

Yea, that's what I was afraid of.  That is why tomcat has to stop on its own.  Let me send you a script in chat.

Was my reply helpful?
If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?

View solution in original post

You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community