странное сообщение в /var/log/messages
Vasiliy G Tolstov
v.tolstov at selfip.ru
Wed Mar 19 14:38:39 MSK 2008
On Wed, 2008-03-19 at 13:00 +0300, Igor Sysoev wrote:
> Можно запустить nginx под truss/etc и показать
>
> grep -10 uname <truss_output>
tmp получен был через strace -f nginx
selfip ~ # grep -10 uname tmp
munmap(0xb7f95000, 4096) = 0
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=31247, ...}) = 0
mmap2(NULL, 31247, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f8e000
close(3) = 0
open("/lib/libz.so", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\24YG4\0\0
\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=73192, ...}) = 0
close(3) = 0
munmap(0xb7f8e000, 31247) = 0
uname({sys="Linux", node="selfip", ...}) = 0
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
open("/etc/nginx/nginx.conf", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=2348, ...}) = 0
pread64(3, "user nginx users;\nworker_process"..., 4096, 0) = 2348
geteuid32() = 0
socket(PF_FILE, SOCK_STREAM, 0) = 4
fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1
ENOENT (No such file or directory)
close(4) = 0
socket(PF_FILE, SOCK_STREAM, 0) = 4
--
Vasiliy G Tolstov
http://selfip.ru
More information about the nginx-ru
mailing list