Hi Jeff, carloc,

server.sh is for the fastcgi server, which is multi-threaded but requires
some extra config that we don't help enough with just yet. We recommend
against fastcgi, due to some memory issues we've seen where processes grow
out of control. Whether that's since been fixed, or whether it's a Django or
fastcgi issue, we don't know. We pretty strongly recommend mod_python.

devserver.sh is the single-threaded server, which certainly should not be
used in any production environment. Load times for even a single user are
greatly affected.

Jeff's instructions should be useful to you. However, one recent change is
that contrib/conf/apache-modpython.conf.in is now intended for rb-site's use
only, as it's a sort of template file with a bunch of variables that are
substituted. When you use rb-site to install your site directory (see
http://www.review-board.org/docs/GettingStarted), a
conf/apache-modpython.conf will exist in your new site directory, which will
contain a correct configuration for Review Board.


Christian Hammond - chip...@chipx86.com
VMware, Inc.

On Mon, Jan 5, 2009 at 9:53 AM, Jeff Andros <j...@bigredtj.com> wrote:

> server.sh simply calls manage.py.  There's been some discussion of this,
> and Christian may need to correct me, but this is a single-threaded
> webserver.  It's never undergone the optimization that a real web server
> like apache or lighttpd has.  Being single threaded, it's going to be slow
> as all-get-out, and you don't really want more than one person to run it at
> a time... kind of killing the point of reviews.  If you're on ubuntu, it's
> really easy to install apache, something like (I'm doing this from memory,
> and it's been a while, so it may need some jiggling to get exactly right,
> but not much):
> sudo apt-get install apache2 libapache2-mod-python
> then copy apache-modpython.conf.in from the contrib/conf directory in
> reviewboard into /etc/apache2/sites-available (I'm not sure, but the new
> install process might do this for you)
> the last step is to enable your new site:
> sudo a2ensite apache-modpython.conf.in
> sudo a2dissite default # this is the default site... we don't want it
> sudo /etc/init.d/apache2 reload # reload the apache server configuration
> Jeff
> O|||||||O
> 2009/1/5 carloc <carlo.camer...@gmail.com>
>> Hi,
>> Can I use Server.sh for running reviewboard instead of installing it
>> to a web server.
>> If so, where do I put the configuration for connecting to a postgresql
>> database.
>> I would like to be able to run reviewboard on an ubuntu box.
>> Carlo
> >

You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to