[web2py] Re: app design page takes a long time to load

2013-03-15 Thread Massimo Di Pierro
Strange. Anybody else seeing this?

On Friday, 15 March 2013 05:15:13 UTC-5, Rocco wrote:

 Dear all,

 after I installed web2py version 2.4.2 stable the time to load the design 
 page (pressing modify in the admin page) of a particular app is extremely 
 increases.

 Usually it takes more than 60 seconds to load, but, when done, all is 
 working well as expected.
 Using the app I don't have any delay and works fast.

 I checked the cpu usage using the linux top command, and the web2py python 
 process takes all the cpu resources when loading that app project page.

 top - 11:10:03 up 3 days, 20:39,  3 users,  load average: 0.58, 0.50, 0.56
 Tasks: 235 total,   1 running, 233 sleeping,   0 stopped,   1 zombie
 Cpu(s): 27.7%us,  6.0%sy,  0.0%ni, 66.1%id,  0.2%wa,  0.0%hi,  0.1%si,  
 0.0%st
 Mem:   4039588k total,  3765996k used,   273592k free,   192028k buffers
 Swap:  3998716k total,   685312k used,  3313404k free,   831252k cached


   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND 

  3511 rocco 20   0 1266m 321m 2624 S  104  8.2  54:44.70 python   

 I tried to restart web2py, but with same results.

 Any way to perform a debug? Any suggestions?

 Thanks in advance for your reply, Rocco


-- 

--- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [web2py] Re: app design page takes a long time to load

2013-03-15 Thread Angelo Compagnucci
Hi Rocco!

I think you can open Web2py in Ecplise and lauch it in debug mode.

When you hit the performance penalty, press the pause button and you can
start to debug the design/welcome function!

Angelo


2013/3/15 Massimo Di Pierro massimo.dipie...@gmail.com

 Strange. Anybody else seeing this?


 On Friday, 15 March 2013 05:15:13 UTC-5, Rocco wrote:

 Dear all,

 after I installed web2py version 2.4.2 stable the time to load the design
 page (pressing modify in the admin page) of a particular app is extremely
 increases.

 Usually it takes more than 60 seconds to load, but, when done, all is
 working well as expected.
 Using the app I don't have any delay and works fast.

 I checked the cpu usage using the linux top command, and the web2py
 python process takes all the cpu resources when loading that app project
 page.

 top - 11:10:03 up 3 days, 20:39,  3 users,  load average: 0.58, 0.50,
 0.56
 Tasks: 235 total,   1 running, 233 sleeping,   0 stopped,   1 zombie
 Cpu(s): 27.7%us,  6.0%sy,  0.0%ni, 66.1%id,  0.2%wa,  0.0%hi,  0.1%si,
 0.0%st
 Mem:   4039588k total,  3765996k used,   273592k free,   192028k buffers
 Swap:  3998716k total,   685312k used,  3313404k free,   831252k cached


   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND

  3511 rocco 20   0 1266m 321m 2624 S  104  8.2  54:44.70 python

 I tried to restart web2py, but with same results.

 Any way to perform a debug? Any suggestions?

 Thanks in advance for your reply, Rocco

  --

 ---
 You received this message because you are subscribed to the Google Groups
 web2py-users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to web2py+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
Profile: http://it.linkedin.com/in/compagnucciangelo

-- 

--- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.