[prev in list] [next in list] [prev in thread] [next in thread]
List: uwsgi
Subject: [uWSGI] disable harakiri mode
From: roman.vasilyev () yousendit ! com (Roman Vasilyev)
Date: 2012-03-27 15:58:56
Message-ID: 4F71E3C0.20805 () yousendit ! com
[Download RAW message or body]
here is my configuration options:
+ cd uwsgi-1.0
+ CFLAGS='-O2 -g'
+ python uwsgiconfig.py --build
using profile: buildconf/default.ini
detected include path: ['/usr/local/include',
'/usr/lib/gcc/x86_64-redhat-linux/4.4.6/include', '/usr/include']
configured CFLAGS: -O2 -Wall -Werror -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O2 -g -fno-strict-aliasing -Wextra
-Wno-unused-parameter -Wno-missing-field-initializers
-DUWSGI_BUILD_DATE="\"27 March 2012 08:57:43\"" -DUWSGI_HAS_IFADDRS
-DUWSGI_LOCK_USE_MUTEX -DUWSGI_EVENT_USE_EPOLL
-DUWSGI_EVENT_TIMER_USE_TIMERFD -DUWSGI_EVENT_FILEMONITOR_USE_INOTIFY
-DUWSGI_EMBEDDED -DUWSGI_UDP -DUWSGI_PCRE -DUWSGI_VERSION="\"1.0\""
-DUWSGI_VERSION_BASE="1" -DUWSGI_VERSION_MAJOR="0"
-DUWSGI_VERSION_MINOR="0" -DUWSGI_VERSION_REVISION="0"
-DUWSGI_VERSION_CUSTOM="\"\"" -DUWSGI_ASYNC -DUWSGI_MULTICAST
-DUWSGI_MINTERPRETERS -DUWSGI_INI -DUWSGI_YAML -DUWSGI_SNMP
-DUWSGI_THREADING -DUWSGI_SENDFILE -I/usr/include/libxml2 -DUWSGI_XML
-DUWSGI_XML_LIBXML2 -DUWSGI_PLUGIN_DIR=\".\" -DUWSGI_SPOOLER
-DUWSGI_DECLARE_EMBEDDED_PLUGINS="UDEP(python);UDEP(ping);UDEP(cache);UDEP(nagios);UDE \
P(rrdtool);UDEP(carbon);UDEP(rpc);UDEP(fastrouter);UDEP(http);UDEP(ugreen);UDEP(signal);UDEP(syslog);UDEP(rsyslog);UDEP(logsocket);" \
-DUWSGI_LOAD_EMBEDDED_PLUGINS="ULEP(python);ULEP(ping);ULEP(cache);ULEP(nagios);ULEP(r \
rdtool);ULEP(carbon);ULEP(rpc);ULEP(fastrouter);ULEP(http);ULEP(ugreen);ULEP(signal);ULEP(syslog);ULEP(rsyslog);ULEP(logsocket);"
please correct me where I'm wrong.
On 03/26/2012 04:23 PM, Roberto De Ioris wrote:
>
> > I'm never declaring it, by default it 30 secs, and looking at the code,
> > seems like 0 will not help.
> >
>
> Harakiri is never enabled by default.
>
> Maybe it is a (wrong) choice of your packager/distributor/sysadmin.
>
> Setting it to 0 (after previous definition) will disable it.
>
>
>
> > On 03/26/2012 12:04 PM, Mike Kuznetsov wrote:
> >
> > > I think you could just not declare it or set timeout to '0'. Hope
> > > maintainer'll fix my answer if it is wrong
> > >
> > > 2012/3/26 Roman Vasilyev<roman.vasilyev at yousendit.com
> > > <mailto:roman.vasilyev at yousendit.com>>
> > >
> > > Need to have ability to copy huge files, unfortunately I don't
> > > have ability to do it in background.
> > > Can I disable harakiri mode? I can always increase timeout, but I
> > > think tis is only hack, I think disabling will be better.
> > >
> > >
> > >
> > >
> > > --
> > > http://1.ws
> > > System Administrator
> > >
> > >
> > > _______________________________________________
> > > uWSGI mailing list
> > > uWSGI at lists.unbit.it
> > > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
> > >
> > >
> > _______________________________________________
> > uWSGI mailing list
> > uWSGI at lists.unbit.it
> > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
> >
> >
>
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic