Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
dbeavon3
Impactful Individual
Impactful Individual

Cancelling accidental (power query online) mashup containers running within a production gateway

Lets say I accidentally open a dataflow (power query online editor), and it spawns a large workload of mashups to start running on the on-premise gateway.  These workloads are spawned in the form of "gateway containers".

 

Lets assume it is a production environment and we want to urgently cancel the mashup containers before they cause excessive problems for our shared resource managers (like databases and web servers).

 

Consider that there may be SOME "legitimate" mashup containers running on the same gateway server, and I'm trying not to harm any "legitimate" mashups.  I only want to kill the mashups that I spawned by accident.  And these mashups won't seem to die when I close the offending web browser.

 

How would I go about killing ONLY the "accidental" mashups?

My first impression is that I can look for all the process ID's of the mashups that are currently running, and cross reference that against the "CreateContainer" entries in the logs with an identity of PowerQueryOnlineCachingPool.

 

eg."Action":"ContainerPoolContainerFactory/CreateContainer","identity":"PowerQueryOnlineCachingPool"

 

(These are different than scheduled mashups which have an identity of null.)

 

QUESTION - Once I've identified the accidental mashups, can I simply start killing these in the task manager?  Is there a long-term consequence?  Will they be auto-restarted?

 

... Sorry if this sounds like a brute-force technique, but I don't think there is any other way to reliably solve the problem.  I've found that it can even be difficult to avoid these problem in the first place.  Because whenever our users open a mashup in the service, that seems to trigger the immediately launching of these "accidental" mashups.  It is not clear how to avoid the behavior, and we are often forced to be reactive rather than proactive. 

 

1 ACCEPTED SOLUTION
GilbertQ
Super User
Super User

Hi @dbeavon3 

 

My suggestion would be as if there's not a lot of things running on your gateway. Simply restart the gateway service that will kill all the containers And no, it will not try again. Other than that, you can try and identify each mashup and kill it.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

View solution in original post

3 REPLIES 3
v-jtian-msft
Community Support
Community Support

Hi,GilbertQ ,thanks for your concern about this issue.

Your answer is excellent!
And I would like to share some additional solutions below.

Hello,@dbeavon3 .Has your problem been solved?
If you have found suitable solutions, please share them as it will help more users with similar problems.
Or you can mark the valid suggestions provided by other users as solutions.
Thank you very much for your understanding and support of Power BI.

I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best Regards,
Carson Jian

There aren't any good solutions.  I think you have to either kill all mashups, or allow the accidental queries to run.  It is very hard to pick and choose the ones that need to be killed.

GilbertQ
Super User
Super User

Hi @dbeavon3 

 

My suggestion would be as if there's not a lot of things running on your gateway. Simply restart the gateway service that will kill all the containers And no, it will not try again. Other than that, you can try and identify each mashup and kill it.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.