News:

Wondering if this will always be free?  See why free is better.

Main Menu

Slow VPS

Started by _Ziggy_, October 15, 2009, 04:03:55 PM

Previous topic - Next topic

_Ziggy_

For a couple of weeks two of my forums are running on a VPS system.
The VPS has Xen, Hypervm and Interworx CP4.0 on board.

I am far from satisfied with the speed of the forums. What can I do to speed them up?
Here is my status.php: http://www.bluesforum.nl/status.php
The performance of the forums was really great on shared hosting, but after moving them to the VPS they slowed down.

I have checked the checklists for performance but I don't think it is right to make adjustments to the forums. They did well with the current settings on shared hosting so I think I have to do something with the VPS.

I am new to VPS so all tips are welcome.
Bluesforum.com   2.0                     Bluesforum.nl   2.0
Rockabilly-forum.com   2.0              Bluesharp.nl   2.0
Bungalowpark-forum.nl   2.0        Eee pad forum   2.01
Cristiano Ronaldo   2.02              Lockout Tagout   2.02


Looking to buy existing forums, send pm.

H

You forum loaded within a reasonable speed for me.

What mods do you have installed?
Are reverse lookups enabled? (Admin area > Features and Options) If your VPS is taking a long while to do DNS lookups then the whole page will load slowly.

Have you looked at optimising tuning MySQL and Apache? You can find various guides for doing this
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

_Ziggy_

On www.bluesforum.nl/smf I have installed Aeva and the modification to "irritate the lurkers with 0 posts".
Some of the ads are from OpenX (which is a disaster for the past few days), the rest directly from Google Adsense.

On www.bluesforum.com I have installed the Ad Management mod.

Reverse lookups are enabled, I will switch that off.

I haven't looked at MySQL and Apache. I will do that.
Bluesforum.com   2.0                     Bluesforum.nl   2.0
Rockabilly-forum.com   2.0              Bluesharp.nl   2.0
Bungalowpark-forum.nl   2.0        Eee pad forum   2.01
Cristiano Ronaldo   2.02              Lockout Tagout   2.02


Looking to buy existing forums, send pm.

Something like that

You haven't tuned MySQL.

Set key_buffer_size = 64M in /etc/my.cnf and restart MySQL.

H

Aeva has been known to have some performance issues. You might also want to hardcode ads in index.template.php rather than using the ad management mod. It should save some queries
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

Joshua Dickerson

Install APC and enable variable caching.
Come work with me at Promenade Group



Need help? See the wiki. Want to help SMF? See the wiki!

Did you know you can help develop SMF? See us on Github.

How have you bettered the world today?

_Ziggy_

Quote from: Mark Rose on October 16, 2009, 12:11:46 AM
You haven't tuned MySQL.

Set key_buffer_size = 64M in /etc/my.cnf and restart MySQL.

I have added this to my.cnf and this has increased the performance.

On Bluesforum.com I will not reinstall ad management mod after the upgrade to RC2.
On Bluesforum.nl/smf I don't use ad management mod.
Bluesforum.com   2.0                     Bluesforum.nl   2.0
Rockabilly-forum.com   2.0              Bluesharp.nl   2.0
Bungalowpark-forum.nl   2.0        Eee pad forum   2.01
Cristiano Ronaldo   2.02              Lockout Tagout   2.02


Looking to buy existing forums, send pm.

_Ziggy_

Quote from: groundup on October 16, 2009, 01:53:00 PM
Install APC and enable variable caching.

I have been reading about that, but it is not clear to me how I can install APC.
Bluesforum.com   2.0                     Bluesforum.nl   2.0
Rockabilly-forum.com   2.0              Bluesharp.nl   2.0
Bungalowpark-forum.nl   2.0        Eee pad forum   2.01
Cristiano Ronaldo   2.02              Lockout Tagout   2.02


Looking to buy existing forums, send pm.

Joshua Dickerson

Make sure you read the stickies in this board.

Do a search for "install APC" on this site. You should use a package if you can. It is easier.
Come work with me at Promenade Group



Need help? See the wiki. Want to help SMF? See the wiki!

Did you know you can help develop SMF? See us on Github.

How have you bettered the world today?

_Ziggy_

I have installed apc, but now my forums stopped running!!!

I have no idea what to do now.

http://www.bluesforum.nl/phpinfo.php
http://www.bluesforum.nl/status.php
Bluesforum.com   2.0                     Bluesforum.nl   2.0
Rockabilly-forum.com   2.0              Bluesharp.nl   2.0
Bungalowpark-forum.nl   2.0        Eee pad forum   2.01
Cristiano Ronaldo   2.02              Lockout Tagout   2.02


Looking to buy existing forums, send pm.

_Ziggy_

Quote from: Ziggy on October 18, 2009, 01:41:25 PM
I have installed apc, but now my forums stopped running!!!

I have no idea what to do now.

http://www.bluesforum.nl/phpinfo.php
http://www.bluesforum.nl/status.php


I solved this problem myself. I think I am getting better at this  ;) ;) ;)

I have apc installed now, I don't know if the configuration is ok?
Bluesforum.com   2.0                     Bluesforum.nl   2.0
Rockabilly-forum.com   2.0              Bluesharp.nl   2.0
Bungalowpark-forum.nl   2.0        Eee pad forum   2.01
Cristiano Ronaldo   2.02              Lockout Tagout   2.02


Looking to buy existing forums, send pm.

Joshua Dickerson

Did you enable caching in SMF?
Come work with me at Promenade Group



Need help? See the wiki. Want to help SMF? See the wiki!

Did you know you can help develop SMF? See us on Github.

How have you bettered the world today?

_Ziggy_

Yes, I did. It is on level 1.

The server is a little bit faster, but it is not what I expected from reading in the topics here.
Bluesforum.com   2.0                     Bluesforum.nl   2.0
Rockabilly-forum.com   2.0              Bluesharp.nl   2.0
Bungalowpark-forum.nl   2.0        Eee pad forum   2.01
Cristiano Ronaldo   2.02              Lockout Tagout   2.02


Looking to buy existing forums, send pm.

Joshua Dickerson

It's more about it's ability to handle load than speed. It will make it slightly faster but significantly more scalable.
Come work with me at Promenade Group



Need help? See the wiki. Want to help SMF? See the wiki!

Did you know you can help develop SMF? See us on Github.

How have you bettered the world today?

_Ziggy_

Quote from: groundup on October 18, 2009, 03:02:13 PM
...significantly more scalable.

I do not understand what you mean by "more scalable"?
Bluesforum.com   2.0                     Bluesforum.nl   2.0
Rockabilly-forum.com   2.0              Bluesharp.nl   2.0
Bungalowpark-forum.nl   2.0        Eee pad forum   2.01
Cristiano Ronaldo   2.02              Lockout Tagout   2.02


Looking to buy existing forums, send pm.

Joshua Dickerson

Able to handle more users simultaneously.
Come work with me at Promenade Group



Need help? See the wiki. Want to help SMF? See the wiki!

Did you know you can help develop SMF? See us on Github.

How have you bettered the world today?

_Ziggy_

Ok, thank you.


I want to move this forum: http://www.forum.bluesharp.nl/ to my VPS as well.
Do you expect any problems with the server after moving it to the VPS?
Bluesforum.com   2.0                     Bluesforum.nl   2.0
Rockabilly-forum.com   2.0              Bluesharp.nl   2.0
Bungalowpark-forum.nl   2.0        Eee pad forum   2.01
Cristiano Ronaldo   2.02              Lockout Tagout   2.02


Looking to buy existing forums, send pm.

Aleksi "Lex" Kilpinen

Hi Ziggy, Any updates on this? :)
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

_Ziggy_

The VPS is doing well, but I am still looking for ways to improve it. I don't know if there are more ways to improve the server?

I would like to know if I have enough CPU to add www.bluesharp.nl to the VPS as well, because extra CPU costs twice the price of the shared hosting.
Bluesforum.com   2.0                     Bluesforum.nl   2.0
Rockabilly-forum.com   2.0              Bluesharp.nl   2.0
Bungalowpark-forum.nl   2.0        Eee pad forum   2.01
Cristiano Ronaldo   2.02              Lockout Tagout   2.02


Looking to buy existing forums, send pm.

Joshua Dickerson

Your loads are low and that other forum seems to be slow. I'd say you can easily put that on your VPS.
Come work with me at Promenade Group



Need help? See the wiki. Want to help SMF? See the wiki!

Did you know you can help develop SMF? See us on Github.

How have you bettered the world today?

Advertisement: