ngnix and Linux on UltrasparcII

Igor Sysoev is at rambler-co.ru
Tue Nov 22 15:56:09 MSK 2005


On Tue, 22 Nov 2005, Andrey Chernomyrdin wrote:

> Igor Sysoev wrote:
>
>> 
>>> Нужно приложить патчик:
>>> ----------------------
>>> --- src/core/ngx_config.h       Mon Nov 21 15:21:00 2005
>>> +++ src/core/ngx_config.h       Mon Nov 21 16:21:59 2005
>>> @@ -98,7 +98,7 @@
>>> #define NGX_ALIGN       (_MAX_ALIGNMENT - 1)
>>> #else
>>> /* TODO: auto_conf */
>>> 
>> 
>> Этот патч неправильный, нужно так:
>> 
>> -#define NGX_ALIGN       (sizeof(unsigned long) - 1)  /* platform word */
>> +#define NGX_ALIGN       15
>
> Опс, погорячился с репортом, что все нормально - запускатся запускается, но:
>
> # tail /var/log/nginx/error.log
> 2005/11/22 14:58:28 [alert] 20030#0: worker process 22236 exited on signal 11
> 2005/11/22 14:58:28 [alert] 20030#0: worker process 22237 exited on signal 11
> 2005/11/22 14:58:28 [alert] 20030#0: worker process 22238 exited on signal 11
> 2005/11/22 14:58:28 [alert] 20030#0: worker process 22239 exited on signal 11
> 2005/11/22 14:58:28 [alert] 20030#0: worker process 22240 exited on signal 11
> 2005/11/22 14:58:28 [alert] 20030#0: worker process 22241 exited on signal 11
> 2005/11/22 14:58:28 [alert] 20030#0: worker process 22242 exited on signal 11
> 2005/11/22 14:58:28 [alert] 20030#0: worker process 22243 exited on signal 11
> 2005/11/22 14:58:28 [alert] 20030#0: worker process 22245 exited on signal 11
> 2005/11/22 14:58:28 [alert] 20030#0: worker process 22244 exited on signal 11
>
> И сыплет этими сообщениями с большой регулярностью.
>
> Конфиг:
>
> worker_processes  2;
> error_log  /var/log/nginx/error.log warn;
>
> events {
>   worker_connections  1024;
> }
>
> http {
>   include      /etc/nginx/mime.types;
>   default_type        application/octet-stream;
>   log_format main '$remote_addr - - [$time_gmt] "$request" $status 
> $body_bytes_sent "$http_referer" "$http_user_agent"';
>   access_log /var/log/nginx/access.log main;
>   sendfile        on;
>   server {
>       listen       80;
>       charset off;
>       location / {
>           root   /var/www;
>           index  index.html index.htm;
>       }
>       location /doc {
>           root /usr/share;
>           autoindex on;
>           allow 127.0.0.0/8;
>           deny all;
>       }
> }
>
> То есть вроде-бы ни чего криминального - самый простой конфиг.

Нужно получить core и прислать вывод команды bt.


Игорь Сысоев
http://sysoev.ru





More information about the nginx-ru mailing list