CiviCRM Database Upgrade from 4.7.16 to 4.7.28 is hanging
Can you check apache error and CiviCRM log? If you have database access can you paste the result of below query

SELECT id, version FROM civicrm_domain;