On Sun, Sep 06, 2009 at 10:32:06AM -0400, ronin wrote:
error info:
Warning: REQUEST_BODY_FILE: open(’/dev/shm/client_body_temp/0000000002’) failed: No such file or directory (2) in Unknown on line 0
Who show this error ?
BTW, does Linux allow to create subdirectories in /dev/shm ?
Yes:
[root@saturn ~]# uname -sr
Linux 2.6.18-128.2.1.el5
[root@saturn ~]# mount
/dev/sda1 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
/dev/sdb1 on /falcon type ext2 (rw,noatime)
[root@saturn ~]# ls /dev/shm
[root@saturn ~]# mkdir /dev/shm/test
[root@saturn ~]# ls /dev/shm
test
[root@saturn ~]# touch /dev/shm/test/testfile
[root@saturn ~]# ls -lR /dev/shm
/dev/shm:
total 0
drwxr-xr-x 2 root root 60 Sep 6 13:41 test
First, you do not need
–with-md5=/usr/lib --with-sha1=/usr/lib
since
–with-md5=DIR set path to md5 library sources
–with-sha1=DIR set path to sha1 library sources
Second, “/dev/shm/…” files are files in memory. There is no sense to
create temporary files in memory. If you have a lot of memory, it’s
better
to increase client_body_buffer_size, number of fastcgi_buffers, etc.,
and to leave really large temporary files on disk.