got it. thank you very mach.

2012/5/19 Roberto De Ioris <[email protected]>

>
> > environments:
> > ubuntu 12.04 server LTS
> > python 2.7
> > uwsgi 1.2.3
> > web.py
> >
> > use --limit-as 128 start uwsgi:
> > $ uwsgi -x /etc/uwsgi/apps-enabled/app.xml --limit-as 128
> > [uWSGI] parsing config file /etc/uwsgi/apps-enabled/shuofr.xml
> > *** Starting uWSGI 1.2.3 (64bit) on [Fri May 18 07:03:00 2012] ***
> > compiled with version: 4.6.3 on 18 May 2012 06:51:07
> >    ...
> >    ...
> >    ...
> > spawned uWSGI master process (pid: 29231)
> > spawned uWSGI worker 1 (pid: 29232, cores: 1)
> > spawned uWSGI worker 2 (pid: 29233, cores: 1)
> > spawned uWSGI worker 3 (pid: 29234, cores: 1)
> > libgcc_s.so.1 must be installed for pthread_cancel to work
> > <-- got error on here.
> > DAMN ! worker 1 (pid: 29232) died, killed by signal 6 :( trying respawn
> > ...
> > Respawned uWSGI worker 1 (new pid: 29237)
> > ^CSIGINT/SIGQUIT received...killing workers...
> > goodbye to uWSGI.
> >
> >  i was installed libgcc_s.so.1.
> > $ ldd /usr/local/bin/uwsgi
> >         linux-vdso.so.1 =>  (0x00007fff018ab000)
> >         libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
> > (0x00007f982c8f5000)
> >         libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f982c5fb000)
> >         libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2
> > (0x00007f982c3f6000)
> >         libxml2.so.2 => /usr/lib/x86_64-linux-gnu/libxml2.so.2
> > (0x00007f982c09b000)
> >         libpython2.7.so.1.0 => /usr/lib/libpython2.7.so.1.0
> > (0x00007f982bb9e000)
> >         libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f982b7e0000)
> >         /lib64/ld-linux-x86-64.so.2 (0x00007f982cb1a000)
> >         libz.so.1 => /usr/local/lib/libz.so.1 (0x00007f982b5c7000)
> >         libssl.so.1.0.0 => /lib/x86_64-linux-gnu/libssl.so.1.0.0
> > (0x00007f982b36b000)
> >         libcrypto.so.1.0.0 => /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
> > (0x00007f982afa2000)
> >         libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1
> > (0x00007f982ad9f000)
> >         libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1
> > (0x00007f982ab89000)  <--- installed libgcc_s.so.1
> >
> >
> > how about it?
> >
>
> If it is triggered by --limit-as, maybe you need more address space for
> your app. Try setting it to 1000 and start decreasing til it works.
>
> --
> Roberto De Ioris
> http://unbit.it
> _______________________________________________
> uWSGI mailing list
> [email protected]
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
>



-- 
树上@Beijing

# weibo:  @__树上__
# twitter:  @cnpopeye
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to