ðòïåëôù 


  áòèé÷ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  óôáôøé 


  ðåòóïîáìøîïå 


  ðòïçòáííù 



ðéûéôå
ðéóøíá












     áòèé÷ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nginx stable ver. in freebsd ports collection



# gdb /usr/local/sbin/nginx /spool/core/nginx.core.74266
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.š Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...
Core was generated by `nginx'.
Program terminated with signal 10, Bus error.
Reading symbols from /lib/libcrypt.so.4...done.
Loaded symbols for /lib/libcrypt.so.4
Reading symbols from /usr/local/lib/libpcre.so.0...done.
Loaded symbols for /usr/local/lib/libpcre.so.0
Reading symbols from /lib/libmd.so.4...done.
Loaded symbols for /lib/libmd.so.4
Reading symbols from /lib/libz.so.4...done.
Loaded symbols for /lib/libz.so.4
Reading symbols from /lib/libc.so.7...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0š 0x0000000000499dc2 in ngx_clean_old_connections (ev=0x800e47278)
ššš at /usr/ports/www/nginx/work/nginx_uploadprogress_module/ngx_http_uploadprogress_module.c:829
829šššš /usr/ports/www/nginx/work/nginx_uploadprogress_module/ngx_http_uploadprogress_module.c: No such file or directory.
ššššššš in /usr/ports/www/nginx/work/nginx_uploadprogress_module/ngx_http_uploadprogress_module.c
(gdb) bt
#0š 0x0000000000499dc2 in ngx_clean_old_connections (ev=0x800e47278)
ššš at /usr/ports/www/nginx/work/nginx_uploadprogress_module/ngx_http_uploadprogress_module.c:829
#1š 0x0000000000425cba in ngx_event_expire_timers () at src/event/ngx_event_timer.c:149
#2š 0x00000000004239a4 in ngx_process_events_and_timers (cycle=0x800e0e048) at src/event/ngx_event.c:261
#3š 0x00000000004301ac in ngx_worker_process_cycle (cycle=0x800e0e048, data="" at src/os/unix/ngx_process_cycle.c:775
#4š 0x000000000042d341 in ngx_spawn_process (cycle=0x800e0e048, proc=0x42ffe0 <ngx_worker_process_cycle>, data="">ššš name=0x49f408 "worker process", respawn=-2) at src/os/unix/ngx_process.c:194
#5š 0x000000000042ef5a in ngx_start_worker_processes (cycle=0x800e0e048, n=2, type=-2) at src/os/unix/ngx_process_cycle.c:331
#6š 0x000000000042e664 in ngx_master_process_cycle (cycle=0x800e0e048) at src/os/unix/ngx_process_cycle.c:123
#7š 0x00000000004033f2 in main (argc=1, argv=0x7fffffffedf0) at src/core/nginx.c:382
(gdb)


2009/6/1 Igor Sysoev <is@xxxxxxxxxxxxx>
On Mon, Jun 01, 2009 at 07:11:42PM +0300, Vladimir Getmanshchuk wrote:

> óÄÅÌÁÌ. úÁÌÉÐÎÅÔ - ×ÙÛÌÀ *.core

îÅÔ, *.core ÎÅ ÎÁÄÏ. îÕÖÎÏ
gdb /usr/local/sbin/nginx /spool/core/nginx....core
bt

é /usr/local/sbin/nginx ÄÏÌÖÅÎ ÂÙÔØ ÎÅ stripped.


> 2009/6/1 Igor Sysoev <is@xxxxxxxxxxxxx>
>
> > On Mon, Jun 01, 2009 at 06:29:48PM +0300, Vladimir Getmanshchuk wrote:
> >
> > > óÄÅÌÁÌ, ÅÓÌÉ ÉÍÅÌÏÓØ ××ÉÄÕ:
> > >
> > > working_directory /usr/local/etc/nginx;
> > > worker_rlimit_core 1000m;
> >
> > îÅÔ, ×Ï FreeBSD ÎÕÖÎÏ:
> >
> > mkdir /spool/core
> > chmod 0755 /spool/core
> > chown site:site /spool/core
> >
> > sysctl kern.sugid_coredump=1
> > sysctl kern.corefile=/spool/core/%N.core.%P
> >
> >
> > --
> > éÇÏÒØ óÙÓÏÅ×
> > http://sysoev.ru
> >
> >
>
>
> --
> Yours sincerely,
> Vladimir Getmanshchuk
>
> Senior Unix System Administrator
> Openfilm, LLC
>
> Email: vladget@xxxxxxxxxxxx
> Skype: vladimir.getmanshchuk

--
éÇÏÒØ óÙÓÏÅ×
http://sysoev.ru




--
Yours sincerely,
Vladimir Getmanshchuk

Senior Unix System Administrator
Openfilm, LLC

Email: vladget@xxxxxxxxxxxx
Skype: vladimir.getmanshchuk



 




Copyright © Lexa Software, 1996-2009.