In FortiOS 5.2 and higher you can dedicate one of the CPUs for management access, in other words GUI and CLI access. If the system is running under extremely high loads this will guarantee access to management functions.
This feature is available in 2U firewalls and blades only that have multiple CPUs.
To enable this feature (default disabled):
conf system npu
set dedicated-management-cpu <enable | disable>
end