Forum

H10 - No response for +/- 10s, Multiple directory block which share same main dir

Martijn
6 January 2016, 13:47
Hiawatha 10 does not respond to a request for about 10 seconds after a restart (service hiawatha restart)
with the following example (2 dir block which share the same main dir):
Directory {
DirectoryID = wp-no-php
Path = /wp-content
ExecuteCGI = no
}

Directory {
DirectoryID = wp-php
Path = /wp-content/plugins
ExecuteCGI = yes
}

After that 10 seconds everything is fine. No delay in further responses.

The following config also works fine (with just one dir block):
DirectoryID = wp-no-php
Path = /wp-content
ExecuteCGI = no
}

And this one also works fine (2 different main dir's):
Directory {
DirectoryID = wp-no-php
Path = /wp-content
ExecuteCGI = no
}

Directory {
DirectoryID = wp-php
Path = /wp-admin
ExecuteCGI = yes
}


I can't find anything about this issue in the log files of the webserver.
So when I use 2 dir blocks (even if they are not assigned to a virtual host) with the same main dir and load one of my websites (doesn't matter if it uses the dir blocks) the first respond to a page request takes about 10-15 seconds. After that all pages load fast.
Hugo Leisink
7 January 2016, 13:44
Are you sure it's Hiawatha that does not respond? It could also be Wordpress causing a delay for some reason.

I have never heard of any issue like this and I strongly doubt that those directory settings cause Hiawatha to block for 10 seconds.
Martijn
7 January 2016, 14:32
I'll do some further testing. Yesterday it was reproducible, as soon as the second block was uncommented.
Will try it with another website (non wordpress).

If it still occurs I'll let you know, otherwise this bug request is invalid.
Martijn
7 January 2016, 15:33
Ok tested it again (both wordpress and non wordpress). But is does not happen anymore.
Must have been something else.
Sorry for the post.
Hugo Leisink
7 January 2016, 16:17
No problem.
This topic has been closed.