Page 1 of 1

Problem with high loads on refresh

PostPosted: 23. January 2011 01:14
by Dark_S7yle
Hello, i have this problem on XAMPP Linux 1.7.3a on linux slackware(64bit)13.0, when somebody refreshes the page the site , all of my servers are starting to lag alot. When somebody holds the f5 key the loads get extremely high, web and everything running with internet crashes.
I dont have alot of visitors the site is new, but with 9 online it lags alot.
Server machine Intel celeron 3.07ghz 3gig ram ddr2. Why is this happening?

Re: Problem with high loads on refresh

PostPosted: 23. January 2011 02:05
by greno
XAMPP is mainly intended to be a development environment.

If you wish to use it for your production webserver then you need to take into account security and performance considerations.

I would suggest you start by making sure you've secured your installation.

Then google for "apache2 performance tuning". This will give you some articles that should help you properly tune Apache for best performance. Then use a benchmarking tool as you make changes to see their effects on your website performance.

Good luck.

Regards,
Gerry

Re: Problem with high loads on refresh

PostPosted: 23. January 2011 17:31
by Dark_S7yle
There is a reason this is happening "apache2 performance tuning" i readed it and found nothing to help me. Anyways thanks for your help.
Im going to ask again why it does high loads only on me?

Re: Problem with high loads on refresh

PostPosted: 24. January 2011 01:11
by Sharley
This may an indication that you have been hacked through the webdav directory.

If so then all that should be in this directory are 2 files, index.html and webdav.txt.

If you have more than this then chances are your computer is a zombie.

Options:
Check your Apache access.log file for clues.

Change the webdav password or turn it Off in the etc/extra/httpd-dav.conf file if you are not using it.
(It may be turned On by default but the default user/pass is easy to find which is why it is being hacked)

Make sure in the httpd.conf file that this section is commented out and looks like this:
Code: Select all
# Distributed authoring and versioning (WebDAV)
#Include etc/extra/httpd-dav.conf


Change permissions to restrict total access.

Delete the webdav folder if you are not using it.

Add a report for your webdav issue to the already present WebDAV Exploit bug at:
http://bugs.xampp.org/view.php?id=170

This exploit is currently 'in the wild' especially infecting XAMPP for Windows:
viewtopic.php?f=16&t=43824
viewtopic.php?f=16&t=44140


If this does not apply then, sorry I don't have any more clues for you.

Good luck and best wishes.

Re: Problem with high loads on refresh

PostPosted: 27. January 2011 17:17
by Dark_S7yle
etc/extra/httpd-dav.conf
I dont have that either the folder and the httpd-dav.conf file. Every visit is like a new process and its overloading the cpu.
Here - http://img191.imageshack.us/img191/6658/problemrs.png
The visit is opened in process "nobody" and its overloading the cpu