Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re[2]: ppc
да, собрались все методы и sendfile на всех ядрах
вот только не всё работает ...
вот логи:
epoll, 2.6.8
------------------------------------------------------------------
2005/03/15 22:15:51 [info] 861#0: using the "epoll" event method
2005/03/15 22:15:51 [debug] 861#0: counter: 30017080, 0
2005/03/15 22:15:51 [info] 861#0: OS: Linux 2.6.8-powerpc
2005/03/15 22:15:51 [info] 861#0: sysctl(KERN_RTSIGMAX): 0
2005/03/15 22:15:51 [info] 861#0: getrlimit(RLIMIT_NOFILE): 1024:1024
2005/03/15 22:15:51 [debug] 862#0: write: 6, 7FFFF9A0, 3, 0
2005/03/15 22:15:51 [debug] 862#0: setproctitle: "nginx: master process nginx"
2005/03/15 22:15:51 [notice] 862#0: start worker processes
2005/03/15 22:15:51 [debug] 862#0: channel 6:7
2005/03/15 22:15:51 [debug] 863#0: malloc: 1006A6A0:8192
2005/03/15 22:15:51 [debug] 863#0: malloc: 1006C6A8:90112
2005/03/15 22:15:51 [debug] 863#0: malloc: 100826B0:49152
2005/03/15 22:15:51 [debug] 863#0: malloc: 1008E6B8:49152
2005/03/15 22:15:51 [debug] 863#0: epoll add event: fd:7 op:1 ev:00000001
2005/03/15 22:15:51 [debug] 863#0: setproctitle: "nginx: worker process"
2005/03/15 22:15:51 [debug] 863#0: worker cycle
2005/03/15 22:15:51 [debug] 863#0: accept mutex locked
2005/03/15 22:15:51 [debug] 863#0: epoll add event: fd:5 op:1 ev:00000001
2005/03/15 22:15:51 [debug] 863#0: epoll timer: -1
2005/03/15 22:15:51 [notice] 862#0: start worker process 863
2005/03/15 22:15:51 [debug] 862#0: channel 8:9
2005/03/15 22:15:51 [debug] 864#0: malloc: 1006A6A0:8192
2005/03/15 22:15:51 [debug] 864#0: malloc: 1006C6A8:90112
2005/03/15 22:15:51 [debug] 864#0: malloc: 100826B0:49152
2005/03/15 22:15:51 [notice] 862#0: start worker process 864
2005/03/15 22:15:51 [debug] 862#0: pass channel s:1 pid:864 fd:8 to s:0 pid:863
fd:6
2005/03/15 22:15:51 [debug] 862#0: channel 10:11
2005/03/15 22:15:51 [notice] 862#0: start worker process 865
2005/03/15 22:15:51 [debug] 862#0: pass channel s:2 pid:865 fd:10 to s:0
pid:863 fd:6
2005/03/15 22:15:51 [debug] 862#0: pass channel s:2 pid:865 fd:10 to s:1
pid:864 fd:8
2005/03/15 22:15:51 [debug] 862#0: sigsuspend
2005/03/15 22:15:51 [debug] 864#0: malloc: 1008E6B8:49152
2005/03/15 22:15:51 [debug] 864#0: epoll add event: fd:9 op:1 ev:00000001
2005/03/15 22:15:51 [debug] 864#0: setproctitle: "nginx: worker process"
2005/03/15 22:15:51 [debug] 864#0: worker cycle
2005/03/15 22:15:51 [debug] 864#0: epoll timer: 500
2005/03/15 22:15:51 [debug] 864#0: epoll timer: 500, delta: 33
2005/03/15 22:15:51 [notice] 862#0: signal 17 (SIGCHLD) received
2005/03/15 22:15:51 [alert] 862#0: worker process 863 exited on signal 11
2005/03/15 22:15:51 [debug] 862#0: wake up
2005/03/15 22:15:51 [debug] 862#0: reap childs
2005/03/15 22:15:51 [debug] 862#0: child: 0 863 e:0 t:1 d:0 r:1 j:0
2005/03/15 22:15:51 [debug] 862#0: pass close channel s:0 pid:863 to:864
2005/03/15 22:15:51 [debug] 862#0: pass close channel s:0 pid:863 to:865
2005/03/15 22:15:51 [debug] 862#0: channel 6:7
2005/03/15 22:15:51 [notice] 862#0: start worker process 866
rtsig, 2.6.8
------------------------------------------------------------------
2005/03/15 22:19:38 [info] 1244#0: using the "rtsig" event method
2005/03/15 22:19:38 [debug] 1244#0: counter: 30017080, 0
2005/03/15 22:19:38 [info] 1244#0: OS: Linux 2.6.8-powerpc
2005/03/15 22:19:38 [info] 1244#0: sysctl(KERN_RTSIGMAX): 0
2005/03/15 22:19:38 [info] 1244#0: getrlimit(RLIMIT_NOFILE): 1024:1024
2005/03/15 22:19:38 [debug] 1245#0: write: 6, 7FFFF9A0, 4, 0
2005/03/15 22:19:38 [debug] 1245#0: setproctitle: "nginx: master process nginx"
2005/03/15 22:19:38 [notice] 1245#0: start worker processes
2005/03/15 22:19:38 [debug] 1245#0: channel 6:7
2005/03/15 22:19:38 [debug] 1246#0: malloc: 100624F8:128
2005/03/15 22:19:38 [debug] 1246#0: malloc: 1006A6A0:90112
2005/03/15 22:19:38 [debug] 1246#0: malloc: 100806A8:49152
2005/03/15 22:19:38 [debug] 1246#0: malloc: 1008C6B0:49152
2005/03/15 22:19:38 [debug] 1246#0: rtsig add connection: fd:7 signo:45
2005/03/15 22:19:38 [debug] 1246#0: setproctitle: "nginx: worker process"
2005/03/15 22:19:38 [debug] 1246#0: worker cycle
2005/03/15 22:19:38 [debug] 1246#0: accept mutex locked
2005/03/15 22:19:38 [debug] 1246#0: rtsig add connection: fd:5 signo:45
2005/03/15 22:19:38 [debug] 1246#0: rtsig timer: -1
2005/03/15 22:19:38 [notice] 1245#0: start worker process 1246
2005/03/15 22:19:38 [debug] 1245#0: channel 8:9
2005/03/15 22:19:38 [debug] 1247#0: malloc: 100624F8:128
2005/03/15 22:19:38 [debug] 1247#0: malloc: 1006A6A0:90112
2005/03/15 22:19:38 [notice] 1245#0: start worker process 1247
2005/03/15 22:19:38 [debug] 1245#0: pass channel s:1 pid:1247 fd:8 to s:0
pid:1246 fd:6
2005/03/15 22:19:38 [debug] 1245#0: channel 10:11
2005/03/15 22:19:38 [notice] 1245#0: start worker process 1248
2005/03/15 22:19:38 [debug] 1245#0: pass channel s:2 pid:1248 fd:10 to s:0
pid:1246 fd:6
2005/03/15 22:19:38 [debug] 1246#0: rtsig signo:45 fd:7 band:0041
2005/03/15 22:19:38 [debug] 1246#0: post event 100807F8
2005/03/15 22:19:38 [debug] 1246#0: posted event 100807F8
2005/03/15 22:19:38 [debug] 1246#0: delete posted event 100807F8
2005/03/15 22:19:38 [debug] 1246#0: channel handler
2005/03/15 22:19:38 [debug] 1246#0: channel: 16
2005/03/15 22:19:38 [debug] 1246#0: channel command: 1
2005/03/15 22:19:38 [debug] 1246#0: get channel s:1 pid:1247 fd:6
2005/03/15 22:19:38 [debug] 1246#0: posted event 00000000
2005/03/15 22:19:38 [debug] 1246#0: worker cycle
2005/03/15 22:19:38 [debug] 1246#0: accept mutex locked
2005/03/15 22:19:38 [debug] 1246#0: rtsig add connection: fd:5 signo:45
2005/03/15 22:19:38 [debug] 1246#0: rtsig timer: -1
2005/03/15 22:19:38 [debug] 1246#0: rtsig signo:45 fd:7 band:0041
2005/03/15 22:19:38 [debug] 1246#0: post event 100807F8
2005/03/15 22:19:38 [debug] 1246#0: posted event 100807F8
2005/03/15 22:19:38 [debug] 1246#0: delete posted event 100807F8
2005/03/15 22:19:38 [debug] 1246#0: channel handler
2005/03/15 22:19:38 [debug] 1246#0: channel: 16
2005/03/15 22:19:38 [debug] 1246#0: channel command: 1
2005/03/15 22:19:38 [debug] 1246#0: get channel s:2 pid:1248 fd:8
2005/03/15 22:19:38 [debug] 1246#0: posted event 00000000
2005/03/15 22:19:38 [debug] 1246#0: worker cycle
2005/03/15 22:19:38 [debug] 1246#0: accept mutex locked
2005/03/15 22:19:38 [debug] 1246#0: rtsig add connection: fd:5 signo:45
2005/03/15 22:19:38 [debug] 1246#0: rtsig timer: -1
2005/03/15 22:19:38 [debug] 1247#0: malloc: 100806A8:49152
2005/03/15 22:19:38 [debug] 1247#0: malloc: 1008C6B0:49152
2005/03/15 22:19:38 [debug] 1247#0: rtsig add connection: fd:9 signo:45
2005/03/15 22:19:38 [debug] 1247#0: setproctitle: "nginx: worker process"
2005/03/15 22:19:38 [debug] 1247#0: worker cycle
2005/03/15 22:19:38 [debug] 1247#0: rtsig timer: 500
2005/03/15 22:19:38 [debug] 1248#0: malloc: 100624F8:128
2005/03/15 22:19:38 [debug] 1248#0: malloc: 1006A6A0:90112
2005/03/15 22:19:38 [debug] 1248#0: malloc: 100806A8:49152
2005/03/15 22:19:38 [debug] 1248#0: malloc: 1008C6B0:49152
2005/03/15 22:19:38 [debug] 1248#0: rtsig add connection: fd:11 signo:45
2005/03/15 22:19:38 [debug] 1248#0: setproctitle: "nginx: worker process"
2005/03/15 22:19:38 [debug] 1248#0: worker cycle
2005/03/15 22:19:38 [debug] 1248#0: rtsig timer: 500
2005/03/15 22:19:38 [debug] 1245#0: pass channel s:2 pid:1248 fd:10 to s:1
pid:1247 fd:8
2005/03/15 22:19:38 [debug] 1247#0: rtsig signo:45 fd:9 band:0041
2005/03/15 22:19:38 [debug] 1247#0: rtsig timer: 500, delta: 41
2005/03/15 22:19:38 [debug] 1247#0: channel handler
2005/03/15 22:19:38 [debug] 1247#0: channel: 16
2005/03/15 22:19:38 [debug] 1247#0: channel command: 1
2005/03/15 22:19:38 [debug] 1247#0: get channel s:2 pid:1248 fd:7
2005/03/15 22:19:38 [debug] 1247#0: worker cycle
2005/03/15 22:19:38 [debug] 1247#0: rtsig timer: 500
2005/03/15 22:19:38 [debug] 1245#0: sigsuspend
2005/03/15 22:19:38 [debug] 1248#0: rtsig signo:-1 (11: Resource temporarily
unavailable)
2005/03/15 22:19:38 [debug] 1248#0: rtsig timer: 500, delta: 533
2005/03/15 22:19:38 [debug] 1248#0: worker cycle
2005/03/15 22:19:38 [debug] 1248#0: rtsig timer: 500
2005/03/15 22:19:38 [debug] 1247#0: rtsig signo:-1 (11: Resource temporarily
unavailable)
2005/03/15 22:19:38 [debug] 1247#0: rtsig timer: 500, delta: 502
2005/03/15 22:19:38 [debug] 1247#0: worker cycle
2005/03/15 22:19:38 [debug] 1247#0: rtsig timer: 500
2005/03/15 22:19:38 [debug] 1248#0: rtsig signo:-1 (11: Resource temporarily
unavailable)
2005/03/15 22:19:39 [debug] 1248#0: rtsig timer: 500, delta: 502
2005/03/15 22:19:39 [debug] 1248#0: worker cycle
2005/03/15 22:19:39 [debug] 1248#0: rtsig timer: 500
лог запроса, rtsig, 2.6.8 :
-----------------------------------------------------------------
2005/03/15 22:19:46 [debug] 1247#0: worker cycle
2005/03/15 22:19:46 [debug] 1247#0: rtsig timer: 500
2005/03/15 22:19:38 [debug] 1246#0: rtsig signo:45 fd:5 band:0041
2005/03/15 22:19:46 [debug] 1246#0: accept on 0.0.0.0:80, ready: 1
2005/03/15 22:19:46 [debug] 1246#0: malloc: 100626C0:256
2005/03/15 22:19:46 [debug] 1246#0: accept: fd:9 c:1
2005/03/15 22:19:46 [debug] 1246#0: rtsig add connection: fd:9 signo:45
2005/03/15 22:19:46 [debug] 1246#0: *1 post event 10080858
2005/03/15 22:19:46 [debug] 1246#0: malloc: 100627C8:256
2005/03/15 22:19:46 [debug] 1246#0: free: 100627C8, unused: 196
2005/03/15 22:19:46 [debug] 1246#0: posted event 10080858
2005/03/15 22:19:46 [debug] 1246#0: *1 delete posted event 10080858
2005/03/15 22:19:46 [debug] 1246#0: *1 malloc: 100986B8:704
2005/03/15 22:19:46 [debug] 1246#0: *1 malloc: 10098980:1024
2005/03/15 22:19:46 [debug] 1246#0: *1 malloc: 10098D88:4096
2005/03/15 22:19:46 [debug] 1246#0: *1 http process request line
2005/03/15 22:19:46 [debug] 1246#0: *1 recv: fd:9 -1 of 1024
2005/03/15 22:19:46 [debug] 1246#0: *1 recv() not ready (11: Resource
temporarily unavailable)
2005/03/15 22:19:46 [debug] 1246#0: *1 event timer add: 9: 68308
2005/03/15 22:19:46 [debug] 1246#0: posted event 00000000
2005/03/15 22:19:46 [debug] 1246#0: worker cycle
2005/03/15 22:19:46 [debug] 1246#0: accept mutex locked
2005/03/15 22:19:46 [debug] 1246#0: rtsig add connection: fd:5 signo:45
2005/03/15 22:19:46 [debug] 1246#0: rtsig timer: 60000
2005/03/15 22:19:46 [debug] 1246#0: rtsig signo:45 fd:9 band:0041
2005/03/15 22:19:46 [debug] 1246#0: rtsig timer: 60000, delta: 21
2005/03/15 22:19:46 [debug] 1246#0: *1 post event 10080858
2005/03/15 22:19:46 [debug] 1246#0: posted event 10080858
2005/03/15 22:19:46 [debug] 1246#0: *1 delete posted event 10080858
2005/03/15 22:19:46 [debug] 1246#0: *1 http process request line
2005/03/15 22:19:46 [debug] 1246#0: *1 recv: fd:9 218 of 1024
2005/03/15 22:19:46 [debug] 1246#0: *1 http request line: "GET /apt/ HTTP/1.0"
2005/03/15 22:19:46 [debug] 1246#0: *1 http uri: "/apt/"
2005/03/15 22:19:46 [debug] 1246#0: *1 http args: ""
2005/03/15 22:19:46 [debug] 1246#0: *1 http exten: ""
2005/03/15 22:19:46 [debug] 1246#0: *1 http process request header line
2005/03/15 22:19:46 [debug] 1246#0: *1 http header: "Host: localhost"
2005/03/15 22:19:46 [debug] 1246#0: *1 http header: "Accept: text/html,
text/plain, text/sgml, */*;q=0.01"
2005/03/15 22:19:46 [debug] 1246#0: *1 http header: "Accept-Encoding: gzip,
compress"
2005/03/15 22:19:46 [debug] 1246#0: *1 http header: "Accept-Language: en"
2005/03/15 22:19:46 [debug] 1246#0: *1 http header: "User-Agent:
Lynx/2.8.5rel.1 libwww-FM/2.14 SSL-MM/1.4.1 GNUTLS/1.0.16"
2005/03/15 22:19:46 [debug] 1246#0: *1 http header done
2005/03/15 22:19:46 [debug] 1246#0: *1 event timer del: 9: 68308
2005/03/15 22:19:46 [debug] 1246#0: *1 uri changes: 11
2005/03/15 22:19:46 [debug] 1246#0: *1 find location
2005/03/15 22:19:46 [debug] 1246#0: *1 find location: "/"
2005/03/15 22:19:46 [debug] 1246#0: *1 http cl:-1 max:1048576
2005/03/15 22:19:46 [debug] 1246#0: *1 open index
"/home/proforg/www/apt/index.html"
2005/03/15 22:19:46 [debug] 1246#0: *1 open()
"/home/proforg/www/apt/index.html" failed (2: No such file or directory)
2005/03/15 22:19:46 [debug] 1246#0: *1 http check dir: "/home/proforg/www/apt"
2005/03/15 22:19:46 [debug] 1246#0: *1 open index
"/home/proforg/www/apt/index.htm"
2005/03/15 22:19:46 [debug] 1246#0: *1 open() "/home/proforg/www/apt/index.htm"
failed (2: No such file or directory)
2005/03/15 22:19:46 [debug] 1246#0: *1 http autoindex: "/home/proforg/www/apt"
2005/03/15 22:19:46 [debug] 1246#0: *1 http autoindex file: "."
2005/03/15 22:19:46 [debug] 1246#0: *1 http autoindex file: ".."
2005/03/15 22:19:46 [debug] 1246#0: *1 HTTP/1.1 200 OK
Server: nginx/0.1.24
Date: Tue, 15 Mar 2005 19:19:46 GMT
Content-Length: 159
Content-Type: text/html; charset=koi8-r
Connection: close
2005/03/15 22:19:46 [debug] 1246#0: *1 write new buf t:1 f:0 10099860, pos
10099860, size: 159 file: 0, size: 0
2005/03/15 22:19:46 [debug] 1246#0: *1 http write filter: l:0 f:0 s:159
2005/03/15 22:19:46 [debug] 1246#0: *1 write old buf t:1 f:0 10099860, pos
10099860, size: 159 file: 0, size: 0
2005/03/15 22:19:46 [debug] 1246#0: *1 write new buf t:1 f:0 10099788, pos
10099788, size: 159 file: 0, size: 0
2005/03/15 22:19:46 [debug] 1246#0: *1 http write filter: l:1 f:0 s:318
2005/03/15 22:19:46 [debug] 1246#0: *1 writev: 318
2005/03/15 22:19:46 [debug] 1246#0: *1 http write filter 00000000
2005/03/15 22:19:46 [debug] 1246#0: *1 http finalize request: 0
2005/03/15 22:19:46 [debug] 1246#0: *1 http close request
2005/03/15 22:19:46 [debug] 1246#0: *1 http log handler
2005/03/15 22:19:46 [debug] 1246#0: *1 free: 10098D88, unused: 897
2005/03/15 22:19:46 [debug] 1246#0: *1 close http connection: 9
2005/03/15 22:19:46 [debug] 1246#0: *1 rtsig del connection: fd:9
2005/03/15 22:19:46 [debug] 1246#0: *1 free: 100986B8
2005/03/15 22:19:46 [debug] 1246#0: *1 free: 10098980
2005/03/15 22:19:46 [debug] 1246#0: *1 free: 100626C0, unused: 76
2005/03/15 22:19:46 [debug] 1246#0: posted event 00000000
2005/03/15 22:19:46 [debug] 1246#0: worker cycle
2005/03/15 22:19:46 [debug] 1246#0: accept mutex locked
2005/03/15 22:19:46 [debug] 1246#0: rtsig add connection: fd:5 signo:45
2005/03/15 22:19:46 [debug] 1246#0: rtsig timer: -1
2005/03/15 22:19:46 [debug] 1248#0: rtsig signo:-1 (11: Resource temporarily
unavailable)
2005/03/15 22:19:46 [debug] 1248#0: rtsig timer: 500, delta: 502
2005/03/15 22:19:46 [debug] 1248#0: worker cycle
IS> On Tue, 15 Mar 2005, Alexey Bestciokov wrote:
>> nginx собрался на mac ppc :)
>>
>> debian linux sarge
>> Power Macintosh 8500
>>
>> на ядрах 2.2 и 2.4 не заработал sendfile и rtsig, но без сендфайла
>> poll и select вполне работают.
IS> А что значит "не заработал sendfile и rtsig" ? Собрались, но
IS> возращают ошибки ?
>> на 2.6 sendfile работает, rtsig всё так же ругается на Resource
>> temporarily unavailable, epoll не работает, poll и select работают.
IS> А epoll собрался ?
IS> Игорь Сысоев
IS> http://sysoev.ru
Алексей Бещёков.
proforg@xxxxxxxxxxxx
|