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

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:

On Tue, Apr 26, 2011 at 4:33 PM, mpunaskar [email protected] 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;

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: