가끔 아파 타임에 의해 종료되고 브라우저에 504 Gateway Time-out
오류가 발생하는 원인이되는 Perl CGI 애플리케이션이 있습니다. 그러나 나는 내가 프로필 데이터를 읽을 수 없습니다, NYTProf를 사용하여이 응용 프로그램을 프로파일 링하려고 : 나는 sigexit=1
NYTProf 옵션을 사용하고시간 초과되는 Perl CGI 스크립트 프로파일 링
$ nytprofhtml -f www/cgi-local/nytprof.out
Reading www/cgi-local/nytprof.out
Profile data incomplete, inflate error -5 ((null)) at end of input file, perhaps the process didn't exit cleanly or the file has been truncated (refer to TROUBLESHOOTING in the documentation)
.
#!/usr/bin/perl -d:NYTProf
sleep 1 while 1;