web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

GP 2010 Locking up during posting

(0) ShareShare
ReportReport
Posted on by 2,410

Over the last 5 days we've had postings lock up GP 4 times.  It cascades to where several other users receive very poor performance in GP.  It has happened to two users so far.  

When I check SQL Activity Monitor I see that there is a lock on the master database from the locked up user's SQL login, and it's blocking the other user's processes.  Once I kill that process in SQL the batch is fine and so are the other users.  

Sales batches get posted several times a day and only a handful have had this happen.  

Any suggestions for tracking down the cause?  

*This post is locked for comments

I have the same question (0)
  • Richard Wheeler Profile Picture
    75,852 Moderator on at

    Your first port of call is to run in SSMS.

    select * from sys.dm_exec_requests

    where blocking_session_id <> 0   -- Session_id is the session that is locked and block_sssion_id is the session doing the blocking

    This will return the sessions that are being blocked, and the sessions that are blocking them.

    Once you have these:

    select * from sys.sysprocesses

    where spid = (select blocking_session_id from sys.dm_exec_requests

    where blocking_session_id <> 0)

    Hopefully this will track you down to the user and then  find out what that user is doing.

  • Brian_DiFi Profile Picture
    2,410 on at

    Thank you, I did that and it was the users's session to the master database.  When I ran a trace on the session it didn't return anything.  I then killed the process and the blocks were removed.  

  • Richard Wheeler Profile Picture
    75,852 Moderator on at

    The locks were on the master database? Is it always the same user(s)? Has anything change in your environment? When was the last time this server was rebooted?

  • Brian_DiFi Profile Picture
    2,410 on at

    Yes, the GP processes were blocked by the process from the connection to the Master database.  

    It's on version 11.00.2164, we rebooted the Sunday before, and did again this weekend.  

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Anthony Beatty Profile Picture

Anthony Beatty 2

#2
Shravan Attelli Profile Picture

Shravan Attelli 1

#2
CP04-islander Profile Picture

CP04-islander 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans