<div dir="ltr">check the nginx.conf :<br><br>error_log logs/error.log crit;<br><br><br><div class="gmail_quote">2008/8/1 baalchina <span dir="ltr"><<a href="mailto:baalchina@gmail.com">baalchina@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi, everyone.<br>
<br>
I am using an nginx 0.6.32 and apache2 in a CentOS 4.4 server, running<br>
a php web forum. Apache listening in <a href="http://127.0.0.1:81" target="_blank">127.0.0.1:81</a>, and nginx proxy php<br>
requests to apache.<br>
<br>
I made my /usr/local 10g space. But I found the space is decreasing.<br>
<br>
for example:<br>
<br>
<br>
[root@bbs ~]# df<br>
Filesystem 1K-blocks Used Available Use% Mounted on<br>
/dev/sda5 10317828 2161500 7632212 23% /<br>
/dev/sda1 101086 11318 84549 12% /boot<br>
/dev/sda7 541552520 268074680 245968540 53% /data<br>
none 2076724 0 2076724 0% /dev/shm<br>
/dev/sda2 10317860 9781764 11976 100% /usr/local<br>
/dev/sda3 10317860 210432 9583308 3% /var<br>
[root@bbs ~]#<br>
<br>
<br>
after 10 seconds<br>
<br>
<br>
[root@bbs ~]# df<br>
Filesystem 1K-blocks Used Available Use% Mounted on<br>
/dev/sda5 10317828 2161500 7632212 23% /<br>
/dev/sda1 101086 11318 84549 12% /boot<br>
/dev/sda7 541552520 268075128 245968092 53% /data<br>
none 2076724 0 2076724 0% /dev/shm<br>
/dev/sda2 10317860 9781888 11852 100% /usr/local<br>
/dev/sda3 10317860 210432 9583308 3% /var<br>
<br>
<br>
Look at the available space of /usr/local.<br>
<br>
And after a while, available space of /usr/local is 0, my forum begin<br>
has some problem, for example, can not upload images.<br>
<br>
It is strange that, when I using du command:<br>
<br>
#du -ch /usr/local<br>
<br>
219M /usr/local/<br>
219M total<br>
<br>
All file size in my /usr/local is 219M。<br>
<br>
<br>
<br>
Somebody told me to restart apache and nginx, I did, and then df , I<br>
found that....<br>
<br>
/dev/sda2 10317860 262264 9531476 3% /usr/local<br>
<br>
So, my space had come back.<br>
<br>
BTW, I changed my apache and nginx temp and logs directories to<br>
another directory rather than /usr/local. so I think it's not the logs<br>
or temp cause this problem.<br>
<br>
BTW2, I am using https in a little site, can https cause this problem?<br>
<br>
Thanks a lot.<br>
<font color="#888888"><br>
<br>
<br>
--<br>
from:baalchina<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>焦胜强<br>升东网络科技发展(上海)有限公司 运维中心 存储组<br>Email: <a href="mailto:jiaosq@mail.51.com">jiaosq@mail.51.com</a><br>
</div>