]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/bugs/Intermittent_delays_after_editing__63__.mdwn
created
[git.ikiwiki.info.git] / doc / bugs / Intermittent_delays_after_editing__63__.mdwn
1 Steps to reproduce:
3  * Running ikiwiki version 3.20130904.1ubuntu1 on Ubuntu 14.04 LTS
4  * ikiwiki accessed via `https://DOMAIN/wiki/ikiwiki.cgi` using fcgiwrap and Nginx
5  * Start ikiwiki site
6  * Edit an existing page
8 What should happen:
10  * Change is immediately available
12 What happens instead:
14  * Change is sometimes not immediately available
15  * After (approx) 1-2 minutes, change is available
17 Other notes:
19  * Similarly for creating new pages
20  * Not consistent (the next edit may be visible immediately)
21  * If changes are visible from one browser, may not be visible from another browser on a different machine, logged in as the same user (admin)
22  * Seems to be happening less / not at all after running the site for approx 30-60 minutes
23  * fcgiwrap is invoked with Supervisor (aka supervisord)
24  * Related Nginx location blocks:
26 ```
27 # non-wiki files at DOMAIN/...
28 location / {
29     try_files $uri $uri/ /index.html =404;
30 }
32 # wiki files at DOMAIN/wiki
33 location /wiki {
34     alias /home/USERNAME/public_html/WIKINAME;
35 }
37 # wiki script at DOMAIN/wiki/ikiwiki.cgi
38 location /wiki/ikiwiki.cgi {
39     fastcgi_pass  unix:/tmp/fcgi.socket;
40     fastcgi_index ikiwiki.cgi;
41     fastcgi_param SCRIPT_FILENAME    /home/USERNAME/public_html/WIKINAME/ikiwiki.cgi;
42     fastcgi_param DOCUMENT_ROOT    /home/USERNAME/public_html/WIKINAME;
43     include /etc/nginx/fastcgi_params;
44 }
45 ```
47 Please let me know if this is expected/known, and/or if there's anything helpful I can add to the report.