A disk space problem when using nginx 0.6.32 and apache2

Igor Sysoev is at rambler-co.ru
Mon Aug 4 20:05:12 MSD 2008


On Mon, Aug 04, 2008 at 05:12:06PM +0800, Tony.Ho wrote:

> ??????????nginx??apache??????????ext3??????????100%??????????????????
> ????????????????????fsck????????????????????????????

This is English-only list.
The most subscribers including myself simply do not understand the message.


-- 
Igor Sysoev
http://sysoev.ru/en/

> ?????? wrote:
> > check the nginx.conf :
> >
> > error_log logs/error.log crit;
> >
> >
> > 2008/8/1 baalchina <baalchina at gmail.com <mailto:baalchina at gmail.com>>
> >
> >     Hi, everyone.
> >
> >     I am using an nginx 0.6.32 and apache2 in a CentOS 4.4 server, running
> >     a php web forum. Apache listening in 127.0.0.1:81
> >     <http://127.0.0.1:81>, and nginx proxy php
> >     requests to apache.
> >
> >     I made my /usr/local 10g space. But I found the space is decreasing.
> >
> >     for example:
> >
> >
> >     [root at bbs ~]# df
> >     Filesystem 1K-blocks Used Available Use% Mounted on
> >     /dev/sda5 10317828 2161500 7632212 23% /
> >     /dev/sda1 101086 11318 84549 12% /boot
> >     /dev/sda7 541552520 268074680 245968540 53% /data
> >     none 2076724 0 2076724 0% /dev/shm
> >     /dev/sda2 10317860 9781764 11976 100% /usr/local
> >     /dev/sda3 10317860 210432 9583308 3% /var
> >     [root at bbs ~]#
> >
> >
> >     after 10 seconds
> >
> >
> >     [root at bbs ~]# df
> >     Filesystem 1K-blocks Used Available Use% Mounted on
> >     /dev/sda5 10317828 2161500 7632212 23% /
> >     /dev/sda1 101086 11318 84549 12% /boot
> >     /dev/sda7 541552520 268075128 245968092 53% /data
> >     none 2076724 0 2076724 0% /dev/shm
> >     /dev/sda2 10317860 9781888 11852 100% /usr/local
> >     /dev/sda3 10317860 210432 9583308 3% /var
> >
> >
> >     Look at the available space of /usr/local.
> >
> >     And after a while, available space of /usr/local is 0, my forum begin
> >     has some problem, for example, can not upload images.
> >
> >     It is strange that, when I using du command:
> >
> >     #du -ch /usr/local
> >
> >     219M /usr/local/
> >     219M total
> >
> >     All file size in my /usr/local is 219M??
> >
> >
> >
> >     Somebody told me to restart apache and nginx, I did, and then df , I
> >     found that....
> >
> >     /dev/sda2 10317860 262264 9531476 3% /usr/local
> >
> >     So, my space had come back.
> >
> >     BTW, I changed my apache and nginx temp and logs directories to
> >     another directory rather than /usr/local. so I think it's not the logs
> >     or temp cause this problem.
> >
> >     BTW2, I am using https in a little site, can https cause this problem?
> >
> >     Thanks a lot.
> >
> >
> >
> >     --
> >     from:baalchina
> >
> >
> >
> >
> > -- 
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > ??????
> > ????????????????(????)???????? ???????? ??????
> > Email: jiaosq at mail.51.com <mailto:jiaosq at mail.51.com>
> 
> 
> -- 
> ------------------------------------------------------
> Tony.Ho ??????
> 
> ??????????????????????????
> Zoom Consult Limited
> Tel: 86 21 52410977  602
> Fax: 86 21 52410978
> Mobile:15821060266
> Email: tony_ho at zoomconsult.com
> ------------------------------------------------------
> 





More information about the nginx mailing list