Re: [web2py] uwsgi configuration: why many lines in /root/var/log/uwsgi-python/web2py log : routing 0 routes 0 ?

2012-02-12 Thread Carlos
Hi,

Can you please provide the details on how to upgrade uwsgi-python on my 
ubuntu linux 10.04 LTS OS?.

I am no expert in linux, and all I did to install uwsgi was:

   add-apt-repository ppa:uwsgi/release

How can I (re-)install / upgrade uwsgi-python in my environment?.

Thanks a lot!,

   Carlos


Re: [web2py] uwsgi configuration: why many lines in /root/var/log/uwsgi-python/web2py log : routing 0 routes 0 ?

2012-02-10 Thread Roberto De Ioris

 strange, really :D

 I don't mind if that turns out in the logging, but I have the same
 behaviour

 niphlod@platypus:~$ uwsgi-python --version
 uWSGI 0.9.6.8

 I use uwsgi-python in production /usr/bin/uwsgi-python . If I recall
 correctly that is a symbolic link to `/etc/alternatives/uwsgi-python', and
 that one is afile  symbolic link to `/usr/bin/uwsgi-python2.6'
 I then have a /usr/bin/uwsgi that is the result of pip-installing uwsgi
 package: actually I'm experimenting on dropping the uwsgi-python package
 (some real mess to understand clearly, at least for me, especially with
 its
 /etc/init.d scripts) . With the emperor mode it's really easier to manage
 apps Maybe some shared libraries between versions ?



The original uwsgi debian packages started when the emperor was still a
prototype. The author (Leonid Borisenko) did his best to simulate what the
Emperor is today simply using init script and various form of
configuration inheritance. For me, Emperor is the simplest (and versatile)
way to go, as it relies on config files only: you create one to start a
new instance, you remove it to remove an instance, you touch it to reload
an instance. No script, nor funny permission issues (you can choose the
directory in which config files are looked up).

In addition to this, 0.9.6 is near to end-of-maintainance (june 2012), so
upgrading to 1.x would be in general a better choice.


-- 
Roberto De Ioris
http://unbit.it


[web2py] uwsgi configuration: why many lines in /root/var/log/uwsgi-python/web2py log : routing 0 routes 0 ?

2012-02-09 Thread Niphlod
ok, 
this line is dne by uwsgi, and I don't know how to turn it off.
Thu Feb  9 17:58:12 2012 - routing 0 routes 0

if you have memory report on, there will be also a line like

{address space usage: 46809088 bytes/44MB} {rss usage: 34369536 bytes/32MB} 
[pid: 17838|app: 0|req: 23/90] 188.10.176.36 () {44 vars in 901 bytes} [Thu 
Feb  9 17:58:12 2012] GET /app/default/index = generated 12313 bytes in 
420 msecs (HTTP/1.1 200) 6 headers in 308 bytes (0 async switches on async 
core 0)

let's wait for someone better than me or roberto himself to know if also 
the routing 0 routes 0 can be toggled by some directive :D


Re: [web2py] uwsgi configuration: why many lines in /root/var/log/uwsgi-python/web2py log : routing 0 routes 0 ?

2012-02-09 Thread Roberto De Ioris

 ok,
 this line is dne by uwsgi, and I don't know how to turn it off.
 Thu Feb  9 17:58:12 2012 - routing 0 routes 0

 if you have memory report on, there will be also a line like

 {address space usage: 46809088 bytes/44MB} {rss usage: 34369536
 bytes/32MB}
 [pid: 17838|app: 0|req: 23/90] 188.10.176.36 () {44 vars in 901 bytes}
 [Thu
 Feb  9 17:58:12 2012] GET /app/default/index = generated 12313 bytes in
 420 msecs (HTTP/1.1 200) 6 headers in 308 bytes (0 async switches on async
 core 0)

 let's wait for someone better than me or roberto himself to know if also
 the routing 0 routes 0 can be toggled by some directive :D


Those lines are printed when UWSGI_ROUTING c constant is defined and the
only way to do that is passing -DUWSGI_ROUTING to the makefile. The funny
thing is that uWSGI routing has been only really added in 1.1 (still
unreleased) so i really do not know why you have that flag turned on :)

-- 
Roberto De Ioris
http://unbit.it


Re: [web2py] uwsgi configuration: why many lines in /root/var/log/uwsgi-python/web2py log : routing 0 routes 0 ?

2012-02-09 Thread Niphlod
strange, really :D

I don't mind if that turns out in the logging, but I have the same behaviour

niphlod@platypus:~$ uwsgi-python --version
uWSGI 0.9.6.8

I use uwsgi-python in production /usr/bin/uwsgi-python . If I recall 
correctly that is a symbolic link to `/etc/alternatives/uwsgi-python', and 
that one is afile  symbolic link to `/usr/bin/uwsgi-python2.6' 
I then have a /usr/bin/uwsgi that is the result of pip-installing uwsgi 
package: actually I'm experimenting on dropping the uwsgi-python package 
(some real mess to understand clearly, at least for me, especially with its 
/etc/init.d scripts) . With the emperor mode it's really easier to manage 
apps Maybe some shared libraries between versions ? 



Re: [web2py] uwsgi configuration: why many lines in /root/var/log/uwsgi-python/web2py log : routing 0 routes 0 ?

2012-02-09 Thread Carlos
I installed uwsgi via:

   add-apt-repository  ppa:uwsgi/release

So there's nothing I can do to turn this logging off?.

Thanks.