Xampp is slooooooooooooooooooooowwwww...

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

Xampp is slooooooooooooooooooooowwwww...

Postby Parahacker » 20. January 2009 00:14

Hi,

When using Xampp it seems it is VERY SLOW. Whenever I work with a website on my localhost, the same sites hosted remotely are loading in my web browser two or three times as fast. Some pages take over a minute or two to even start loading, especially when I'm working with the Joomla backend. What can I do to speed things up around here?

Windows Task Manager tells me I'm using 5-10% of my CPU and about 25% of my memory. Should Apache really be running this slowly on my machine?

Thanks.
Parahacker
 
Posts: 7
Joined: 08. December 2008 11:09

Re: Xampp is slooooooooooooooooooooowwwww...

Postby Izzy » 20. January 2009 00:40

Any clues in the Apache error log file?

Any clues in the System Event Viewer?

If it is any consolation my XAMPP flies so it may well be dependent on some issue with your PC or some issue with the performance settings in the php.ini file or the my.cnf.

If it is only when running the Joomla backend, then check out Joomla support who may have had this issue before and found a performance configuration solution.


BTW have you any issues when going to http://localhost and testing by running all the demos etc. in the left hand menu?
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Re: Xampp is slooooooooooooooooooooowwwww...

Postby Parahacker » 20. January 2009 15:48

error.log had no(!) errors, just notices.
Event viewer had notices that mysql and apache were on/off. That's it.

...demos are somewhat slow too, but nowhere near as slow as the basic Joomla installs. Grr.
Parahacker
 
Posts: 7
Joined: 08. December 2008 11:09

Re: Xampp is slooooooooooooooooooooowwwww...

Postby Izzy » 20. January 2009 23:51

The OP in this topic has similar issues and it contains some possible tweaking info:
viewtopic.php?f=16&t=32938
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Re: Xampp is slooooooooooooooooooooowwwww...

Postby Quackstar » 21. January 2009 00:23

That link dosen't say how to fix it. It just says you can tweak something in those two files.

Mine is very slow, but seemed to speed up after a while. This mainly happens with anything written in php (my scripts and phpmyadmin fall into this category). Could you tell me how to make those tweaks?
Quackstar
 
Posts: 13
Joined: 01. December 2007 15:13

Re: Xampp is slooooooooooooooooooooowwwww...

Postby Izzy » 21. January 2009 01:05

That link dosen't say how to fix it. It just says you can tweak something in those two files.
I am fully aware of what I wrote in that post but what is not clear is a reader's level of understanding of what was written.

XAMPP settings have been made for the development environment on low memory and resources machines not for a production server and so tweaking for performance is entirely carried out by the end user and is not easily explained as there are many factors that could effect performance.


First try turning on these settings in your httpd.conf file and see if the performance improves and if not then simply return to the default off.
Save the file and restart Apache after making any edits and backup the file first.
Code: Select all
# EnableMMAP and EnableSendfile: On systems that support it,
# memory-mapping or the sendfile syscall is used to deliver
# files. This usually improves server performance, but must
# be turned off when serving from networked-mounted
# filesystems or if support for these functions is otherwise
# broken on your system.
#
EnableMMAP off
EnableSendfile off


Performance tweaking is dependent on not just a general "slow" issue but more on a specific issue of, for example, not enough allocated memory or not enough buffers or cache size etc. etc. etc.

You may have a database(s) that needs attention and often slows things down if there are any data errors etc., but which may not cause an error message, which may be found by using phpMyAdmin table features - Check, Optimize, Analyze and Repair tables for example.

So as I always say open those files and read the comments next to the possible tweaks entries and experiment - but always make a backup/Copy of any files you are editing so you always have the original to fall revert to.

Save the file after editing and restart Apache to test your tweaks

There is little point in saying 1.do this 2.do that unless the specific reasons are known or they could be guesses which may of course cause other unrelated issue perhaps and then this topic could go on and on until it requires it's own forum.

This forum search for slow may help you understand that this issue has been around for a long time.

And this topic and a reply by my partner and PPA Sharley has some further links to explore:
viewtopic.php?f=16&t=32019&hilit=slow

And of course a Google for slow server performance or slow Joomla may have favorable results.
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 63 guests