> Hi, > > thanks for the advice. I tried that and it did not make a difference :( > (and, just to make sure, I'm using "lazy-apps" [not the S at the end] ) > > -Clemens
I do not think it is something uWSGI-specific, can you add a "print 'something'" at teh end of the create_app procesudre to check if it ihappens boefore or after the threads are spawned ? > > > On Tue, Apr 8, 2014 at 9:39 AM, INADA Naoki <[email protected]> > wrote: > >> lazy option is discouraged. >> lazy-app option may help you. >> >> On Wed, Apr 9, 2014 at 1:06 AM, Clemens Kolbitsch >> <[email protected]> wrote: >> > On Tue, Apr 8, 2014 at 3:13 AM, Roberto De Ioris <[email protected]> >> wrote: >> >> >> >> >> >> > import ConfigParser >> >> > import logging >> >> > >> >> > import myapp >> >> > >> >> > >> >> > CONFIG_FILE = "/etc/myapp/myapp.ini" >> >> > >> >> > config_parser = ConfigParser.ConfigParser() >> >> > config_file = open(CONFIG_FILE) >> >> > config_parser.readfp(config_file,CONFIG_FILE) >> >> > >> >> > log = ... >> >> > application = myapp.create_app(CONFIG_FILE, None, log, strict=True) >> >> > >> >> > application.logger.setLevel(logging.DEBUG) >> >> > for handler in log.logger().handlers: >> >> > application.logger.addHandler(handler) >> >> > >> >> >> >> >> >> >> >> I see nothing strange in it, but once you get 404 you continue to get >> it >> >> or it get fixed after a bunch of requests ? >> > >> > >> > the 404 happens right after the respawning, happens 1-2 times and goes >> away >> > again (probably once the blueprints have been properly loaded) >> > >> > -Clemens >> > >> > >> > _______________________________________________ >> > uWSGI mailing list >> > [email protected] >> > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi >> > >> >> >> >> -- >> INADA Naoki <[email protected]> >> _______________________________________________ >> uWSGI mailing list >> [email protected] >> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi >> > > > > -- > Clemens Kolbitsch > Security Researcher > [email protected] > Mobile +1 (206) 356-7745 > Land +1 (805) 456-7076 > > Lastline, Inc. > 6950 Hollister Avenue, Suite 101 > Goleta, CA 93117 > > www.lastline.com > _______________________________________________ > uWSGI mailing list > [email protected] > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi > -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
