Re: [web2py] Re: Web2py application running very slow on rocket server in production mode

2015-07-13 Thread Dave S


On Saturday, July 11, 2015 at 8:49:39 PM UTC-7, Ramashish Gaurav wrote:

 Hello Dave,

 Problem is now solved. A security certificate for the application had to 
 be added in SELinux. Thanks for your interest. 

 Regards,
 Ramashish



Glad to hear you've got it going!

/dps
 

 On Friday, July 10, 2015 at 11:17:11 PM UTC+5:30, Dave S wrote:



 On Friday, July 10, 2015 at 10:34:15 AM UTC-7, Dave S wrote:



 On Friday, July 10, 2015 at 2:25:26 AM UTC-7, Ramashish Gaurav wrote:

 Hello all !

 I ran the scripts for installing apache + web2py +   as specified 
 in the chapter 29, but a strange behaviour is shown. Suppose my server IP 
 is a.b.c.d , then I am able to access  a.b.c.d/examples, whereas when I 
 try to access  a.b.c.d/welcome or a.b.c.d/admin, it throws a ticket 
 error, 
 and then when I click on the ticket to see the error, it directs me to the 
 Login to Administrative Interface page to enter admin password. After 
 entering it , I am redirected to same ticket error page, again on clicking 
 the link, Login to Administrative Interface page appears and the cycle 
 continues... 

 Please help me with it ! 


 The Administrative Interface is restricted, in that you need to access 
 from a *local* client or from *https*.  That said, what ever is causing 
 the welcome app to throw tickets may well be causing the admin app to, but 
 the tickets are text files at web2py/applications/welcome/errors.
  



 And for the admin app, web2py/applications/admin/errors.

 /dps



-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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/d/optout.


Re: [web2py] Re: Web2py application running very slow on rocket server in production mode

2015-07-11 Thread Ramashish Gaurav
Hello Richard !

The OS is RHEL 4.0 . And web2py version was 2.11.x ... The latest one. 
However theproblem was figured out by one of my mentors. It was because the 
application was blocked in SELinux. As he said it is necessary to add a 
security certificate for the application in SELinux. 

However I did not understand a bit about his debugging procedure... But the 
application is really running well on apache now! Thanks for all your 
efforts and consideration! 

Regards,
Ramashish 

On Friday, July 10, 2015 at 10:57:36 PM UTC+5:30, Richard wrote:

 Which script?
 What OS?
 Which web2py version?

 If you want more help, you will need to answer at least these questions...

 :)

 Richard

 On Fri, Jul 10, 2015 at 5:25 AM, Ramashish Gaurav ramas...@gmail.com 
 javascript: wrote:

 Hello all !

 I ran the scripts for installing apache + web2py +   as specified in 
 the chapter 29, but a strange behaviour is shown. Suppose my server IP is 
 a.b.c.d.e , then I am able to access  a.b.c.d/examples, whereas when I try 
 to access  a.b.c.d/welcome or a.b.c.d/admin, it throws a ticket error, and 
 then when I click on the ticket to see the error, it directs me to the 
 Login to Administrative Interface page to enter admin password. After 
 entering it , I am redirected to same ticket error page, again on clicking 
 the link, Login to Administrative Interface page appears and the cycle 
 continues... 

 Please help me with it ! 

 On Thursday, July 9, 2015 at 12:47:29 PM UTC+5:30, Ramashish Gaurav wrote:

 Yes Richard.. I am going through that specific chapter to deployment 
 recipe.. I'll let you and others know about if I run into an issue. 

 On Thursday, July 9, 2015 at 12:41:15 AM UTC+5:30, Richard wrote:

 It depends of so many factor... Let say the connection of his machine...

 About the script they are named base on the OS and version you should 
 read them and try to understand I can't detailed step by step for you I 
 don't have time... But if you read the book, deployment recipe are 
 explained once you understand the basic, you may consider the scripts as a 
 short cuts to cook the recipe detailed in the book...

 Richard

 On Wed, Jul 8, 2015 at 10:55 AM, António Ramos ramst...@gmail.com 
 wrote:

 a  server with 8 GB of RAM, 8 Core processor should not be slow even 
 with rocket.

 Maybe your code is not very clean :P

 I had web2py running in a raspberry pi


 2015-07-08 6:49 GMT+01:00 Ramashish Gaurav ramas...@gmail.com:

 Hello Richard,

 I appreciate your interest in my issue. I tried looking into the 
 script folder of web2py, however did not find any stage/production 
 file 
 or script. Can you please explain in detail what you are trying to say. 

 On Wednesday, July 8, 2015 at 12:37:16 AM UTC+5:30, Richard wrote:

 Rocket is for development... Apache, Nginx IIS (microsoft web 
 server), etc. are production web servers...

 You may have a look in web2py scripts folder there is basic 
 stage/production facilitating script that may help you set up you 
 production environment... Let says at start more a stage 
 environment...

 Richard

 On Tue, Jul 7, 2015 at 3:04 PM, Ramashish Gaurav ramas...@gmail.com
  wrote:

 Hello Leonel!

 Thanks for your interest. Can you explain a bit more about IIS and 
 fastcgi How to use it ? Is it an alternative to Apache or Rocket 
 or is 
 it just for running  testing phase of the app? 

 On Tuesday, July 7, 2015 at 10:41:46 PM UTC+5:30, Leonel Câmara 
 wrote:

 Well rocket is slow. Use IIS and fastcgi.

  -- 
 Resources:
 - http://web2py.com
 - http://web2py.com/book (Documentation)
 - http://github.com/web2py/web2py (Source code)
 - https://code.google.com/p/web2py/issues/list (Report Issues)
 --- 
 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+un...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


  -- 
 Resources:
 - http://web2py.com
 - http://web2py.com/book (Documentation)
 - http://github.com/web2py/web2py (Source code)
 - https://code.google.com/p/web2py/issues/list (Report Issues)
 --- 
 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+un...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


  -- 
 Resources:
 - http://web2py.com
 - http://web2py.com/book (Documentation)
 - http://github.com/web2py/web2py (Source code)
 - https://code.google.com/p/web2py/issues/list (Report Issues)
 --- 
 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+un...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


  -- 
 Resources:
 - 

Re: [web2py] Re: Web2py application running very slow on rocket server in production mode

2015-07-11 Thread Ramashish Gaurav
Hello Dave,

Problem is now solved. A security certificate for the application had to be 
added in SELinux. Thanks for your interest. 

Regards,
Ramashish

On Friday, July 10, 2015 at 11:17:11 PM UTC+5:30, Dave S wrote:



 On Friday, July 10, 2015 at 10:34:15 AM UTC-7, Dave S wrote:



 On Friday, July 10, 2015 at 2:25:26 AM UTC-7, Ramashish Gaurav wrote:

 Hello all !

 I ran the scripts for installing apache + web2py +   as specified in 
 the chapter 29, but a strange behaviour is shown. Suppose my server IP is 
 a.b.c.d , then I am able to access  a.b.c.d/examples, whereas when I try 
 to access  a.b.c.d/welcome or a.b.c.d/admin, it throws a ticket error, and 
 then when I click on the ticket to see the error, it directs me to the 
 Login to Administrative Interface page to enter admin password. After 
 entering it , I am redirected to same ticket error page, again on clicking 
 the link, Login to Administrative Interface page appears and the cycle 
 continues... 

 Please help me with it ! 


 The Administrative Interface is restricted, in that you need to access 
 from a *local* client or from *https*.  That said, what ever is causing 
 the welcome app to throw tickets may well be causing the admin app to, but 
 the tickets are text files at web2py/applications/welcome/errors.
  



 And for the admin app, web2py/applications/admin/errors.

 /dps



-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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/d/optout.


Re: [web2py] Re: Web2py application running very slow on rocket server in production mode

2015-07-10 Thread Ramashish Gaurav
Hello all !

I ran the scripts for installing apache + web2py +   as specified in 
the chapter 29, but a strange behaviour is shown. Suppose my server IP is 
a.b.c.d.e , then I am able to access  a.b.c.d/examples, whereas when I try 
to access  a.b.c.d/welcome or a.b.c.d/admin, it throws a ticket error, and 
then when I click on the ticket to see the error, it directs me to the 
Login to Administrative Interface page to enter admin password. After 
entering it , I am redirected to same ticket error page, again on clicking 
the link, Login to Administrative Interface page appears and the cycle 
continues... 

Please help me with it ! 

On Thursday, July 9, 2015 at 12:47:29 PM UTC+5:30, Ramashish Gaurav wrote:

 Yes Richard.. I am going through that specific chapter to deployment 
 recipe.. I'll let you and others know about if I run into an issue. 

 On Thursday, July 9, 2015 at 12:41:15 AM UTC+5:30, Richard wrote:

 It depends of so many factor... Let say the connection of his machine...

 About the script they are named base on the OS and version you should 
 read them and try to understand I can't detailed step by step for you I 
 don't have time... But if you read the book, deployment recipe are 
 explained once you understand the basic, you may consider the scripts as a 
 short cuts to cook the recipe detailed in the book...

 Richard

 On Wed, Jul 8, 2015 at 10:55 AM, António Ramos ramst...@gmail.com 
 wrote:

 a  server with 8 GB of RAM, 8 Core processor should not be slow even 
 with rocket.

 Maybe your code is not very clean :P

 I had web2py running in a raspberry pi


 2015-07-08 6:49 GMT+01:00 Ramashish Gaurav ramas...@gmail.com:

 Hello Richard,

 I appreciate your interest in my issue. I tried looking into the script 
 folder of web2py, however did not find any stage/production file or 
 script. Can you please explain in detail what you are trying to say. 

 On Wednesday, July 8, 2015 at 12:37:16 AM UTC+5:30, Richard wrote:

 Rocket is for development... Apache, Nginx IIS (microsoft web server), 
 etc. are production web servers...

 You may have a look in web2py scripts folder there is basic 
 stage/production facilitating script that may help you set up you 
 production environment... Let says at start more a stage 
 environment...

 Richard

 On Tue, Jul 7, 2015 at 3:04 PM, Ramashish Gaurav ramas...@gmail.com 
 wrote:

 Hello Leonel!

 Thanks for your interest. Can you explain a bit more about IIS and 
 fastcgi How to use it ? Is it an alternative to Apache or Rocket or 
 is 
 it just for running  testing phase of the app? 

 On Tuesday, July 7, 2015 at 10:41:46 PM UTC+5:30, Leonel Câmara wrote:

 Well rocket is slow. Use IIS and fastcgi.

  -- 
 Resources:
 - http://web2py.com
 - http://web2py.com/book (Documentation)
 - http://github.com/web2py/web2py (Source code)
 - https://code.google.com/p/web2py/issues/list (Report Issues)
 --- 
 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+un...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


  -- 
 Resources:
 - http://web2py.com
 - http://web2py.com/book (Documentation)
 - http://github.com/web2py/web2py (Source code)
 - https://code.google.com/p/web2py/issues/list (Report Issues)
 --- 
 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+un...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


  -- 
 Resources:
 - http://web2py.com
 - http://web2py.com/book (Documentation)
 - http://github.com/web2py/web2py (Source code)
 - https://code.google.com/p/web2py/issues/list (Report Issues)
 --- 
 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+un...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.




-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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/d/optout.


Re: [web2py] Re: Web2py application running very slow on rocket server in production mode

2015-07-10 Thread Dave S


On Friday, July 10, 2015 at 2:25:26 AM UTC-7, Ramashish Gaurav wrote:

 Hello all !

 I ran the scripts for installing apache + web2py +   as specified in 
 the chapter 29, but a strange behaviour is shown. Suppose my server IP is 
 a.b.c.d , then I am able to access  a.b.c.d/examples, whereas when I try 
 to access  a.b.c.d/welcome or a.b.c.d/admin, it throws a ticket error, and 
 then when I click on the ticket to see the error, it directs me to the 
 Login to Administrative Interface page to enter admin password. After 
 entering it , I am redirected to same ticket error page, again on clicking 
 the link, Login to Administrative Interface page appears and the cycle 
 continues... 

 Please help me with it ! 


The Administrative Interface is restricted, in that you need to access from 
a *local* client or from *https*.  That said, what ever is causing the 
welcome app to throw tickets may well be causing the admin app to, but the 
tickets are text files at web2py/applications/welcome/errors.
 
/dps

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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/d/optout.


Re: [web2py] Re: Web2py application running very slow on rocket server in production mode

2015-07-10 Thread Dave S


On Friday, July 10, 2015 at 10:34:15 AM UTC-7, Dave S wrote:



 On Friday, July 10, 2015 at 2:25:26 AM UTC-7, Ramashish Gaurav wrote:

 Hello all !

 I ran the scripts for installing apache + web2py +   as specified in 
 the chapter 29, but a strange behaviour is shown. Suppose my server IP is 
 a.b.c.d , then I am able to access  a.b.c.d/examples, whereas when I try 
 to access  a.b.c.d/welcome or a.b.c.d/admin, it throws a ticket error, and 
 then when I click on the ticket to see the error, it directs me to the 
 Login to Administrative Interface page to enter admin password. After 
 entering it , I am redirected to same ticket error page, again on clicking 
 the link, Login to Administrative Interface page appears and the cycle 
 continues... 

 Please help me with it ! 


 The Administrative Interface is restricted, in that you need to access 
 from a *local* client or from *https*.  That said, what ever is causing 
 the welcome app to throw tickets may well be causing the admin app to, but 
 the tickets are text files at web2py/applications/welcome/errors.
  



And for the admin app, web2py/applications/admin/errors.

/dps

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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/d/optout.


Re: [web2py] Re: Web2py application running very slow on rocket server in production mode

2015-07-10 Thread Richard Vézina
Which script?
What OS?
Which web2py version?

If you want more help, you will need to answer at least these questions...

:)

Richard

On Fri, Jul 10, 2015 at 5:25 AM, Ramashish Gaurav ramashis...@gmail.com
wrote:

 Hello all !

 I ran the scripts for installing apache + web2py +   as specified in
 the chapter 29, but a strange behaviour is shown. Suppose my server IP is
 a.b.c.d.e , then I am able to access  a.b.c.d/examples, whereas when I try
 to access  a.b.c.d/welcome or a.b.c.d/admin, it throws a ticket error, and
 then when I click on the ticket to see the error, it directs me to the
 Login to Administrative Interface page to enter admin password. After
 entering it , I am redirected to same ticket error page, again on clicking
 the link, Login to Administrative Interface page appears and the cycle
 continues...

 Please help me with it !

 On Thursday, July 9, 2015 at 12:47:29 PM UTC+5:30, Ramashish Gaurav wrote:

 Yes Richard.. I am going through that specific chapter to deployment
 recipe.. I'll let you and others know about if I run into an issue.

 On Thursday, July 9, 2015 at 12:41:15 AM UTC+5:30, Richard wrote:

 It depends of so many factor... Let say the connection of his machine...

 About the script they are named base on the OS and version you should
 read them and try to understand I can't detailed step by step for you I
 don't have time... But if you read the book, deployment recipe are
 explained once you understand the basic, you may consider the scripts as a
 short cuts to cook the recipe detailed in the book...

 Richard

 On Wed, Jul 8, 2015 at 10:55 AM, António Ramos ramst...@gmail.com
 wrote:

 a  server with 8 GB of RAM, 8 Core processor should not be slow even
 with rocket.

 Maybe your code is not very clean :P

 I had web2py running in a raspberry pi


 2015-07-08 6:49 GMT+01:00 Ramashish Gaurav ramas...@gmail.com:

 Hello Richard,

 I appreciate your interest in my issue. I tried looking into the
 script folder of web2py, however did not find any stage/production file
 or script. Can you please explain in detail what you are trying to say.

 On Wednesday, July 8, 2015 at 12:37:16 AM UTC+5:30, Richard wrote:

 Rocket is for development... Apache, Nginx IIS (microsoft web
 server), etc. are production web servers...

 You may have a look in web2py scripts folder there is basic
 stage/production facilitating script that may help you set up you
 production environment... Let says at start more a stage 
 environment...

 Richard

 On Tue, Jul 7, 2015 at 3:04 PM, Ramashish Gaurav ramas...@gmail.com
 wrote:

 Hello Leonel!

 Thanks for your interest. Can you explain a bit more about IIS and
 fastcgi How to use it ? Is it an alternative to Apache or Rocket or 
 is
 it just for running  testing phase of the app?

 On Tuesday, July 7, 2015 at 10:41:46 PM UTC+5:30, Leonel Câmara
 wrote:

 Well rocket is slow. Use IIS and fastcgi.

  --
 Resources:
 - http://web2py.com
 - http://web2py.com/book (Documentation)
 - http://github.com/web2py/web2py (Source code)
 - https://code.google.com/p/web2py/issues/list (Report Issues)
 ---
 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+un...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


  --
 Resources:
 - http://web2py.com
 - http://web2py.com/book (Documentation)
 - http://github.com/web2py/web2py (Source code)
 - https://code.google.com/p/web2py/issues/list (Report Issues)
 ---
 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+un...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


  --
 Resources:
 - http://web2py.com
 - http://web2py.com/book (Documentation)
 - http://github.com/web2py/web2py (Source code)
 - https://code.google.com/p/web2py/issues/list (Report Issues)
 ---
 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+un...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


  --
 Resources:
 - http://web2py.com
 - http://web2py.com/book (Documentation)
 - http://github.com/web2py/web2py (Source code)
 - https://code.google.com/p/web2py/issues/list (Report Issues)
 ---
 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/d/optout.


-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list 

Re: [web2py] Re: Web2py application running very slow on rocket server in production mode

2015-07-09 Thread Ramashish Gaurav
Hello Ramos,

This could be an issue... However I am looking forward to install apache 
server and then check my application there... I'll post if I run  into an 
issue!

On Wednesday, July 8, 2015 at 8:25:29 PM UTC+5:30, Ramos wrote:

 a  server with 8 GB of RAM, 8 Core processor should not be slow even with 
 rocket.

 Maybe your code is not very clean :P

 I had web2py running in a raspberry pi


 2015-07-08 6:49 GMT+01:00 Ramashish Gaurav ramas...@gmail.com 
 javascript::

 Hello Richard,

 I appreciate your interest in my issue. I tried looking into the script 
 folder of web2py, however did not find any stage/production file or 
 script. Can you please explain in detail what you are trying to say. 

 On Wednesday, July 8, 2015 at 12:37:16 AM UTC+5:30, Richard wrote:

 Rocket is for development... Apache, Nginx IIS (microsoft web server), 
 etc. are production web servers...

 You may have a look in web2py scripts folder there is basic 
 stage/production facilitating script that may help you set up you 
 production environment... Let says at start more a stage environment...

 Richard

 On Tue, Jul 7, 2015 at 3:04 PM, Ramashish Gaurav ramas...@gmail.com 
 wrote:

 Hello Leonel!

 Thanks for your interest. Can you explain a bit more about IIS and 
 fastcgi How to use it ? Is it an alternative to Apache or Rocket or is 
 it just for running  testing phase of the app? 

 On Tuesday, July 7, 2015 at 10:41:46 PM UTC+5:30, Leonel Câmara wrote:

 Well rocket is slow. Use IIS and fastcgi.

  -- 
 Resources:
 - http://web2py.com
 - http://web2py.com/book (Documentation)
 - http://github.com/web2py/web2py (Source code)
 - https://code.google.com/p/web2py/issues/list (Report Issues)
 --- 
 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+un...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


  -- 
 Resources:
 - http://web2py.com
 - http://web2py.com/book (Documentation)
 - http://github.com/web2py/web2py (Source code)
 - https://code.google.com/p/web2py/issues/list (Report Issues)
 --- 
 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+un...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/d/optout.




-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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/d/optout.


Re: [web2py] Re: Web2py application running very slow on rocket server in production mode

2015-07-09 Thread Ramashish Gaurav
Hello Niphlod !,

Thanks for your interest... I had already went through the section you 
suggested. However I faced a technical issue on installing FastCGI on IIS 
8, so I am switching to apache server installation given in the same 
chapter of the book for red hat.. I'll post again if some issue occurs!

Thanks again,
Ramashish

On Thursday, July 9, 2015 at 12:54:14 AM UTC+5:30, Niphlod wrote:

 the book has a recipe for running web2py under iis

 http://web2py.com/books/default/chapter/29/13/deployment-recipes#IIS

 there are a few steps involved but are far more easier than setting up 
 apache + mod_wsgi, and it's far more performant by default.
 That setup is production-ready.

 there's also a powershell setup script ready in the scripts folder, namely 
 https://github.com/web2py/web2py/blob/master/scripts/setup-web2py-ws2012r2.ps1:
  
 it's production-ready to, but it intended to allow deploying on a clean host


-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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/d/optout.


Re: [web2py] Re: Web2py application running very slow on rocket server in production mode

2015-07-09 Thread Ramashish Gaurav
Yes Richard.. I am going through that specific chapter to deployment 
recipe.. I'll let you and others know about if I run into an issue. 

On Thursday, July 9, 2015 at 12:41:15 AM UTC+5:30, Richard wrote:

 It depends of so many factor... Let say the connection of his machine...

 About the script they are named base on the OS and version you should read 
 them and try to understand I can't detailed step by step for you I don't 
 have time... But if you read the book, deployment recipe are explained once 
 you understand the basic, you may consider the scripts as a short cuts to 
 cook the recipe detailed in the book...

 Richard

 On Wed, Jul 8, 2015 at 10:55 AM, António Ramos ramst...@gmail.com 
 javascript: wrote:

 a  server with 8 GB of RAM, 8 Core processor should not be slow even with 
 rocket.

 Maybe your code is not very clean :P

 I had web2py running in a raspberry pi


 2015-07-08 6:49 GMT+01:00 Ramashish Gaurav ramas...@gmail.com 
 javascript::

 Hello Richard,

 I appreciate your interest in my issue. I tried looking into the script 
 folder of web2py, however did not find any stage/production file or 
 script. Can you please explain in detail what you are trying to say. 

 On Wednesday, July 8, 2015 at 12:37:16 AM UTC+5:30, Richard wrote:

 Rocket is for development... Apache, Nginx IIS (microsoft web server), 
 etc. are production web servers...

 You may have a look in web2py scripts folder there is basic 
 stage/production facilitating script that may help you set up you 
 production environment... Let says at start more a stage environment...

 Richard

 On Tue, Jul 7, 2015 at 3:04 PM, Ramashish Gaurav ramas...@gmail.com 
 wrote:

 Hello Leonel!

 Thanks for your interest. Can you explain a bit more about IIS and 
 fastcgi How to use it ? Is it an alternative to Apache or Rocket or 
 is 
 it just for running  testing phase of the app? 

 On Tuesday, July 7, 2015 at 10:41:46 PM UTC+5:30, Leonel Câmara wrote:

 Well rocket is slow. Use IIS and fastcgi.

  -- 
 Resources:
 - http://web2py.com
 - http://web2py.com/book (Documentation)
 - http://github.com/web2py/web2py (Source code)
 - https://code.google.com/p/web2py/issues/list (Report Issues)
 --- 
 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+un...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


  -- 
 Resources:
 - http://web2py.com
 - http://web2py.com/book (Documentation)
 - http://github.com/web2py/web2py (Source code)
 - https://code.google.com/p/web2py/issues/list (Report Issues)
 --- 
 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+un...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/d/optout.


  -- 
 Resources:
 - http://web2py.com
 - http://web2py.com/book (Documentation)
 - http://github.com/web2py/web2py (Source code)
 - https://code.google.com/p/web2py/issues/list (Report Issues)
 --- 
 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+un...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/d/optout.




-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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/d/optout.


Re: [web2py] Re: Web2py application running very slow on rocket server in production mode

2015-07-08 Thread António Ramos
a  server with 8 GB of RAM, 8 Core processor should not be slow even with
rocket.

Maybe your code is not very clean :P

I had web2py running in a raspberry pi


2015-07-08 6:49 GMT+01:00 Ramashish Gaurav ramashis...@gmail.com:

 Hello Richard,

 I appreciate your interest in my issue. I tried looking into the script
 folder of web2py, however did not find any stage/production file or
 script. Can you please explain in detail what you are trying to say.

 On Wednesday, July 8, 2015 at 12:37:16 AM UTC+5:30, Richard wrote:

 Rocket is for development... Apache, Nginx IIS (microsoft web server),
 etc. are production web servers...

 You may have a look in web2py scripts folder there is basic
 stage/production facilitating script that may help you set up you
 production environment... Let says at start more a stage environment...

 Richard

 On Tue, Jul 7, 2015 at 3:04 PM, Ramashish Gaurav ramas...@gmail.com
 wrote:

 Hello Leonel!

 Thanks for your interest. Can you explain a bit more about IIS and
 fastcgi How to use it ? Is it an alternative to Apache or Rocket or is
 it just for running  testing phase of the app?

 On Tuesday, July 7, 2015 at 10:41:46 PM UTC+5:30, Leonel Câmara wrote:

 Well rocket is slow. Use IIS and fastcgi.

  --
 Resources:
 - http://web2py.com
 - http://web2py.com/book (Documentation)
 - http://github.com/web2py/web2py (Source code)
 - https://code.google.com/p/web2py/issues/list (Report Issues)
 ---
 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+un...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


  --
 Resources:
 - http://web2py.com
 - http://web2py.com/book (Documentation)
 - http://github.com/web2py/web2py (Source code)
 - https://code.google.com/p/web2py/issues/list (Report Issues)
 ---
 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/d/optout.


-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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/d/optout.


Re: [web2py] Re: Web2py application running very slow on rocket server in production mode

2015-07-08 Thread Niphlod
the book has a recipe for running web2py under iis

http://web2py.com/books/default/chapter/29/13/deployment-recipes#IIS

there are a few steps involved but are far more easier than setting up 
apache + mod_wsgi, and it's far more performant by default.
That setup is production-ready.

there's also a powershell setup script ready in the scripts folder, 
namely 
https://github.com/web2py/web2py/blob/master/scripts/setup-web2py-ws2012r2.ps1: 
it's production-ready to, but it intended to allow deploying on a clean host

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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/d/optout.


Re: [web2py] Re: Web2py application running very slow on rocket server in production mode

2015-07-08 Thread Richard Vézina
It depends of so many factor... Let say the connection of his machine...

About the script they are named base on the OS and version you should read
them and try to understand I can't detailed step by step for you I don't
have time... But if you read the book, deployment recipe are explained once
you understand the basic, you may consider the scripts as a short cuts to
cook the recipe detailed in the book...

Richard

On Wed, Jul 8, 2015 at 10:55 AM, António Ramos ramstei...@gmail.com wrote:

 a  server with 8 GB of RAM, 8 Core processor should not be slow even with
 rocket.

 Maybe your code is not very clean :P

 I had web2py running in a raspberry pi


 2015-07-08 6:49 GMT+01:00 Ramashish Gaurav ramashis...@gmail.com:

 Hello Richard,

 I appreciate your interest in my issue. I tried looking into the script
 folder of web2py, however did not find any stage/production file or
 script. Can you please explain in detail what you are trying to say.

 On Wednesday, July 8, 2015 at 12:37:16 AM UTC+5:30, Richard wrote:

 Rocket is for development... Apache, Nginx IIS (microsoft web server),
 etc. are production web servers...

 You may have a look in web2py scripts folder there is basic
 stage/production facilitating script that may help you set up you
 production environment... Let says at start more a stage environment...

 Richard

 On Tue, Jul 7, 2015 at 3:04 PM, Ramashish Gaurav ramas...@gmail.com
 wrote:

 Hello Leonel!

 Thanks for your interest. Can you explain a bit more about IIS and
 fastcgi How to use it ? Is it an alternative to Apache or Rocket or is
 it just for running  testing phase of the app?

 On Tuesday, July 7, 2015 at 10:41:46 PM UTC+5:30, Leonel Câmara wrote:

 Well rocket is slow. Use IIS and fastcgi.

  --
 Resources:
 - http://web2py.com
 - http://web2py.com/book (Documentation)
 - http://github.com/web2py/web2py (Source code)
 - https://code.google.com/p/web2py/issues/list (Report Issues)
 ---
 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+un...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


  --
 Resources:
 - http://web2py.com
 - http://web2py.com/book (Documentation)
 - http://github.com/web2py/web2py (Source code)
 - https://code.google.com/p/web2py/issues/list (Report Issues)
 ---
 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/d/optout.


  --
 Resources:
 - http://web2py.com
 - http://web2py.com/book (Documentation)
 - http://github.com/web2py/web2py (Source code)
 - https://code.google.com/p/web2py/issues/list (Report Issues)
 ---
 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/d/optout.


-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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/d/optout.


[web2py] Re: Web2py application running very slow on rocket server in production mode

2015-07-07 Thread Leonel Câmara
Well rocket is slow. Use IIS and fastcgi.

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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/d/optout.


Re: [web2py] Re: Web2py application running very slow on rocket server in production mode

2015-07-07 Thread Richard Vézina
Rocket is for development... Apache, Nginx IIS (microsoft web server), etc.
are production web servers...

You may have a look in web2py scripts folder there is basic
stage/production facilitating script that may help you set up you
production environment... Let says at start more a stage environment...

Richard

On Tue, Jul 7, 2015 at 3:04 PM, Ramashish Gaurav ramashis...@gmail.com
wrote:

 Hello Leonel!

 Thanks for your interest. Can you explain a bit more about IIS and
 fastcgi How to use it ? Is it an alternative to Apache or Rocket or is
 it just for running  testing phase of the app?

 On Tuesday, July 7, 2015 at 10:41:46 PM UTC+5:30, Leonel Câmara wrote:

 Well rocket is slow. Use IIS and fastcgi.

  --
 Resources:
 - http://web2py.com
 - http://web2py.com/book (Documentation)
 - http://github.com/web2py/web2py (Source code)
 - https://code.google.com/p/web2py/issues/list (Report Issues)
 ---
 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/d/optout.


-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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/d/optout.


[web2py] Re: Web2py application running very slow on rocket server in production mode

2015-07-07 Thread Ramashish Gaurav
Hello Leonel!

Thanks for your interest. Can you explain a bit more about IIS and 
fastcgi How to use it ? Is it an alternative to Apache or Rocket or is 
it just for running  testing phase of the app? 

On Tuesday, July 7, 2015 at 10:41:46 PM UTC+5:30, Leonel Câmara wrote:

 Well rocket is slow. Use IIS and fastcgi.


-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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/d/optout.


Re: [web2py] Re: Web2py application running very slow on rocket server in production mode

2015-07-07 Thread Ramashish Gaurav
Hello Richard,

I appreciate your interest in my issue. I tried looking into the script 
folder of web2py, however did not find any stage/production file or 
script. Can you please explain in detail what you are trying to say. 

On Wednesday, July 8, 2015 at 12:37:16 AM UTC+5:30, Richard wrote:

 Rocket is for development... Apache, Nginx IIS (microsoft web server), 
 etc. are production web servers...

 You may have a look in web2py scripts folder there is basic 
 stage/production facilitating script that may help you set up you 
 production environment... Let says at start more a stage environment...

 Richard

 On Tue, Jul 7, 2015 at 3:04 PM, Ramashish Gaurav ramas...@gmail.com 
 javascript: wrote:

 Hello Leonel!

 Thanks for your interest. Can you explain a bit more about IIS and 
 fastcgi How to use it ? Is it an alternative to Apache or Rocket or is 
 it just for running  testing phase of the app? 

 On Tuesday, July 7, 2015 at 10:41:46 PM UTC+5:30, Leonel Câmara wrote:

 Well rocket is slow. Use IIS and fastcgi.

  -- 
 Resources:
 - http://web2py.com
 - http://web2py.com/book (Documentation)
 - http://github.com/web2py/web2py (Source code)
 - https://code.google.com/p/web2py/issues/list (Report Issues)
 --- 
 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+un...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/d/optout.




-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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/d/optout.