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

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.

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

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

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,

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

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

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

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

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

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

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

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

[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

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

[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

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: