С error_log что-то не то
Андрей Василишин
a.vasilishin at kpi.ua
Fri Oct 30 18:13:52 MSK 2009
>> directio на aufs работало?
>>
>
> Не знаю, судя по интернетам, похоже, что не работало.
>
С другого сервера, тоже Дебиан:
root#fs-0 (xterm) pts/2 Fri 2009-10-30
17:04:49
/home/andron
> nginx -V
nginx version: nginx/0.7.62
configure arguments: --conf-path=/etc/nginx/nginx.conf
--error-log-path=/var/log/nginx/error.log --pid-path=/var/run/nginx.pid
--lock-path=/var/lock/nginx.lock
--http-log-path=/var/log/nginx/access.log
--http-client-body-temp-path=/var/lib/nginx/body
--http-proxy-temp-path=/var/lib/nginx/proxy
--http-fastcgi-temp-path=/var/lib/nginx/fastcgi --with-debug
--with-http_stub_status_module --with-http_flv_module
--with-http_ssl_module --with-http_dav_module
--with-http_gzip_static_module --with-mail --with-mail_ssl_module
--with-ipv6
--add-module=/tmp/buildd/nginx-0.7.62/modules/nginx-upstream-fair
root#dl3 (xterm) pts/5 Fri 2009-10-30
16:53:55
/home/andron
> uname -a
Linux dl3 2.6.30-2-amd64 #1 SMP Fri Sep 25 22:16:56 UTC 2009 x86_64
GNU/Linux
root#fs-0 (xterm) pts/2 Fri 2009-10-30
17:01:08
/home/andron
> mount
/dev/md0 on / type ext3 (rw,noatime,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/sde3 on /storage1 type ext3 (rw,noatime)
/dev/sdf3 on /storage2 type ext3 (rw,noatime)
/dev/sda1 on /storage3 type ext3 (rw,noatime)
/dev/sdc1 on /storage5 type ext3 (rw,noatime)
/dev/sdd1 on /storage6 type ext3 (rw,noatime)
none on /var/www/dl/files type aufs
(rw,create=mfsrr:2147483648,br:/storage1=rw:/storage2=rw:/storage3=rw:/storage4=rw)
/dev/sdb1 on /storage4 type ext3 (rw,noatime)
proc on /var/www2/proc type proc (rw)
devpts on /var/www2/dev/pts type devpts (rw)
sysfs on /var/www2/sys type sysfs (rw)
root#fs-0 (xterm) pts/2 Fri 2009-10-30
17:02:24
/home/andron
> cat /etc/nginx/nginx.conf
error_log /var/log/nginx/error_log crit;
pid /var/run/nginx.pid;
events {
worker_connections 8192;
debug_connection 77.47.128.152;
}
...
location /files/ {
internal;
root /var/www/dl;
directio 2m;
output_buffers 1 640k;
# limit_conn one 1;
access_log off;
}
root#fs-0 (xterm) pts/2 Fri 2009-10-30
DING!
/home/andron
> cat /var/log/nginx/error_log
root#fs-0 (xterm) pts/2 Fri 2009-10-30
17:01:08
/home/andron
root#fs-0 (xterm) pts/2 Fri 2009-10-30
17:09:45
/home/andron
> cat /var/log/nginx/error.log
root#fs-0 (xterm) pts/2 Fri 2009-10-30
17:10:40
/home/andron
>
>
логи пустые
77.47.128.152 - айпи НАТа за которым я сейчас сижу. В логе по идее
должен быть дебаг моих запросов, но его нет
Модуль аюфс делал так:
m-a -i install aufs
--
WBR, Andrey Vasilishin CDIG1-UANIC, CDIG1-RIPE
More information about the nginx-ru
mailing list