nginx stable ver. in freebsd ports collection
Vladimir Getmanshchuk
vladget at openfilm.com
Mon Jun 1 22:50:15 MSD 2009
# 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=0x0) at src/os/unix/ngx_process_cycle.c:775
#4 0x000000000042d341 in ngx_spawn_process (cycle=0x800e0e048,
proc=0x42ffe0 <ngx_worker_process_cycle>, data=0x0,
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 at rambler-co.ru>
> 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 at rambler-co.ru>
> >
> > > 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 at openfilm.com
> > Skype: vladimir.getmanshchuk
>
> --
> Игорь Сысоев
> http://sysoev.ru
>
>
--
Yours sincerely,
Vladimir Getmanshchuk
Senior Unix System Administrator
Openfilm, LLC
Email: vladget at openfilm.com
Skype: vladimir.getmanshchuk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx-ru/attachments/20090601/d9331947/attachment.html>
More information about the nginx-ru
mailing list