Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Master процесс nginx 0.6.38 съедае т всю доступную память
Доброе утро!
Снова воспроизвелось на 0.6.38 и очень красиво воспроизвелось :)
ioctl(24, FIONBIO, [1]) = 0
ioctl(23, FIOASYNC, [1]) = 0
fcntl(23, F_SETOWN, 15402) = 0
fcntl(23, F_SETFD, FD_CLOEXEC) = 0
fcntl(24, F_SETFD, FD_CLOEXEC) = 0
clone(child_stack=0,
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0x2b0d4080d360) = 10365
sendmsg(19, {msg_name(0)=NULL,
msg_iov(1)=[{"\1\0\0\0\0\0\0\0}(\0\0\0\0\0\0\4\0\0\0\0\0\0\0\27\0\0\0\0`\335\250",
32}], msg_controllen=24, {cmsg_len=20, cmsg_level=SOL_SOCKET,
cmsg_type=SCM_RIGHTS, {23}}, msg_flags=0}, 0) = 32
sendmsg(13, {msg_name(0)=NULL,
msg_iov(1)=[{"\1\0\0\0\0\0\0\0}(\0\0\0\0\0\0\4\0\0\0\0\0\0\0\27\0\0\0\0`\335\250",
32}], msg_controllen=24, {cmsg_len=20, cmsg_level=SOL_SOCKET,
cmsg_type=SCM_RIGHTS, {23}}, msg_flags=0}, 0) = 32
sendmsg(15, {msg_name(0)=NULL,
msg_iov(1)=[{"\1\0\0\0\0\0\0\0}(\0\0\0\0\0\0\4\0\0\0\0\0\0\0\27\0\0\0\0`\335\250",
32}], msg_controllen=24, {cmsg_len=20, cmsg_level=SOL_SOCKET,
cmsg_type=SCM_RIGHTS, {23}}, msg_flags=0}, 0) = 32
sendmsg(21, {msg_name(0)=NULL,
msg_iov(1)=[{"\1\0\0\0\0\0\0\0}(\0\0\0\0\0\0\4\0\0\0\0\0\0\0\27\0\0\0\0`\335\250",
32}], msg_controllen=24, {cmsg_len=20, cmsg_level=SOL_SOCKET,
cmsg_type=SCM_RIGHTS, {23}}, msg_flags=0}, 0) = 32
sendmsg(880, {msg_name(0)=NULL,
msg_iov(1)=[{"\1\0\0\0\0\0\0\0}(\0\0\0\0\0\0\4\0\0\0\0\0\0\0\27\0\0\0\0`\335\250",
32}], msg_controllen=24, {cmsg_len=20, cmsg_level=SOL_SOCKET,
cmsg_type=SCM_RIGHTS, {23}}, msg_flags=0}, 0) = 32
sendmsg(11, {msg_name(0)=NULL,
msg_iov(1)=[{"\1\0\0\0\0\0\0\0}(\0\0\0\0\0\0\4\0\0\0\0\0\0\0\27\0\0\0\0`\335\250",
32}], msg_controllen=24, {cmsg_len=20, cmsg_level=SOL_SOCKET,
cmsg_type=SCM_RIGHTS, {23}}, msg_flags=0}, 0) = 32
sendmsg(19, {msg_name(0)=NULL,
msg_iov(1)=[{"\3\0\0\0\0\0\0\0}(\0\0\0\0\0\0\4\0\0\0\0\0\0\0\377\377\377\377\0`\335\250",
32}], msg_controllen=0, msg_flags=0}, 0) = 32
sendmsg(21, {msg_name(0)=NULL,
msg_iov(1)=[{"\3\0\0\0\0\0\0\0}(\0\0\0\0\0\0\4\0\0\0\0\0\0\0\377\377\377\377\0`\335\250",
32}], msg_controllen=0, msg_flags=0}, 0) = 32
sendmsg(880, {msg_name(0)=NULL,
msg_iov(1)=[{"\3\0\0\0\0\0\0\0}(\0\0\0\0\0\0\4\0\0\0\0\0\0\0\377\377\377\377\0`\335\250",
32}], msg_controllen=0, msg_flags=0}, 0) = 32
rt_sigsuspend([]) = ? ERESTARTNOHAND (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
gettimeofday({1253118666, 895481}, NULL) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 24883
wait4(-1, 0x7fff6a2a6514, WNOHANG, NULL) = 0
rt_sigreturn(0xffffffffffffffff) = -1 EINTR (Interrupted system call)
gettimeofday({1253118666, 895739}, NULL) = 0
close(21) = 0
close(22) = 0
sendmsg(19, {msg_name(0)=NULL,
msg_iov(1)=[{"\2\0\0\0\0\0\0\0003a\0\0\0\0\0\0\3\0\0\0\0\0\0\0\377\377\377\377\0\0\0\0",
32}], msg_controllen=0, msg_flags=0}, 0) = 32
sendmsg(13, {msg_name(0)=NULL,
msg_iov(1)=[{"\2\0\0\0\0\0\0\0003a\0\0\0\0\0\0\3\0\0\0\0\0\0\0\377\377\377\377\0\0\0\0",
32}], msg_controllen=0, msg_flags=0}, 0) = 32
sendmsg(15, {msg_name(0)=NULL,
msg_iov(1)=[{"\2\0\0\0\0\0\0\0003a\0\0\0\0\0\0\3\0\0\0\0\0\0\0\377\377\377\377\0\0\0\0",
32}], msg_controllen=0, msg_flags=0}, 0) = 32
sendmsg(23, {msg_name(0)=NULL,
msg_iov(1)=[{"\2\0\0\0\0\0\0\0003a\0\0\0\0\0\0\3\0\0\0\0\0\0\0\377\377\377\377\0\0\0\0",
32}], msg_controllen=0, msg_flags=0}, 0) = 32
sendmsg(880, {msg_name(0)=NULL,
msg_iov(1)=[{"\2\0\0\0\0\0\0\0003a\0\0\0\0\0\0\3\0\0\0\0\0\0\0\377\377\377\377\0\0\0\0",
32}], msg_controllen=0, msg_flags=0}, 0) = 32
sendmsg(11, {msg_name(0)=NULL,
msg_iov(1)=[{"\2\0\0\0\0\0\0\0003a\0\0\0\0\0\0\3\0\0\0\0\0\0\0\377\377\377\377\0\0\0\0",
32}], msg_controllen=0, msg_flags=0}, 0) = 32
rt_sigsuspend([]) = ? ERESTARTNOHAND (To be restarted)
--- SIGIO (I/O possible) @ 0 (0) ---
gettimeofday({1253118666, 896673}, NULL) = 0
rt_sigreturn(0x7fff6a2a64b0) = -1 EINTR (Interrupted system call)
gettimeofday({1253118666, 896788}, NULL) = 0
rt_sigsuspend([]) = ? ERESTARTNOHAND (To be restarted)
--- SIGHUP (Hangup) @ 0 (0) ---
gettimeofday({1253118667, 649143}, NULL) = 0
rt_sigreturn(0x667b29) = -1 EINTR (Interrupted system call)
gettimeofday({1253118667, 649273}, NULL) = 0
uname({sys="Linux", node="server4.hosting.reg.ru", ...}) = 0
open("/etc/nginx/nginx.conf", O_RDONLY) = 21
fstat(21, {st_mode=S_IFREG|0640, st_size=1023752, ...}) = 0
pread(21, "################################"..., 4096, 0) = 4096
geteuid() = 0
open("/etc/passwd", O_RDONLY) = 22
fcntl(22, F_GETFD) = 0
fcntl(22, F_SETFD, FD_CLOEXEC) = 0
fstat(22, {st_mode=S_IFREG|0644, st_size=97838, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2b0d40801000
read(22, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 4096
close(22) = 0
munmap(0x2b0d40801000, 4096) = 0
open("/etc/group", O_RDONLY) = 22
fcntl(22, F_GETFD) = 0
fcntl(22, F_SETFD, FD_CLOEXEC) = 0
fstat(22, {st_mode=S_IFREG|0644, st_size=16375, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2b0d40801000
read(22, "root:x:0:root\nbin:x:1:root,bin,d"..., 4096) = 4096
read(22, "user_0000403468,user_0000403575,"..., 4096) = 4096
close(22) = 0
munmap(0x2b0d40801000, 4096) = 0
epoll_create(100) = 22
close(22) = 0
open("/etc/nginx/mime.types", O_RDONLY) = 22
fstat(22, {st_mode=S_IFREG|0644, st_size=2991, ...}) = 0
pread(22, "\ntypes {\n text/html "..., 4096, 0) = 2991
close(22) = 0
open("/etc/nginx/conf.d", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 22
fstat(22, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
fcntl(22, F_SETFD, FD_CLOEXEC) = 0
getdents(22, /* 5 entries */, 4096) = 152
getdents(22, /* 0 entries */, 4096) = 0
close(22) = 0
open("/etc/nginx/conf.d/upstream-fair.conf", O_RDONLY) = 22
fstat(22, {st_mode=S_IFREG|0644, st_size=370, ...}) = 0
pread(22, "#\n# This is a sample configurati"..., 4096, 0) = 370
close(22) = 0
open("/etc/nginx/conf.d/virtual.conf", O_RDONLY) = 22
fstat(22, {st_mode=S_IFREG|0644, st_size=283, ...}) = 0
pread(22, "#\n# A virtual host using mix of "..., 4096, 0) = 283
close(22) = 0
open("/etc/nginx/conf.d/ssl.conf", O_RDONLY) = 22
fstat(22, {st_mode=S_IFREG|0644, st_size=466, ...}) = 0
pread(22, "#\n# HTTPS server configuration\n#"..., 4096, 0) = 466
close(22) = 0
pread(21, "set_header X-Forwarded-For $prox"..., 4090, 4096) = 4090
pread(21, "/httpd-logs/inter-servise.ru.acc"..., 4088, 8186) = 4088
pread(21, "\t\t\tproxy_redirect http://e-dn.ru"..., 4095, 12274) = 4095
pread(21, "g|svg|js|css|mp3|ogg|mpe?g|avi|z"..., 4075, 16369) = 4075
pread(21, "_header Host $host;\n\t\t\tproxy_set"..., 4087, 20444) = 4087
pread(21, "tps://$host$1\tpermanent;\n\t\tlocat"..., 4094, 24531) = 4094
pread(21, "proxy_set_header X-Real-IP $remo"..., 4092, 28625) = 4092
pread(21, "ar/www/user_0000381792/data/www/"..., 4094, 32717) = 4094
pread(21, "\t\t\tproxy_set_header Host $host;\n"..., 4095, 36811) = 4095
pread(21, "\n\t\t\terror_page 403 = @fallback;\n"..., 4096, 40906) = 4096
pread(21, "ta/www/la2imagination.com\";\n\t\t\ti"..., 4069, 45002) = 4069
pread(21, "ge 404 = @fallback;\n\t\t\tdeny all;"..., 4088, 49071) = 4088
pread(21, "on / {\n\t\t\tproxy_pass http://87.2"..., 4090, 53159) = 4090
pread(21, "d_x_forwarded_for;\n\t\t\tproxy_set_"..., 4087, 57249) = 4087
pread(21, "rded_for;\n\t\t\tproxy_set_header X-"..., 4078, 61336) = 4078
pread(21, "ck {\n\t\t\tproxy_pass http://87.242"..., 4089, 65414) = 4089
pread(21, "t;\n\t\t\tproxy_set_header X-Forward"..., 4092, 69503) = 4092
pread(21, "permanent;\n\t\tlocation ~* ^/(webs"..., 4080, 73595) = 4080
pread(21, "|jpeg|gif|png|svg|js|css|mp3|ogg"..., 4087, 77675) = 4087
pread(21, "awstats|webmail/|myadmin/|manimg"..., 4084, 81762) = 4084
pread(21, "g|avi|zip|gz|bz2?|rar)$ {\n\t\t\troo"..., 4050, 85846) = 4050
pread(21, "set_header X-Forwarded-For $prox"..., 4090, 89896) = 4090
pread(21, "\n\t\t\terror_page 404 = @fallback;\n"..., 4096, 93986) = 4096
pread(21, "http://87.242.78.188:8080;\n\t\t\tpr"..., 4085, 98082) = 4085
pread(21, "back {\n\t\t\tproxy_pass http://87.2"..., 4091, 102167) = 4091
pread(21, "direct http://foresight-group.ne"..., 4088, 106258) = 4088
pread(21, "8.188:8080;\n\t\t\tproxy_set_header "..., 4081, 110346) = 4081
pread(21, "mote_addr;\n\t\t\terror_page 403 = @"..., 4093, 114427) = 4093
pread(21, ".ru;\n\t\t\taccess_log /var/www/http"..., 4052, 118520) = 4052
pread(21, "r X-Forwarded-For $proxy_add_x_f"..., 4081, 122572) = 4081
pread(21, "/leefstudio.com:8080/ /;\n\t\t\tprox"..., 4090, 126653) = 4090
pread(21, "www/httpd-logs/nebodonia.ru.acce"..., 4091, 130743) = 4091
pread(21, " {\n\t\t\tproxy_pass http://87.242.7"..., 4050, 134834) = 4050
pread(21, "svg|js|css|mp3|ogg|mpe?g|avi|zip"..., 4073, 138884) = 4073
pread(21, "}\n\tserver {\n\t\tlisten 87.242.78.1"..., 4094, 142957) = 4094
pread(21, "_addr;\n\t\t\terror_page 403 = @fall"..., 4089, 147051) = 4089
pread(21, "y_set_header X-Forwarded-For $pr"..., 4092, 151140) = 4092
pread(21, "roxy_set_header X-Real-IP $remot"..., 4095, 155232) = 4095
pread(21, "{\n\t\t\tproxy_pass http://87.242.78"..., 4049, 159327) = 4049
pread(21, "\tproxy_set_header Host $host;\n\t\t"..., 4093, 163376) = 4093
pread(21, " http://87.242.78.188:8080;\n\t\t\tp"..., 4086, 167469) = 4086
pread(21, "ack;\n\t\t}\n\t\tlocation @fallback {\n"..., 4090, 171555) = 4090
pread(21, "ent;\n\t\tlocation ~* ^/(webstat/|a"..., 4090, 175645) = 4090
pread(21, "tp://87.242.78.188:8080;\n\t\t\tprox"..., 4094, 179735) = 4094
pread(21, "\t\taccess_log /var/www/httpd-logs"..., 4094, 183829) = 4094
pread(21, "header X-Real-IP $remote_addr;\n\t"..., 4086, 187923) = 4086
pread(21, "e_addr;\n\t\t}\n\t\tlocation / {\n\t\t\tpr"..., 4090, 192009) = 4090
pread(21, "t $host;\n\t\t\tproxy_set_header X-F"..., 4093, 196099) = 4093
pread(21, " /;\n\t\t\tproxy_set_header Host $ho"..., 4069, 200192) = 4069
pread(21, ".org www.imgar.org *.imgar.org;\n"..., 4091, 204261) = 4091
pread(21, "42.78.188:8080;\n\t\t\tproxy_redirec"..., 4085, 208352) = 4085
pread(21, "{\n\t\tlisten 87.242.78.188:80;\n\t\ts"..., 4089, 212437) = 4089
pread(21, "in/|manimg/) {\n\t\t\tproxy_pass htt"..., 4062, 216526) = 4062
pread(21, " @fallback;\n\t\t\tdeny all;\n\t\t}\n\t\tl"..., 4095, 220588) = 4095
pread(21, "proot /var/www/user_0000397686/d"..., 4095, 224683) = 4095
pread(21, " $host;\n\t\t\tproxy_set_header X-Fo"..., 4092, 228778) = 4092
pread(21, "000393719/data/www/a.kchiuk-game"..., 4081, 232870) = 4081
pread(21, ".188:8080;\n\t\t\tproxy_set_header H"..., 4080, 236951) = 4080
pread(21, "8.188:8080;\n\t\t\tproxy_redirect ht"..., 4081, 241031) = 4081
pread(21, "ru;\n\t\t\taccess_log /var/www/httpd"..., 4050, 245112) = 4050
pread(21, "oxy_pass http://87.242.78.188:80"..., 4094, 249162) = 4094
pread(21, "\n\t\t\t}\n\t\t\tif ( $host = \"www.rilak"..., 4096, 253256) = 4096
pread(21, "server_name fczenit-chel.co.cc w"..., 4093, 257352) = 4093
pread(21, "xy_add_x_forwarded_for;\n\t\t\tproxy"..., 4092, 261445) = 4092
pread(21, "radioavtomatika.com;\n\t\t\taccess_l"..., 4058, 265537) = 4058
pread(21, "\t\tlocation ~* ^/(webstat/|awstat"..., 4095, 269595) = 4095
pread(21, "t_header Host $host;\n\t\t\tproxy_se"..., 4088, 273690) = 4088
pread(21, "rite\t^(/manager/.*)$\thttps://$ho"..., 4093, 277778) = 4093
pread(21, "r X-Forwarded-For $proxy_add_x_f"..., 4081, 281871) = 4081
pread(21, "3|ogg|mpe?g|avi|zip|gz|bz2?|rar)"..., 4060, 285952) = 4060
pread(21, "02843/data/www/utopia-guild.ru;\n"..., 4077, 290012) = 4077
pread(21, "\tlocation ~* ^/(webstat/|awstats"..., 4094, 294089) = 4094
pread(21, "+\\.(jpg|jpeg|gif|png|svg|js|css|"..., 4094, 298183) = 4094
pread(21, "proxy_set_header Host $host;\n\t\t\t"..., 4092, 302277) = 4092
pread(21, "p://87.242.78.188:8080;\n\t\t\tproxy"..., 4093, 306369) = 4093
pread(21, "n 87.242.78.188:80;\n\t\tserver_nam"..., 4091, 310462) = 4091
pread(21, ".78.188:8080;\n\t\t\tproxy_redirect "..., 4083, 314553) = 4083
pread(21, ":8080/ /;\n\t\t\tproxy_set_header Ho"..., 4072, 318636) = 4072
pread(21, "\tproxy_set_header X-Real-IP $rem"..., 4093, 322708) = 4093
pread(21, "n ~* ^.+\\.(jpg|jpeg|gif|png|svg|"..., 4089, 326801) = 4089
pread(21, "roxy_set_header X-Real-IP $remot"..., 4095, 330890) = 4095
pread(21, " ^.+\\.(jpg|jpeg|gif|png|svg|js|c"..., 4094, 334985) = 4094
pread(21, "p://flipzg.com:8080/ /;\n\t\t\tproxy"..., 4093, 339079) = 4093
pread(21, "xy_set_header Host $host;\n\t\t\tpro"..., 4093, 343172) = 4093
pread(21, "set_header Host $host;\n\t\t\tproxy_"..., 4090, 347265) = 4090
pread(21, "ost;\n\t\t\tproxy_set_header X-Forwa"..., 4094, 351355) = 4094
pread(21, "roxy_pass http://87.242.78.188:8"..., 4095, 355449) = 4095
pread(21, "forwarded_for;\n\t\t\tproxy_set_head"..., 4083, 359544) = 4083
pread(21, "r Host $host;\n\t\t\tproxy_set_heade"..., 4081, 363627) = 4081
pread(21, "/ /;\n\t\t\tproxy_set_header Host $h"..., 4066, 367708) = 4066
pread(21, "troim.ru www.stroy-stroim.ru;\n\t\t"..., 4089, 371774) = 4089
pread(21, "$proxy_add_x_forwarded_for;\n\t\t\tp"..., 4080, 375863) = 4080
pread(21, "webmail/|myadmin/|manimg/) {\n\t\t\t"..., 4076, 379943) = 4076
pread(21, "ar/www/user_0000393409/data/www/"..., 4094, 384019) = 4094
pread(21, " {\n\t\t\tproxy_pass http://87.242.7"..., 4087, 388113) = 4087
pread(21, "_forwarded_for;\n\t\t\tproxy_set_hea"..., 4084, 392200) = 4084
pread(21, "_forwarded_for;\n\t\t\tproxy_set_hea"..., 4084, 396284) = 4084
pread(21, "* ^.+\\.(jpg|jpeg|gif|png|svg|js|"..., 4095, 400368) = 4095
pread(21, "tat/|awstats|webmail/|myadmin/|m"..., 4089, 404463) = 4089
pread(21, "ov-remont.ru;\n\t\trewrite\t^(/manag"..., 4085, 408552) = 4085
pread(21, "et_header Host $host;\n\t\t\tproxy_s"..., 4089, 412637) = 4089
pread(21, "http://87.242.78.188:8080;\n\t\t\tpr"..., 4085, 416726) = 4085
pread(21, "oxy_pass http://87.242.78.188:80"..., 4094, 420811) = 4094
pread(21, "s|css|mp3|ogg|mpe?g|avi|zip|gz|b"..., 4068, 424905) = 4068
pread(21, "ddr;\n\t\t}\n\t\tlocation ~* ^.+\\.(jpg"..., 4087, 428973) = 4087
pread(21, "\tpermanent;\n\t\tlocation ~* ^/(web"..., 4081, 433060) = 4081
pread(21, "oxy_set_header X-Real-IP $remote"..., 4094, 437141) = 4094
pread(21, "ded_for;\n\t\t\tproxy_set_header X-R"..., 4077, 441235) = 4077
pread(21, "et_header X-Real-IP $remote_addr"..., 4089, 445312) = 4089
pread(21, "m;\n\t\trewrite\t^(/manager/.*)$\thtt"..., 4081, 449401) = 4081
pread(21, "header X-Real-IP $remote_addr;\n\t"..., 4086, 453482) = 4086
pread(21, "ptorg.ru;\n\t\trewrite\t^(/manager/."..., 4091, 457568) = 4091
pread(21, "http://stepss.ru:8080/ /;\n\t\t\tpro"..., 4081, 461659) = 4081
pread(21, "ge 404 = @fallback;\n\t\t\tdeny all;"..., 4088, 465740) = 4088
pread(21, ".raboraem.ru;\n\t\trewrite\t^(/manag"..., 4093, 469828) = 4093
pread(21, "xy_add_x_forwarded_for;\n\t\t\tproxy"..., 4092, 473921) = 4092
pread(21, "\n\t\t\tdeny all;\n\t\t}\n\t\tlocation @fa"..., 4096, 478013) = 4096
pread(21, "ttps://$host$1\tpermanent;\n\t\tloca"..., 4095, 482109) = 4095
pread(21, "te_addr;\n\t\t\terror_page 403 = @fa"..., 4091, 486204) = 4091
pread(21, "kacino.ru;\n\t\t\taccess_log /var/ww"..., 4062, 490295) = 4062
pread(21, "server_name lovesonya.ru www.lov"..., 4093, 494357) = 4093
pread(21, "back;\n\t\t\tdeny all;\n\t\t}\n\t\tlocatio"..., 4091, 498450) = 4091
pread(21, " {\n\t\t\tproxy_pass http://87.242.7"..., 4087, 502541) = 4087
pread(21, ":8080;\n\t\t\tproxy_redirect http://"..., 4076, 506628) = 4076
pread(21, "\tserver_name ttktransoil.ru www."..., 4094, 510704) = 4094
pread(21, "ed_for;\n\t\t\tproxy_set_header X-Re"..., 4076, 514798) = 4076
pread(21, "freeconstruct.ru.access.log;\n\t\t\t"..., 4076, 518874) = 4076
pread(21, "\n\t\trewrite\t^(/manager/.*)$\thttps"..., 4096, 522950) = 4096
pread(21, "_pass http://87.242.78.188:8080;"..., 4091, 527046) = 4091
pread(21, "\n\t\t\tproxy_set_header X-Forwarded"..., 4096, 531137) = 4096
pread(21, "t;\n\t\t\tproxy_set_header X-Forward"..., 4092, 535233) = 4092
pread(21, "ten 87.242.78.188:80;\n\t\tserver_n"..., 4093, 539325) = 4093
pread(21, "al-IP $remote_addr;\n\t\t\terror_pag"..., 4092, 543418) = 4092
pread(21, "zip|gz|bz2?|rar)$ {\n\n\t\t\taccess_l"..., 4044, 547510) = 4044
pread(21, "set_header Host $host;\n\t\t\tproxy_"..., 4090, 551554) = 4090
pread(21, ":8080;\n\t\t\tproxy_redirect http://"..., 4076, 555644) = 4076
pread(21, ";\n\n\n\n\n\t\t\troot /var/www/user_0000"..., 4087, 559720) = 4087
pread(21, "arded_for;\n\t\t\tproxy_set_header X"..., 4079, 563807) = 4079
pread(21, "e 404 = @fallback;\n\t\t\tdeny all;\n"..., 4087, 567886) = 4087
pread(21, "snashka.net:8080/ /;\n\t\t\tproxy_se"..., 4086, 571973) = 4086
pread(21, "|ogg|mpe?g|avi|zip|gz|bz2?|rar)$"..., 4059, 576059) = 4059
pread(21, "ats|webmail/|myadmin/|manimg/) {"..., 4080, 580118) = 4080
pread(21, "/www/user_0000382209/data/www/si"..., 4092, 584198) = 4092
pread(21, "\tpermanent;\n\t\tlocation ~* ^/(web"..., 4081, 588290) = 4081
pread(21, "ps://$host$1\tpermanent;\n\t\tlocati"..., 4093, 592371) = 4093
pread(21, "\terror_page 404 = @fallback;\n\n\n\n"..., 4093, 596464) = 4093
pread(21, "\t\t\tproxy_set_header Host $host;\n"..., 4095, 600557) = 4095
pread(21, "allback;\n\t\t\terror_page 404 = @fa"..., 4094, 604652) = 4094
pread(21, "oxy_pass http://87.242.78.188:80"..., 4094, 608746) = 4094
pread(21, "t /var/www/user_0000399420/data/"..., 4093, 612840) = 4093
pread(21, "t_header X-Forwarded-For $proxy_"..., 4088, 616933) = 4088
pread(21, "= @fallback;\n\t\t}\n\t\tlocation @fal"..., 4092, 621021) = 4092
pread(21, "y_set_header Host $host;\n\t\t\tprox"..., 4092, 625113) = 4092
pread(21, "\n\t\t}\n\t\tlocation ~* ^.+\\.(jpg|jpe"..., 4096, 629205) = 4096
pread(21, "\tserver {\n\t\tlisten 87.242.78.188"..., 4095, 633301) = 4095
pread(21, "mpe?g|avi|zip|gz|bz2?|rar)$ {\n\t\t"..., 4054, 637396) = 4054
pread(21, "orwarded-For $proxy_add_x_forwar"..., 4093, 641450) = 4093
pread(21, "er X-Forwarded-For $proxy_add_x_"..., 4082, 645543) = 4082
pread(21, "-Forwarded-For $proxy_add_x_forw"..., 4095, 649625) = 4095
pread(21, "nimg/) {\n\t\t\tproxy_pass http://87"..., 4056, 653720) = 4056
pread(21, "forwarded_for;\n\t\t\tproxy_set_head"..., 4083, 657776) = 4083
pread(21, "ail/|myadmin/|manimg/) {\n\t\t\tprox"..., 4072, 661859) = 4072
pread(21, "g;\n\t\t\terror_page 404 = @fallback"..., 4052, 665931) = 4052
pread(21, "tp://87.242.78.188:8080;\n\t\t\tprox"..., 4094, 669983) = 4094
pread(21, "r/.*)$\thttps://$host$1\tpermanent"..., 4087, 674077) = 4087
pread(21, "ist-podolie.ru;\n\t\t\taccess_log /v"..., 4059, 678164) = 4059
pread(21, "et_header X-Forwarded-For $proxy"..., 4089, 682223) = 4089
pread(21, "eal-IP $remote_addr;\n\t\t}\n\t}\n\tser"..., 4093, 686312) = 4093
pread(21, "mote_addr;\n\t\t}\n\t\tlocation / {\n\t\t"..., 4093, 690405) = 4093
pread(21, "u;\n\t\trewrite\t^(/manager/.*)$\thtt"..., 4083, 694498) = 4083
pread(21, "/www/httpd-logs/ugol99.ru.access"..., 4092, 698581) = 4092
pread(21, "242.78.188:8080;\n\t\t\tproxy_redire"..., 4086, 702673) = 4086
pread(21, "78.188:80;\n\t\tserver_name avto177"..., 4089, 706759) = 4089
pread(21, ";\n\t\t}\n\t\tlocation ~* ^.+\\.(jpg|jp"..., 4084, 710848) = 4084
pread(21, "dmin/|manimg/) {\n\t\t\tproxy_pass h"..., 4064, 714932) = 4064
pread(21, "87/data/www/newliteratura.com;\n\t"..., 4074, 718996) = 4074
pread(21, "ded_for;\n\t\t\tproxy_set_header X-R"..., 4077, 723070) = 4077
pread(21, "oxy_add_x_forwarded_for;\n\t\t\tprox"..., 4093, 727147) = 4093
pread(21, "_for;\n\t\t\tproxy_set_header X-Real"..., 4074, 731240) = 4074
pread(21, "mg/) {\n\t\t\tproxy_pass http://87.2"..., 4054, 735314) = 4054
pread(21, "e 404 = @fallback;\n\t\t}\n\t\tlocatio"..., 4087, 739368) = 4087
pread(21, "_header X-Forwarded-For $proxy_a"..., 4087, 743455) = 4087
pread(21, "proxy_set_header Host $host;\n\t\t\t"..., 4092, 747542) = 4092
pread(21, "^(/manager/.*)$\thttps://$host$1\t"..., 4088, 751634) = 4088
pread(21, "g.ru;\n\t\t\taccess_log /var/www/htt"..., 4057, 755722) = 4057
pread(21, "\thttps://$host$1\tpermanent;\n\t\tlo"..., 4081, 759779) = 4081
pread(21, " {\n\t\t\troot /var/www/user_0000481"..., 4027, 763860) = 4027
pread(21, "\tproxy_set_header X-Forwarded-Fo"..., 4093, 767887) = 4093
pread(21, "\t\tproxy_set_header Host $host;\n\t"..., 4094, 771980) = 4094
pread(21, "proxy_set_header Host $host;\n\t\t\t"..., 4092, 776074) = 4092
pread(21, "permanent;\n\t\tlocation ~* ^/(webs"..., 4080, 780166) = 4080
pread(21, "var/www/httpd-logs/neogen-fund.c"..., 4095, 784246) = 4095
pread(21, "ader X-Real-IP $remote_addr;\n\t\t}"..., 4084, 788341) = 4084
pread(21, "proxy_add_x_forwarded_for;\n\t\t\tpr"..., 4095, 792425) = 4095
pread(21, "roxy_add_x_forwarded_for;\n\t\t\tpro"..., 4094, 796520) = 4094
pread(21, "manager/.*)$\thttps://$host$1\tper"..., 4093, 800614) = 4093
pread(21, " /var/www/user_0000481922/data/w"..., 4092, 804707) = 4092
pread(21, "oxy_set_header X-Forwarded-For $"..., 4094, 808799) = 4094
pread(21, "roxy_pass http://87.242.78.188:8"..., 4095, 812893) = 4095
pread(21, "l-IP $remote_addr;\n\t\t}\n\t\tlocatio"..., 4091, 816988) = 4091
pread(21, ";\n\t\t\tproxy_set_header X-Forwarde"..., 4091, 821079) = 4091
pread(21, "oxy_set_header X-Real-IP $remote"..., 4094, 825170) = 4094
pread(21, "rite\t^(/manager/.*)$\thttps://$ho"..., 4093, 829264) = 4093
pread(21, "og /var/www/httpd-logs/kmvpro.co"..., 4088, 833357) = 4088
pread(21, "_x_forwarded_for;\n\t\t\tproxy_set_h"..., 4086, 837445) = 4086
pread(21, "-Forwarded-For $proxy_add_x_forw"..., 4095, 841531) = 4095
pread(21, "der X-Forwarded-For $proxy_add_x"..., 4083, 845626) = 4083
pread(21, "img/) {\n\t\t\tproxy_pass http://87."..., 4055, 849709) = 4055
pread(21, "}\n\t\tlocation @fallback {\n\t\t\tprox"..., 4093, 853764) = 4093
pread(21, "://handsaw.ru:8080/ /;\n\t\t\tproxy_"..., 4092, 857857) = 4092
pread(21, " www.house8.arhvol.net;\n\t\trewrit"..., 4079, 861949) = 4079
pread(21, "jpg|jpeg|gif|png|svg|js|css|mp3|"..., 4090, 866028) = 4090
pread(21, "-Real-IP $remote_addr;\n\t\t}\n\t}\n\ts"..., 4095, 870118) = 4095
pread(21, "-IP $remote_addr;\n\t\t}\n\t\tlocation"..., 4090, 874213) = 4090
pread(21, "42.78.188:8080;\n\t\t\tproxy_redirec"..., 4085, 878303) = 4085
pread(21, "g|svg|js|css|mp3|ogg|mpe?g|avi|z"..., 4075, 882388) = 4075
pread(21, "\tpermanent;\n\t\tlocation ~* ^/(web"..., 4081, 886463) = 4081
pread(21, "d-For $proxy_add_x_forwarded_for"..., 4086, 890544) = 4086
pread(21, "\thttps://$host$1\tpermanent;\n\t\tlo"..., 4081, 894630) = 4081
pread(21, " {\n\t\t\troot /var/www/user_0000478"..., 4027, 898711) = 4027
pread(21, "/fun-was.ru:8080/ /;\n\t\t\tproxy_se"..., 4090, 902738) = 4090
pread(21, "ogg|mpe?g|avi|zip|gz|bz2?|rar)$ "..., 4058, 906828) = 4058
pread(21, "emote_addr;\n\t\t}\n\t}\n\tserver {\n\t\tl"..., 4094, 910886) = 4094
pread(21, "X-Forwarded-For $proxy_add_x_for"..., 4079, 914980) = 4079
pread(21, "en 87.242.78.188:80;\n\t\tserver_na"..., 4092, 919059) = 4092
pread(21, "oot /var/www/user_0000316758/dat"..., 4095, 923151) = 4095
pread(21, "header X-Real-IP $remote_addr;\n\t"..., 4086, 927246) = 4086
pread(21, ".log;\n\t\t\terror_page 404 = @fallb"..., 4056, 931332) = 4056
pread(21, "tat/|awstats|webmail/|myadmin/|m"..., 4089, 935388) = 4089
pread(21, "ck;\n\t\t}\n\t\tlocation @fallback {\n\t"..., 4089, 939477) = 4089
pread(21, "ost $host;\n\t\t\tproxy_set_header X"..., 4095, 943566) = 4095
pread(21, "ermanent;\n\t\tlocation ~* ^/(webst"..., 4095, 947661) = 4095
pread(21, "_page 404 = @fallback;\n\t\t}\n\t\tloc"..., 4091, 951756) = 4091
pread(21, "location / {\n\t\t\tproxy_pass http:"..., 4093, 955847) = 4093
pread(21, "oxy_add_x_forwarded_for;\n\t\t\tprox"..., 4093, 959940) = 4093
pread(21, "_set_header X-Forwarded-For $pro"..., 4091, 964033) = 4091
pread(21, "X-Forwarded-For $proxy_add_x_for"..., 4079, 968124) = 4079
pread(21, "r X-Real-IP $remote_addr;\n\t\t}\n\t\t"..., 4081, 972203) = 4081
pread(21, "il/|myadmin/|manimg/) {\n\t\t\tproxy"..., 4071, 976284) = 4071
pread(21, ";\n\t\t}\n\t\tlocation @fallback {\n\t\t\t"..., 4087, 980355) = 4087
pread(21, "0;\n\t\t\tproxy_redirect http://trig"..., 4072, 984442) = 4072
pread(21, "\n\tserver {\n\t\tlisten 87.242.78.18"..., 4096, 988514) = 4096
pread(21, "css|mp3|ogg|mpe?g|avi|zip|gz|bz2"..., 4066, 992610) = 4066
pread(21, "80/ /;\n\t\t\tproxy_set_header Host "..., 4073, 996676) = 4073
pread(21, "page 404 = @fallback;\n\t\t}\n\t\tloca"..., 4090, 1000749) = 4090
pread(21, "-Real-IP $remote_addr;\n\t\t}\n\t\tloc"..., 4095, 1004839) = 4095
pread(21, "\n\t\t\tproxy_set_header X-Real-IP $"..., 4096, 1008934) = 4096
pread(21, "peg|gif|png|svg|js|css|mp3|ogg|m"..., 4085, 1013030) = 4085
pread(21, "ect http://petsforyou.ru:8080/ /"..., 4085, 1017115) = 4085
pread(21, "\tproxy_pass http://87.242.78.188"..., 4093, 1021200) = 2539
brk(0x1cc67000) = 0x1cc67000
pread(21, "", 4094, 1023739) = 0
pread(21, "", 4093, 1023739) = 0
/* поскипано, таких записей порядка сотни миллионов */
pread(21, "", 4093, 1023739) = 0
pread(21, "", 4092, 1023739) = 0
pread(21, "", 4095, 1023739) = 0
pread(21, "", 4094, 1023739) = 0
pread(21, "", 4093, 1023739) = 0
pread(21, "", 4092, 1023739) = 0
pread(21, "", 4095, 1023739) = 0
pread(21, "", 4094, 1023739) = 0
pread(21, "", 4093, 1023739) = 0
pread(21, "", 4092, 1023739) = 0
pread(21, "", 4095, 1023739) = 0
pread(21, "", 4093, 1023739) = 0
pread(21, "", 4092, 1023739) = 0
pread(21, "", 4095, 1023739) = 0
mmap(NULL, 5368713216, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b0e808e6000
+++ killed by SIGKILL +++ /* это уже мы его успели killall ом свалить */
Потребление памяти на момент зависания было 12g.
/usr/sbin/nginx -V
nginx version: nginx/0.6.38
built by gcc 4.1.2 20080704 (Red Hat 4.1.2-44)
configure arguments: --user=nginx --group=nginx
--prefix=/usr/share/nginx --sbin-path=/usr/sbin/nginx
--conf-path=/etc/nginx/nginx.conf
--error-log-path=/var/log/nginx/error.log
--http-log-path=/var/log/nginx/access.log
--http-client-body-temp-path=/var/lib/nginx/tmp/client_body
--http-proxy-temp-path=/var/lib/nginx/tmp/proxy
--http-fastcgi-temp-path=/var/lib/nginx/tmp/fastcgi
--pid-path=/var/run/nginx.pid --lock-path=/var/lock/subsys/nginx
--with-http_realip_module --with-http_stub_status_module
--with-cc-opt='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic'
2009/9/16 Igor Sysoev <is@xxxxxxxxxxxxx>:
> On Wed, Sep 16, 2009 at 09:22:25PM +0500, Одинцов Павел wrote:
>
>> Добрый вечер!
>>
>> Кстати, а если собрать с --with-debug и активировать отладочный лог
>> error_log /path/to/debug.log debug, то это поможет выяснить куда
>> девается память или нет?
>
> Поможет, но воркеры тоже будут писать отладку и при большой нагрузке
> будут есть процессор.
>
>> 2009/9/14 Одинцов Павел <pavel.odintsov@xxxxxxxxxxxxxx>:
>> > Давайте для 0.6.39, сейчас как раж уже обновляемся на неё.
>> >
>> > 2009/9/14 Igor Sysoev <is@xxxxxxxxxxxxx>:
>> >> On Mon, Sep 14, 2009 at 11:22:12PM +0500, Одинцов Павел wrote:
>> >>
>> >>> Добрый вечер!
>> >>>
>> >>> Буду предельно благодарен за патчик с логом, без проблем накатим и
>> >>> протестируем.
>> >>
>> >> Для какой версии ?
>> >>
>> >>> 2009/9/14 Igor Sysoev <is@xxxxxxxxxxxxx>:
>> >>> > On Mon, Sep 14, 2009 at 10:52:47PM +0500, Одинцов Павел wrote:
>> >>> >
>> >>> >> Так понимаю, последний вариант апаться на 0.7 ветку в надежде, что
>> >>> >> этого бага там не будет?
>> >>> >
>> >>> > Попробуйте, но не факто, что поможет: я с подорбным поведением
>> >>> > не сталкивался. Ещё можно попробовать такой вариант - я сделаю
>> >>> > специальный отладочный лог, который будет работать только в мастере
>> >>> > плюс будет фиксировать размер процесса через getrusage().
>> >>> > По идее, там будет немного записей.
>> >>
>> >>
>> >> --
>> >> Игорь Сысоев
>> >> http://sysoev.ru
>> >>
>> >>
>> >
>> >
>> >
>> > --
>> > С уважением, Одинцов Павел
>> >
>>
>>
>>
>> --
>> С уважением, Одинцов Павел
>
> --
> Игорь Сысоев
> http://sysoev.ru
>
>
--
С уважением, Одинцов Павел
|