This is a snapshot of Indico's old Trac site. Any information contained herein is most probably outdated. Access our new GitHub site here.

#1477 closed defect (fixed)

Slow first of loading of indico main page

Reported by: mvala Owned by:
Priority: normal Milestone: v1.2
Component: General Version: 1.1
Keywords: Cc:

Description

Dear support,

I just created indico web page (https://wiki.saske.sk/indico) and when client is loading it even from local network it takes quite while to load it (5 sec). After that browsing is going quite fast, but randomly from time to time it loading is slow again. Is it OK? Did i configure something wrong?

Thanks

Ciao

Martin

Change History (3)

comment:1 Changed 20 months ago by jbenito

  • Milestone set to v1.2
  • Status changed from new to infoneeded_new

Hi,

I am pretty sure this is because of the configuration of Apache (I've seen something similar before). The reason is that WSGI processes should be up and running waiting for requests, otherwise they take a while to warm up at the beginning.

Your apache should be configured in pre-forked mode, something like this (depending on the RAM of your server):

<IfModule prefork.c>
StartServers       8
MinSpareServers    5
MaxSpareServers   20
ServerLimit      256
MaxClients       256
MaxRequestsPerChild  4000
</IfModule>

as well, make sure that WSGI configuration is similar to this one (1 thread and many processes):

WSGIDaemonProcess WSGIDAEMON processes=30 threads=1 inactivity-timeout=3600 maximum-requests=500 \
        python-eggs=/opt/indico/tmp/egg-cache

Could you confirm if this is fixing the issue?

Thanks.

Version 0, edited 20 months ago by jbenito (next)

comment:2 Changed 20 months ago by mvala

It seems to me that yes. Thanks for support. You can close it. I will reopen in case of problems

Ciao

Martin

comment:3 Changed 20 months ago by jbenito

  • Resolution set to fixed
  • Status changed from infoneeded_new to closed
Note: See TracTickets for help on using tickets.