Hey guys,
yesterday I tried to solve a www/moinmoin misbehaviour.
Problem: Whenever I want to "Edit" a wiki-page it takes exactly 15 seconds until the Edit-view appears. Every other action in the wiki like viewing pages, logging in, etc. works instantaneously.
Tests:
1.) Problem appeared first under www/apache22 and I was neither able to locate the root cause nor fix it.
2.) Installed www/lighttpd to try if problem still exists. -> Yes
I will stay with lighttpd for some other reasons, so further configs etc. are specific for lighttpd.
As every click on "Edit" takes exactly 15 secs to get into the Edit-view I think it's some kind of error and timeout.
For lighttpd I switched all flags in /usr/local/etc/lighttpd/conf.d/debug.conf on, so I saw that lighttpd does apparently "nothing" (for 15 secs) between getting the HTTP-request and sending its answer (<-- only when switching to Edit-mode).
The funny thing here is: Even if I set the fcgi-idle-timeout to 2 secs every "Edit" takes 15 secs to start.
If I use the fast-cgi-script directly from lighttpd (will post configs later) it takes (roughly?) 15 seconds to get the first page served - even in View-mode.
If I use the www/spawn-fcgi via /etc/rc.conf to get the PHP/fast-cgi processes up and running beforehand, the first view gets served immediately.
So my assumption is: I have some problem with the configuration of (choose one or more): www/lighttpd, www/spawn-fcgi, www/moinmoin
Has someone out there a clue where I can "see" more what's going on there behind the scenes? As I am just beginning to learn about the spawn-fcgi usage.
Maybe I have totally ignored something obvious?
Thanks in advance
yesterday I tried to solve a www/moinmoin misbehaviour.
Problem: Whenever I want to "Edit" a wiki-page it takes exactly 15 seconds until the Edit-view appears. Every other action in the wiki like viewing pages, logging in, etc. works instantaneously.
Tests:
1.) Problem appeared first under www/apache22 and I was neither able to locate the root cause nor fix it.
2.) Installed www/lighttpd to try if problem still exists. -> Yes
I will stay with lighttpd for some other reasons, so further configs etc. are specific for lighttpd.
As every click on "Edit" takes exactly 15 secs to get into the Edit-view I think it's some kind of error and timeout.
For lighttpd I switched all flags in /usr/local/etc/lighttpd/conf.d/debug.conf on, so I saw that lighttpd does apparently "nothing" (for 15 secs) between getting the HTTP-request and sending its answer (<-- only when switching to Edit-mode).
The funny thing here is: Even if I set the fcgi-idle-timeout to 2 secs every "Edit" takes 15 secs to start.
If I use the fast-cgi-script directly from lighttpd (will post configs later) it takes (roughly?) 15 seconds to get the first page served - even in View-mode.
If I use the www/spawn-fcgi via /etc/rc.conf to get the PHP/fast-cgi processes up and running beforehand, the first view gets served immediately.
So my assumption is: I have some problem with the configuration of (choose one or more): www/lighttpd, www/spawn-fcgi, www/moinmoin
Has someone out there a clue where I can "see" more what's going on there behind the scenes? As I am just beginning to learn about the spawn-fcgi usage.
Maybe I have totally ignored something obvious?
Thanks in advance