Not logged in. · Lost password · Register
Forum: General Help and Support Server Setup RSS
Are there any (easy) performance tipps for running DW on Windows IIS 10 PHP 7.2 ?
Avatar
lordB #1
Member since Feb 2019 · 24 posts
Group memberships: Members
Show profile · Link to this post
Subject: Are there any (easy) performance tipps for running DW on Windows IIS 10 PHP 7.2 ?
I'm running DW - in the moment as a test - on Windows Server 2016 with IIS10 and PHP 7.2.7 and SSO against AD, the usage is only for internal purposes. (Windows Authentication is used in IIS)

The loading times for one page without any other user are between 2 and 7 seconds, and that is far too long anyway.

There Server got 2 CPUs and 8GB RAM, no mentional CPU usage is seen. RAM usage is 1,5GB.

I'm no expert in IIS nor PHP, but are there any easy tipps and setting to improve performance?
This post was edited 2 times, last on 2019-02-08, 13:39 by lordB.
Avatar
Michaelsy #2
Member since Jun 2015 · 969 posts · Location: Düsseldorf, Germany
Group memberships: Members
Show profile · Link to this post
There is a PHP function called microtime(), with this you can further narrow down the problem.
http://php.net/manual/en/function.microtime.php
By Patreon.com a few eurons can be fed into the code phasers of
the DokuWiki engine. Besides, Andi's posts are worth reading.
Avatar
virk #3
Member since Aug 2008 · 642 posts · Location: Aachen, Germany
Group memberships: Members
Show profile · Link to this post
1) Append a "?do=check" to the url to your wiki; this is a simple action and perhaps gives some hints.
2) Install a fresh new dokuwiki parallel to the existing one and check whether speed is that same slow or not.
3) Can it be related to not compatible plugin(s). You can try to deactivate the plugins and check.
Avatar
andi (Administrator) #4
User title: splitbrain
Member since May 2006 · 3501 posts · Location: Berlin Germany
Group memberships: Administrators, Members
Show profile · Link to this post
What kind of file system is this running off? Can the wiki connect to the Internet? If not disable update checks and DNS resolving.
Read this if you don't get any useful answers.
Lies dies wenn du keine hilfreichen Antworten bekommst.
Avatar
lordB #5
Member since Feb 2019 · 24 posts
Group memberships: Members
Show profile · Link to this post
Thank you for your advices.

The Filesystem is NTFS. Internet connection is indeed a bit of a problem.  I've disabled the update check now.

the ?do=check command results into following cheks/informations, no alerts or warnings:

- DokuWiki version: Release 2018-04-22b "Greebo"
- PHP version 7.2.7
- More than 32MB RAM (134217728 bytes) available.
- Changelog is writable
- conf directory is writable
- mb_string extension is available and will be used
- Your locale LC_COLLATE=C;LC_CTYPE=German_Germany.1252;LC_MONETARY=C;LC_NUMERIC=C;LC_TIME=C seems not to be a UTF-8 locale, you should fix this if you encounter problems.
- Debugging support is disabled
- You are currently logged in as XXXX
- You are part of the groups XXXX
- Your current permission for this page is 255
- The current page is writable by the webserver
- The current page is writable by you
- The search index seems to be working
- Server time seems to be okay. Diff: 2s


I'll try to deactivate the plugins ...

There is one Plugin with warning:

Plain Auth Plugin von Andreas Gohr

Provides user authentication against DokuWiki's local password storage
Doku Schlagworte !bundled
Zeige weitere Info

Status
    installiert, geschützt, gebündelt, Plugin
Installierte Version:
    2015-07-18
Enthält
    Auth

Dieses Auth Plugin ist in der Konfiguration nicht aktiviert, Sie sollten es deaktivieren.


But there is no button to deactivate. I'm not sure where to find it in local.php.



I don't know, what to do with the PHP microtime function. I' have no skills in PHP. I just have to get the doku Wiki running.  :blush:

I'll give it a try with installing a fresh new dokuwiki parallel to the existing one and check whether speed is that same slow or not.
This post was edited 2 times, last on 2019-02-11, 11:28 by lordB.
Avatar
lordB #6
Member since Feb 2019 · 24 posts
Group memberships: Members
Show profile · Link to this post
Okay, I've setup a parallel version and only imported

/data/
attic
media
media_attic
media_meta
meta
pages

/conf/
acl.auth.php

from the old system, without overwriting existing files.

Now it works better. 2 seconds loading time. That's acceptable.

Thank you for your help.

Any ideas for tweaking the IIS?
This post was edited 2 times, last on 2019-02-12, 07:16 by lordB.
Avatar
andi (Administrator) #7
User title: splitbrain
Member since May 2006 · 3501 posts · Location: Berlin Germany
Group memberships: Administrators, Members
Show profile · Link to this post
2 seconds is still quite much.

Quote by lordB:
Any ideas for tweaking the IIS?

Remove it and install Apache?  :-p

On a more serious note it might be worth to copy a on-a-stick version of DokuWiki to the same server and compare the speed.

Since you're using AuthAD with SSO - maybe the SSO part is slow?
Read this if you don't get any useful answers.
Lies dies wenn du keine hilfreichen Antworten bekommst.
Avatar
lordB #8
Member since Feb 2019 · 24 posts
Group memberships: Members
Show profile · Link to this post
I tried a new page with some lorem ipsum sites with 1000 Words each and they are served well in less than a second.

So I think it could be the php modul or the SSO part. The USB-Version is worth a try. Thx again.
This post was edited on 2019-02-12, 07:16 by lordB.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-12-08, 22:30:03 (UTC +01:00)