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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
CliffordAP
Helper II
Helper II

Microsoft Mashup Evaluation Container - over 100 instances running on my virtual machine

Hello all,

     I have an instance of SQL Server on a virtual machine that is used as a source of data for our organization's PowerBI online service (pro license).

We use the PowerBI enterprise gateway hosted on the virtual machine to automatically refresh our PowerBI dataset.

After some time, maybe a month or so, I will have terrible issues running SQL Queries. When I log into the virtual machine where SQL Server is hosted, I see that all of it's memory is being taken up by several dozen 'Microsoft Mashup Evaluation Container' processes.
I am not sure what these are about, but I have to restart the server to end these processes and move on.

Can someone explain to me what these processes do and why they are multiplying on the virtual machine? I suspect it has something to do with the Enterprise Gateway and the automatic refresh?

 

CliffordAP_0-1627564526904.png

Thank you

7 REPLIES 7
CliffordAP
Helper II
Helper II

@lbendlin,
I am the PowerBI developer. We are refreshing 2 datasets everyday, one is on an enterprise GW and the other is on a personal gateway. The refreshes usually always happen successfully, so I am not sure why these processes linger after the refresh.
I have resorted to running a Powershell script to terminate these processes as they accumulate;
stop-process -Name "Microsoft.Mashup.Container.NetFX45".
I would prefer to understand how to stop these containers from lingering on the server after the refreshes are successful. Any advice would be appreciated!
Thank you

@CliffordAP 
Did you find any other solution besides terminating the lingering processes with a PowerShell script?

I have a similar issue that after a successful refresh on Power BI Report Server the mashup container processes keep linger on and consume considerable amount of memory. 

 

I've read dozens of posts about the MS Mashup Evaluation Containers and almost all of them are about disabling the "allow data previews to download in the background" setting. But it seems that refreshing the reports in PBI Service or in PBI Report Server with scheduled refreshes are a different topic and the data preview option isn't helping here.

Mashup evaluations are the main function of Power BI Report server or Power BI Service.  If they occupy all your memory then give them more memory rather than trying to throttle them.  On PBIRS you will need to find a balance between the needs of Power BI and the SQL server instance. In other scenarios do not run anything else besides Power BI (gateway for example).

Rather the question is if mashup evaluation processes are initiated by a scheduled refresh (tens of them start after the refresh has started) then why they keep running after the refresh has been completed successfully.

All of the reports in PBIRS are in import mode so after the refresh is done, of what use are they afterwards? 

 

Sure I can allocate more memory but I would like to understand the core of this issue.

Mashup containers are VMs that have a cost associated with standing them up and tearing them down. May as well keep them around for potential re-use.

If you have a Pro license then I would suggest you raise a Pro ticket at support.powerbi.com so that Microsoft can have a look.  

 

This is actually one of the reasons why it is not recommended to run the gateway on a shared resource. Gateways don't like to share.

lbendlin
Super User
Super User

These can either be import queries or Direct Query queries.  Ask the Power BI developers about their dataset refresh experience (long refresh durations, refresh failing with timeout etc).  Most likely these are abandoned refresh sessions that SQL Server is too afraid to kill.  Work with the developers to improve their refresh performance.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors