# Infinite loop after compiled with debug mode in nginx-0.8.54?

**URL:** <https://www.ruby-forum.com/t/infinite-loop-after-compiled-with-debug-mode-in-nginx-0-8-54/202092>\
**Category:** NGINX\
**Created:** [January 21, 2011, 4:21pm UTC](https://www.ruby-forum.com/t/infinite-loop-after-compiled-with-debug-mode-in-nginx-0-8-54/202092 "2011-01-21T16:21:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [January 21, 2011, 4:21pm UTC](https://www.ruby-forum.com/t/infinite-loop-after-compiled-with-debug-mode-in-nginx-0-8-54/202092/1 "2011-01-21T16:21:20Z")

</div>

Hello,

I compiled nginx-0.8.54 with debug mode, also with ssl and secure  
download modules. As long as I started a file download, download is  
finished, but in the error.log, there seems to be an infinite loop to  
repeat following debug output forever. The size of error.log increases  
dramatically. In less than an hour, log increased to almost 9GB without  
much download activities.

[debug] 4854#0: timer delta: 0  
[debug] 4854#0: posted events 00000000  
[debug] 4854#0: worker cycle  
[debug] 4854#0: devpoll timer: -1  
[debug] 4854#0: devpoll: fd:10, ev:0005, rev:0004  
[debug] 4854#0: \*1 http run request: “/path/to/downloadfile”  
[debug] 4854#0: \*1 http request empty handler

Anyone has ran into similar issues? Any help is much appreciated.

Thanks,  
William

Posted at Nginx Forum:

> **[Infinite loop after compiled with debug mode in nginx-0.8.54?](https://forum.nginx.org/read.php?2,168276,168276#msg-168276)**
>
> Hello, I compiled nginx-0.8.54 with debug mode, also with ssl and secure download modules. As long as I started a file download, download is finished, but in the error.log, there seems to be an infinite loop to repeat following debug output forever....
