Slow serving files and slow upload speed

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

Slow serving files and slow upload speed

Postby pomf123 » 13. August 2017 21:09

Apache on the xampp server is taking forever to serve files and then only uses about 20% of upload bandwidth unless you use a download manager that does segmented downloads, any clue what is causing this?
pomf123
 
Posts: 4
Joined: 13. August 2017 21:06
XAMPP version: 3.2.2
Operating System: windows server2012

Re: Slow serving files and slow upload speed

Postby Nobbie » 13. August 2017 21:34

Nobbie
 
Posts: 9689
Joined: 09. March 2008 13:04

Re: Slow serving files and slow upload speed

Postby Altrea » 13. August 2017 22:16

We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8938
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Slow serving files and slow upload speed

Postby pomf123 » 13. August 2017 22:32

Nobbie wrote:https://httpd.apache.org/docs/2.4/en/mod/core.html#enablesendfile

Sendfile is already off if that's what you meant
Altrea wrote:https://community.apachefriends.org/f/viewtopic.php?f=16&t=47453#p181915

MPM is already enabled and the registry changes were detrimental to upload speed.
pomf123
 
Posts: 4
Joined: 13. August 2017 21:06
XAMPP version: 3.2.2
Operating System: windows server2012

Re: Slow serving files and slow upload speed

Postby Nobbie » 14. August 2017 09:57

pomf123 wrote:Sendfile is already off if that's what you meant


Only a blindfolded clue. As you did not tell us even a single bit about your server, its definately impossible to go deeper any further.
Nobbie
 
Posts: 9689
Joined: 09. March 2008 13:04

Re: Slow serving files and slow upload speed

Postby pomf123 » 14. August 2017 17:00

Well what do you want or need to know? It's running windows server 2012, has a 1000mbps up/down bandwidth, I've tried fiddling with the tcp global settings through netsh which helped with segmented downloads but not normal downloads. mmap is enabled, sendfile is off, mpm is enabled and has not helped.

Examples, a 40MB archive takes about 12 seconds for the download prompt to come up and a 100MB or 900MB file takes about 15 seconds.
pomf123
 
Posts: 4
Joined: 13. August 2017 21:06
XAMPP version: 3.2.2
Operating System: windows server2012

Re: Slow serving files and slow upload speed

Postby matrixebiz » 14. August 2017 20:59

I'm experiencing slow access issues as well, are you saying that Xampp has control over if my server serves files to my clients fast or slow? that is ridiculous hope you find your answer on disabling this as I don't want any limits on how fast the server can serve files to clients. I'm running Windows server 2016, should I enable or disable this sendfile thing? Thanks
Last edited by matrixebiz on 14. August 2017 21:08, edited 2 times in total.
matrixebiz
 
Posts: 12
Joined: 09. August 2017 19:47
XAMPP version: 7.1.7
Operating System: Windows Server 2016

Re: Slow serving files and slow upload speed

Postby Nobbie » 14. August 2017 20:59

pomf123 wrote:Well what do you want or need to know?


Everything. Hardware, software - etc.

BUT Anyway: Xampp is NOT designed for Online / Productive usage, it is meant for local development only. You should go for a different distribution than Xampp and honestly: I definately wouldnt go with Windows/Apache, Apache is designed and developed in/for Linux environment and more or less ALL known performance problems are due to Windows and do not exist under Linux. I NEVER would setup a Windows Apache online server. Windows comes with IIS and Apache is a third party module which is not integrated very well.

matrixebiz wrote:as I don't want any limits on how fast the server can serve files to clients


So first of all: dont use Windows/Apache. That does not match very well.
Nobbie
 
Posts: 9689
Joined: 09. March 2008 13:04

Re: Slow serving files and slow upload speed

Postby matrixebiz » 14. August 2017 21:04

My only issue going to a LAMP setup is that I have some programs that are only Windows compatible :(

Until I convert to LAMP, I'm running Windows server 2016, should I enable or disable this sendfile thing?

Is there another WebServer I can use then on Windows (not IIS) . I tried minWeb which is great but has a couple little issues.
matrixebiz
 
Posts: 12
Joined: 09. August 2017 19:47
XAMPP version: 7.1.7
Operating System: Windows Server 2016

Re: Slow serving files and slow upload speed

Postby Nobbie » 14. August 2017 21:11

matrixebiz wrote:My only issue going to a LAMP setup is that I have some programs that are only Windows compatible :(


Tell us why and what it makes "Windows compatible" only. What is missing in Linux and why?


matrixebiz wrote:Until I convert to LAMP, I'm running Windows server 2016, should I enable or disable this sendfile thing?

Is there another WebServer I can use then on Windows (not IIS) . I tried minWeb which is great but has a couple little issues.


Sorry, but these questions are far out of the scope of this forum, remember, this is a Xampp forum and not a "no Xampp" forum.
Nobbie
 
Posts: 9689
Joined: 09. March 2008 13:04

Re: Slow serving files and slow upload speed

Postby matrixebiz » 14. August 2017 22:44

When I say Windows only it's because the program was programmed for Windows and the developer did not write a Linux version of it but I guess I can try and see if it will run ok in Wine.
matrixebiz
 
Posts: 12
Joined: 09. August 2017 19:47
XAMPP version: 7.1.7
Operating System: Windows Server 2016

Re: Slow serving files and slow upload speed

Postby Nobbie » 15. August 2017 10:13

matrixebiz wrote:When I say Windows only it's because the program was programmed for Windows and the developer did not write a Linux version of it but I guess I can try and see if it will run ok in Wine.


You simpy should setup different PCs for your Windows and for the Apache Server. Thats by far the best solution, you can use any super cheap used PC for a linux server, i got one at ebay for less than 50€/50$.
Nobbie
 
Posts: 9689
Joined: 09. March 2008 13:04

Re: Slow serving files and slow upload speed

Postby matrixebiz » 16. August 2017 14:34

okay, so my windows program will run under Wine so is everyone in agreeance here that by going with a LAMP server, my user Upload/Download server access speeds will speedup ten fold? Way better than a Windows Apache setup?
matrixebiz
 
Posts: 12
Joined: 09. August 2017 19:47
XAMPP version: 7.1.7
Operating System: Windows Server 2016

Re: Slow serving files and slow upload speed

Postby pomf123 » 21. August 2017 08:49

Nobbie wrote:
pomf123 wrote:Well what do you want or need to know?


Everything. Hardware, software - etc.

BUT Anyway: Xampp is NOT designed for Online / Productive usage, it is meant for local development only. You should go for a different distribution than Xampp and honestly: I definately wouldnt go with Windows/Apache, Apache is designed and developed in/for Linux environment and more or less ALL known performance problems are due to Windows and do not exist under Linux. I NEVER would setup a Windows Apache online server. Windows comes with IIS and Apache is a third party module which is not integrated very well.

matrixebiz wrote:as I don't want any limits on how fast the server can serve files to clients


So first of all: dont use Windows/Apache. That does not match very well.

Well due to software issues I kinda have to use windows but okay.
cpu: core i3-2130 2c4t
ram: 8gb ddr3
harddrives are 3 1tb 7200rpm sata drives each in a raid 1
OS is windows server 2012
xampp revision is v3.2.2
server bandwidth is unmetered 1000mbps upload/download
Server location is in canada, my location is in oklahoma, usa
pomf123
 
Posts: 4
Joined: 13. August 2017 21:06
XAMPP version: 3.2.2
Operating System: windows server2012


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 47 guests