Site stuck on maintenance mode only for a single page
I came across this scenario a few days back. In my case, the site was displaying maintenance page only on registration related pages in dev server. 

After several hours of struggle, it was identified to be a huge secondary database (from PROD) which was connected only on enrollment related pages. I emptied the huge tables and the pages started loading seamlessly.

Hope this might help someone.