Sym link to network drive - slow response time

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Sym link to network drive - slow response time

Postby drauch » 09. October 2020 09:34

I'm developing from within a VM. My projects reside on the host. I've created a symlink in the C:\xampp\htdocs folder, targeting the host directory containing my source code. While this works technically, directory listing is ULTRA SLOW. When I access a specific file it works fine and speedy. I'm heavily using directory listing though and I don't know what else to do in order to speed things up.

If I open the direcotry using Windows Explorer it's not slow at all.

Can you help me out?

Best regards,
D.R.
drauch
 
Posts: 5
Joined: 09. October 2020 09:29
XAMPP version: 7.4.10
Operating System: Windows 10

Re: Sym link to network drive - slow response time

Postby drauch » 09. October 2020 12:32

I've now changed the symlink to an Alias + <Directory> entry in the httpd.conf. Unforunately, also slow (only when directory listing, accessing existing files directly is fast).

(My root directory is kinda big - can this be the problem? does the directory lister go through all the sub directories and this is not good? Is it possible to configure it in a more performant way?)

Best regards,
D.R.
drauch
 
Posts: 5
Joined: 09. October 2020 09:29
XAMPP version: 7.4.10
Operating System: Windows 10

Re: Sym link to network drive - slow response time

Postby Nobbie » 09. October 2020 18:58

drauch wrote:does the directory lister go through all the sub directories and this is not good?


??

Does my car drive faster than 180km/h?
Nobbie
 
Posts: 13176
Joined: 09. March 2008 13:04

Re: Sym link to network drive - slow response time

Postby drauch » 10. October 2020 09:12

Sorry for bad English, I wanted to express that it's maybe a problem for the index module that I have directories with ~30 sub directories and each of them has again 30 sub directories.
drauch
 
Posts: 5
Joined: 09. October 2020 09:29
XAMPP version: 7.4.10
Operating System: Windows 10

Re: Sym link to network drive - slow response time

Postby Nobbie » 10. October 2020 12:08

I dont know which index module you are using, that is my problem.
Nobbie
 
Posts: 13176
Joined: 09. March 2008 13:04

Re: Sym link to network drive - slow response time

Postby drauch » 10. October 2020 13:05

Ah, the default XAMPP one. I think it's called autoindexer.

In fact I have almost the default XAMPP configuration. No additional modules, nothing.

Best regards,
D.R.
drauch
 
Posts: 5
Joined: 09. October 2020 09:29
XAMPP version: 7.4.10
Operating System: Windows 10

Re: Sym link to network drive - slow response time

Postby Nobbie » 10. October 2020 21:49

There is only one thing i can imagine, edit httpd.conf and enter this line:

EnableSendfile Off


Restart Apache and try again.
Nobbie
 
Posts: 13176
Joined: 09. March 2008 13:04

Re: Sym link to network drive - slow response time

Postby drauch » 10. October 2020 22:07

The documentation in the httpd.conf would hint exactly at that problem. I've turned it off and restarted Apache, unfortunately, it's still slow. Also turning off "EnableMMAP" didn't help :-/

(just realized that EnableSendfile is by default off, so of course it didn't help :-/)
drauch
 
Posts: 5
Joined: 09. October 2020 09:29
XAMPP version: 7.4.10
Operating System: Windows 10


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 187 guests