> has anyone here run into a problem where making a call to
> urllib2.open(any_url) will crash uwsgi without any error in python, and
> the uwsgi log has
>
>      DAMN ! worker 1 (pid: 7600) died, killed by signal 10trying respawn
> ...
>
> this happens within 2-4 seconds.   i tried setting --socket-timeout and
> --http-timeout to 20s.
>
> This happens on development machine ( mac osx 10.6 , python 2.7 ) and
> production ( Ubuntu 11.04 , python 2.7 )
>
> This is happening under the Pyramid framework.
>
> OSX
> -----------------
> ;uWSGI instance configuration
> [uwsgi]
> show-config = true
> ;end of configuration
>
> *** Starting uWSGI 1.2.3 (32bit) on [Tue Jun 12 18:24:28 2012] ***
> compiled with version: 4.0.1 (Apple Inc. build 5494) on 08 June 2012
> 12:54:22
> detected number of CPU cores: 2
> current working directory:
> /Users/jvanasco/webserver/sites/MyApp/tags/current-production/web-pylons/MyApp
> detected binary path:
> /Users/jvanasco/webserver/environments/MyApp-2.7/bin/uwsgi
> *** WARNING: you are running uWSGI without its master process manager ***
> your memory page size is 4096 bytes
> detected max file descriptor number: 256
> lock engine: OSX spinlocks
> The -s/--socket option is missing and stdin is not a socket.
>
>
> UBUNTU
> ----------------------
> ;uWSGI instance configuration
> [uwsgi]
> show-config = true
> ;end of configuration
>
> *** Starting uWSGI 1.2.3 (32bit) on [Tue Jun 12 18:25:24 2012] ***
> compiled with version: 4.5.2 on 07 June 2012 17:53:32
> detected number of CPU cores: 4
> current working directory: /home/jvanasco
> detected binary path: /var/www/sites/MyApp-virtualenv/bin/uwsgi
> *** WARNING: you are running uWSGI without its master process manager ***
> your memory page size is 4096 bytes
> detected max file descriptor number: 1024
> lock engine: pthread robust mutexes
> The -s/--socket option is missing and stdin is not a socket.
>
>
>

I think i have answered some hours ago on the pyramid/pylons list.
Are you sure you have not enabled some memory constraint ?

You have not reported the uWSGI configuration, can you post it ?



-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to