On Friday, February 7, 2014 7:40:10 AM UTC+2, Christian Hammond wrote: > > If you repeat that wget test, say, 10 times, does that delay stay > consistent? >
Yes > When using mod_wsgi in embedded mode (which is what the standard > configuration files make use of), Apache needs to load in all the modules > and go through our initialization each time it sets up a new process (or > worker thread, in your case). That's a first-time penalty, and depending on > your main Apache setup, can be noticeable. However, after those > processes/workers are primed, it should load fast. > > We recommend using Apache with prefork instead of workers, though. You'll > have fewer issues with that setup using Django and Review Board. > Switched to prefork. Almost the same. Now if i run wget for 10 times, sometimes only the first request takes long, but its like 10% max. What bothers me is the consistent 3 seconds minimum request time (not 4 not 5 and not 2). Could this be some sort of timeout? Any more ideas? > Christian > > -- > Christian Hammond - [email protected] <javascript:> > Review Board - http://www.reviewboard.org > Beanbag, Inc. - http://www.beanbaginc.com > > > On Thu, Feb 6, 2014 at 9:19 PM, Gytis <[email protected] <javascript:>>wrote: > >> Hi, >> >> there is no proxy, and wget i've shown was executed on the same machine, >> so this should not be a network issue. I also have jenkins running on the >> same machine, and it's fast, so once again - i guess not a network issue >> >> >> On Thursday, February 6, 2014 9:36:10 PM UTC+2, Christian Hammond wrote: >> >>> Hi, >>> >>> That's definitely not normal. You shouldn't be experiencing that level >>> of slowness. >>> >>> Do you have an HTTP proxy configured on your browser? If so, make sure >>> the domain is in the exception list. >>> >>> What happens if you repeat the same test on the server itself? That'll >>> help rule out a networking issue. >>> >>> Christian >>> >>> -- >>> Christian Hammond - [email protected] >>> >>> Review Board - http://www.reviewboard.org >>> Beanbag, Inc. - http://www.beanbaginc.com >>> >>> >>> On Thu, Feb 6, 2014 at 11:14 AM, Gytis <[email protected]> wrote: >>> >>>> Hi, just installed reviewboard on brand new server. And it is very >>>> very slow. >>>> >>>> It takes > 3 seconds to load the dashboard, and there almost none >>>> reviews, three users, and three github private organization repositories. >>>> Example of wget from local machine: >>>> >>>> wget http://review.mydomain.xx/dashboard/ >>>> --2014-02-06 20:06:00-- http://review.mydomain.xx/dashboard/ >>>> Resolving review.mydomain.xx (review.mydomain.xx)... 10.69.69.1 >>>> Connecting to review.mydomain.xx (review.mydomain.xx)|10.69.69.1|:80... >>>> connected. >>>> HTTP request sent, awaiting response... 302 FOUND >>>> Location: http://review.mydomain.xx/account/login/?next_page=/ >>>> dashboard/ [following] >>>> --2014-02-06 20:06:03-- http://review.mydomain.xx/ >>>> account/login/?next_page=/dashboard/ >>>> Connecting to review.mydomain.xx (review.mydomain.xx)|10.69.69.1|:80... >>>> connected. >>>> HTTP request sent, awaiting response... 200 OK >>>> >>>> Same goes with mos other pagesWhere should i start looking? >>>> >>>> Setup: >>>> Server Intel i7-4770, 32GB Ram, SSD disk >>>> Reviewboard 1.7.21 >>>> Ubuntu 12.04.4 64bit >>>> Apache/2.2.22 (Ubuntu), Worker >>>> Reviewboard is mapped via WSGI (default config) >>>> Using memcache >>>> Postgresql database >>>> >>>> >>>> -- >>>> Get the Review Board Power Pack at http://www.reviewboard.org/ >>>> powerpack/ >>>> --- >>>> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ >>>> --- >>>> Happy user? Let us know at http://www.reviewboard.org/users/ >>>> --- >>>> You received this message because you are subscribed to the Google >>>> Groups "reviewboard" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> >>>> For more options, visit https://groups.google.com/groups/opt_out. >>>> >>> >>> -- >> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ >> --- >> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ >> --- >> Happy user? Let us know at http://www.reviewboard.org/users/ >> --- >> You received this message because you are subscribed to the Google Groups >> "reviewboard" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
