Forum Discussion

YashRaj5's avatar
YashRaj5
Frequent Visitor
10 months ago
Solved

Shared Sessions are taking longer to get attached while executing notebook in pipeline run in fabric

Hello, Over the past 3–4 days, we've observed an increase in the time it takes for a shared Spark session to attach when transitioning from one notebook activity to another. We've provided screens...
  • Vinodh247's avatar
    10 months ago

    The screenshots show increased attach times for shared spark sessions in fabric pipelines esp., at the start and end notebook activities. This slowdown is likely due to backend resource contention/session reuse delays within the shared spark pool. When multiple notebooks run concurrently or capacity is under load, session warmup and context switch times may increase.

     

    actions that you can try:

    1. Monitor fabric capacity metrics (CPU, memory, spark concurrency).

    2. Try assigning a dedicated spark session per pipeline or using “Run in new session” for critical notebooks.

    3. Clear idle sessions periodically using the fabric REST API or capacity admin tools.

    4. Raise a fabric support ticket with timestamps for correlation as this might be a transient backend performance regression.