ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Забивается лог ngin unlink()


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: Забивается лог ngin unlink()
  • From: "Maximus43" <nginx-forum@xxxxxxxx>
  • Date: Mon, 05 Sep 2011 17:02:43 -0400
  • Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mickey.jlkhosting.com; s=x; h=Date:Sender:From:References:In-Reply-To:Message-ID:Content-Transfer-Encoding:Content-Type:Subject:To; bh=3/dtIwroGlwHqSW6qeXTv537kwyWDGXmKDsKGyxsHow=; b=haohsanjPUj5sYp3h2AlOjgXOBAr9/MWVIc0gVSvkhruW5a2SYZBlYa87cVKMtBil8BP3D2AjkbZk9KB1mhwFxopiJhruVf12cGnadq85ONXpenZTrHafjJfhu6vx3eF;
  • In-reply-to: <20110905184643.GA43499@xxxxxxxxx>
  • References: <20110905184643.GA43499@xxxxxxxxx>

Igor Sysoev Wrote:
> А в чём заключается
> проблема ?

Вводная:

$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.10
DISTRIB_CODENAME=maverick
DISTRIB_DESCRIPTION="Ubuntu 10.10"

$ uname -a
Linux kirov 2.6.32.14-ovz32 #1 SMP Sun Dec 12 17:33:07 CET 2010 x86_64
GNU/Linux

$ nginx -v
nginx: nginx version: nginx/1.0.5


$ ls -la /var/cache/nginx/
total 16
drwxr-xr-x  4 root     root 4096 2011-07-04 09:47 .
drwxr-xr-x 10 root     root 4096 2011-07-04 09:47 ..
drwxr-xr-t 18 www-data root 4096 2011-09-05 18:21 cache

В логе постоянно возникают ошибки

$ sudo tail -f /var/log/nginx/error.log
2011/09/05 21:52:54 [crit] 10429#0: unlink()
"/var/cache/nginx/cache/d/61/751b2fba2f438d0e0aac347d749c461d" failed
(2: No such file or directory)
2011/09/05 22:09:39 [crit] 10429#0: unlink()
"/var/cache/nginx/cache/2/9e/2e66c8c93ee8ce33fed6004bab70a9e2" failed
(2: No such file or directory)
2011/09/05 22:32:11 [crit] 10429#0: unlink()
"/var/cache/nginx/cache/2/7f/8ac50a5fce1660d47db190e1c49297f2" failed
(2: No such file or directory)
2011/09/05 22:32:11 [crit] 10429#0: unlink()
"/var/cache/nginx/cache/f/62/b3714a305a3bd20a537b6d63583c362f" failed
(2: No such file or directory)
2011/09/05 22:32:11 [crit] 10429#0: unlink()
"/var/cache/nginx/cache/d/e1/bb6edce7c4915fc58aad2ba17370fe1d" failed
(2: No such file or directory)
2011/09/05 22:32:11 [crit] 10429#0: unlink()
"/var/cache/nginx/cache/1/d1/a5b4018e59211431bdb33236f7da0d11" failed
(2: No such file or directory)
2011/09/05 22:32:11 [crit] 10429#0: unlink()
"/var/cache/nginx/cache/b/ba/0b15ce1f76d089fde15fe9cd7a67fbab" failed
(2: No such file or directory)
2011/09/05 22:32:11 [crit] 10429#0: unlink()
"/var/cache/nginx/cache/5/eb/5a9932b7b150bd7dd588d8111c5baeb5" failed
(2: No such file or directory)
2011/09/05 22:32:11 [crit] 10429#0: unlink()
"/var/cache/nginx/cache/b/8b/5ab59fd91ade8451ef1b77fa252298bb" failed
(2: No such file or directory)
2011/09/05 22:42:20 [crit] 10429#0: unlink()
"/var/cache/nginx/cache/b/8e/4be0cc34034f2984e9ddb77ed53fb8eb" failed
(2: No such file or directory)

Внешне же это выглядит как
отсутствующее изображение на
странице.

Вот например прямая ссылка на
"залипающий" элемент http://grukhina.ru/attach/2817/o/
Если удалить кэш, то эта ссылка
заработает.

Posted at Nginx Forum: 
http://forum.nginx.org/read.php?21,203539,214841#msg-214841

_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.