Показать сообщение отдельно

  #3  
Старый 27.09.2007, 22:15
Sn@k3
Познавший АНТИЧАТ
Регистрация: 13.04.2006
Сообщений: 1,738
С нами: 10566621

Репутация: 1198


По умолчанию

instances of nph-proxy.cgi can hang around for many hours and drag the
# [b]system. So until we figure out why that is, here's a 10-minute timeout.]/b]
# Please write me with any insight into this, since I can't reproduce the
# problem. Under what conditions, on what systems, does it happen?
# 9-9-1999: One theory is that it's a bug in older Apaches, and is fixed by
# upgrading to Apache 1.3.6 or better. Julian Haight reports seeing the
# same problem with other scripts on Apache 1.3.3, and it cleared up when
# he upgraded to Apache 1.3.6. Let me know if you can confirm this.
# alarm() is missing on some systems (such as Windows), so use eval{} to
# avoid failing when alarm() isn't available.

$SIG{'ALRM'} = \&timeexit ;
eval { alarm(600) } ;

переведи
 
Ответить с цитированием