1
catch22
should I delete my members?
  • 2004/10/25 12:10

  • catch22

  • Just popping in

  • Posts: 5

  • Since: 2004/10/25


There're over 16,000 members of my site. The registered users are increasing day by day while the average daily vistors are remain stable for most of the time .

Recently, it seems like it's getting slower to browse my site and it always overloads the server. I wonder it is mainly because of the increasing registered users since the average site bandwidth and online users have stayed in the same scale(not increased).

I'm not exactly knowing whether increasing users will also increase lots sql inquiries or too many users will cuase a database problem. But if there's a possibility to decrease the server loading, I'll consider to delete some users that haven't login for a long time.

I am in a shared server, bandwidth is about 20gb/m. 20 users online in average.

2
m0nty
Re:should I delete my members?
  • 2004/10/25 12:38

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


there could be other reasons, but reducing the amount of data in MySQL database will help a little if it has to come down to that..

prune old posts that haven't had a reply for longer than xx days.. or old news items if you have archived them.

also you could try going to phpmyadmin and check overheads for the database.. and optimize if necessary, this will increase speed a little..

3
Stewdio
Re:should I delete my members?
  • 2004/10/25 13:27

  • Stewdio

  • Community Support Member

  • Posts: 1560

  • Since: 2003/5/7 1


Based on the information you gave us, 20 users online at one time will not cause a heavy load. Also, I do not think you will notice a performance devrease only because you have a large volume of users.

I would advise against arbitrarily deleteing user accounts, as this would allienate those that do not log in often, but do still visit your site. I would never go back to a site that deleted my account for no reason other then a technical issue that the webmaster was unsure about.

As mentioned, use phpMyAdmin or some equivelant to optimise your tables. You may have lots of overhead in the tables, depending on what modules you have installed.

More information is required for us to determine what sort of action you should take to make site performance increase a little. Have other users reported a site slow down and if so, on what pages? Are they logged in, or are they doing something specific, such as a search? This may slow things down if you have hundreds of news items and thousandes of posts to sort through.

What modules do you have installed and what is the promary function of your site? Do have an image gallery installed and do your users make use of this on a regular basis? Many users trying to add pictures at the same time, may cause a minor slow down if they are all accessing the image libraries on your shared hosting server.

As you can see there are many variables to consider before concluding that it is just a membership issue of unused accounts. This is very unlikely to slow things down. Another consideration to take in account is what theme you are using. Are there many images to load as your site comes into view? Are there any external scripts, like php-stats, or other javascript on your page that may need to be parsed? Do you have any external links to sites that function as displaying information on your page? A slow down on their servers will slow your load times down as you site tried to retrieve this information and display it.

A small tip to help increase load times is to cache modules that do not have their content change very often. Do not make libaral use of this feature, but caching static information, like sertain blocks that do not change information often will cut down on sql queries and speed things up a small amount. Also make sure that your module/templates updates are turned off. This is ok to leave on if your site is low volume, but should be off in your particular case as each page is checking the template_c directory and refreshing it's copy on every page load. If you are happy with your theme as it is, turn this feature off. When you make a change to your theme, you can delete the individual file via ftp, or turn the mechanism back on, load your home page, and go back to turn it off.

There are many things you can do to optimise your site, but you need to be aware of the impact of every feature you have on your site. Do you have many blocks on your home page, such as recent posts, top users and what settings do you have for each of these blocks. Remember, less is more. The less you can get away with on your site without loosing visual impact, the faster your site will load because of less sql queries for every page load.

I hope this helps you a little in tweaking your site. From the sounds of it, all you have to do is tweak things up because your site is getting a little more popular. Your current hosting envirinment sounds fine for your needs, all you need to do is adjust how things are loaded.

Good Luck

4
catch22
Re:should I delete my members?
  • 2004/10/25 16:24

  • catch22

  • Just popping in

  • Posts: 5

  • Since: 2004/10/25


Thanks you guys for your help, here's more information.

I never thought of deleting member accounts until my hosting provider told me that I currently have used over 1/4 of the servers processing power. Besides, my site was suspended a few times when suddenly too many users were online at a time(I guess it was around 50-60 users when my site had higher traffic in the holiday nights, but this not usually happened).

Indeed, my site is not particularly popular. Also the bandwidth and other stats seem OK so far. So the large registered users(even a little higher than forum posts) is something might take notice for. I understand there's many possible reasons that also relate to site proformance and I have been trying many methods and optimization to reduce the server loading(Cache function have enabled for most of the modules and blocks except the forum and its blocks). But most of the jobs seem like don't help much.

As Stewdio suggested, I've just turned off a stats modules and am thinking how to make my site more simple. Hope it can make some difference. However, for the user accounts issue, I'm just curious about how many occasions or how often does XOOPS connecting to user database, and wonder if a large user database will serverely reduce server performance than other factors.

Login

Who's Online

414 user(s) are online (51 user(s) are browsing Support Forums)


Members: 0


Guests: 414


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Sep 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits