# Too large file called "on" in nginx installation folder on windows

**URL:** <https://www.ruby-forum.com/t/too-large-file-called-on-in-nginx-installation-folder-on-windows/206235>\
**Category:** NGINX\
**Created:** [April 26, 2011, 11:34am UTC](https://www.ruby-forum.com/t/too-large-file-called-on-in-nginx-installation-folder-on-windows/206235 "2011-04-26T11:34:42Z")\
**Posts on this page:** 3\
**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:** [April 26, 2011, 11:34am UTC](https://www.ruby-forum.com/t/too-large-file-called-on-in-nginx-installation-folder-on-windows/206235/1 "2011-04-26T11:34:42Z")

</div>

Im using Nginx Version : 0.8.54 running on Windows 2003. Its being used  
to server large number of static files with filesize varying from 10 kb  
to couple of mb in size.

Nginx creates file called “on” in installation folder which keeps on  
growing.

Can any one guide me as to what this file is and how can i stop/manage  
its size growth?

Thanks,

Mandar

Posted at Nginx Forum:

> **[Too large file called "on" in nginx installation folder on windows](https://forum.nginx.org/read.php?2,193731,193731#msg-193731)**
>
> Im using Nginx Version : 0.8.54 running on Windows 2003. Its being used to server large number of static files with filesize varying from 10 kb to couple of mb in size. Nginx creates file called "on" in installation folder which keeps on...

---

<div class="post-metadata">

**Author:** ![mpunaskar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/bbce88/32.png) [@mpunaskar](https://www.ruby-forum.com/u/mpunaskar)\
**Post date:** [April 26, 2011, 11:43am UTC](https://www.ruby-forum.com/t/too-large-file-called-on-in-nginx-installation-folder-on-windows/206235/2 "2011-04-26T11:43:22Z")

</div>

On Tue, Apr 26, 2011 at 4:33 PM, mpunaskar [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Im using Nginx Version : 0.8.54 running on Windows 2003. Its being used  
> to server large number of static files with filesize varying from 10 kb  
> to couple of mb in size.
> 
> Nginx creates file called “on” in installation folder which keeps on  
> growing.
> 
> Can any one guide me as to what this file is and how can i stop/manage  
> its size growth?

I’m guessing you set some log parameter to on while it should be  
filename (well, “on” is also filename)

check in your config file for something like

access\_log on;

or

error\_log on;

---

<div class="post-metadata">

**Author:** ![mpunaskar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/bbce88/32.png) [@mpunaskar](https://www.ruby-forum.com/u/mpunaskar)\
**Post date:** [April 26, 2011, 11:53am UTC](https://www.ruby-forum.com/t/too-large-file-called-on-in-nginx-installation-folder-on-windows/206235/3 "2011-04-26T11:53:53Z")

</div>

Yes, That was the issue.

I thought that just like “off”, there must be “on” option and i added  
“access\_log on;” in config file

Thank you very much for your quick reply.

Mandar

Posted at Nginx Forum:

> **[Re: Too large file called "on" in nginx installation folder on windows](https://forum.nginx.org/read.php?2,193731,193739#msg-193739)**
>
> Im using Nginx Version : 0.8.54 running on Windows 2003. Its being used to server large number of static files with filesize varying from 10 kb to couple of mb in size. Nginx creates file called "on" in installation folder which keeps on...
