Skip to main content

Notifications

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

  • Brian_DiFi Profile Picture
    2,410 on at
    RE: GP 2010 Locking up during posting

    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.  

  • Richard Wheeler Profile Picture
    75,848 Moderator on at
    RE: GP 2010 Locking up during posting

    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
    RE: GP 2010 Locking up during posting

    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,848 Moderator on at
    RE: GP 2010 Locking up during posting

    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.

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Almas Mahfooz Profile Picture

Almas Mahfooz 3 User Group Leader

Featured topics

Product updates

Dynamics 365 release plans