memcache and nginx
is at rambler-co.ru
Wed May 14 23:26:24 MSD 2008
On Wed, May 14, 2008 at 09:41:20AM -0400, Sean Allen wrote:
> >It seems you have small number of request/s. Could you enable debug
> >for several minutes until the bug will appear ?
> have a small number of requests related to this problem, have a large
> number overall.
> i'm not familiar with debug logging, how do i enable that?
> can i enable only on the error log ( as its small but the access logs
> are about 250 megs
> a day ).
The log will be in error_log and it will be large. VERY LARGE.
So it should be set per some addresses only or if the load is low (as
in your case) for short time.
You need to build nginx using
./configure --with-debug ...
Then you should enable debug log level in nginx.conf:
error_log /path/to/log debug;
Otherwise you may set debug per some addresses only:
Disabled debug has very low CPU overhead.
More information about the nginx