Проблема сводится к блокировке сессии PHP; по некоторым причинам mod_php удается разблокировать сессию, когда запрос отменяется, но mod_fcgid не делает в этом случае. Вызов session_write_close()
прежде readfile()
(100%-й сейф, поскольку я не собираюсь быть выполнением ничего после вывода файла так или иначе, поскольку это повредило бы его), гарантирует, что блокировка сессии выпущена и предотвращает систему, зависающую для того пользователя.
Вы можете попробовать ... sh conn
. Это показывает активные соединения.
asa# sh conn ?
address Enter this keyword to specify IP address
all Enter this keyword to show conns including to-the-box and
from-the-box
count Enter this keyword to show conn count only
detail Enter this keyword to show conn in detail
long Enter this keyword to show conn in long format
port Enter this keyword to specify port
protocol Enter this keyword to specify conn protocol
state Enter this keyword to specify conn state
user Enter this keyword to specify conn user
user-group Enter this keyword to specify conn user group
user-identity Enter this keyword to show user names
| Output modifiers
<cr>