Jul 23, 2008

I'm Using Too Much Resources Of My Site - I Need Some Help!

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > PHP Programming
Pages: 1, 2

free web hosting

I'm Using Too Much Resources Of My Site - I Need Some Help!

Amezis
I am currently using too much ressources on my site (not hosted at trap17), and it will be suspended tuesday if I don't do anything with it. I have done almost everything I can, and even if the ressources I use are lower than they were, I still use way too much.

So, I would like some help. I will list all my scripts telling what they do and how they work, and will let people telling me which of them that may use much ressources.
NOTE: This is a fansite for an MMORPG game.

phpBB
The main forums are phpBB-driven, but are heavily modified. The main page sends 14 queries, when viewing a specific forum, there are 16 queries, when viewing topics, there can be betwen 15 and 26 queries at once. I have tried disabling it in 10 minutes, but it didn't affect the server load or memory usage. They are located here.

Invision Power Board
The site is a gaming site, and we have a clan on their own forums. I have absolutely no clue on how many queries that are sent, but basically, there are only a few modification installed, and I think that there are sent 2 queries more than an un-modified board on the home page. I have also tried disabling it in 10 minutes, but as the phpBB board, it didn't affect the server load or memory usage. Located here.

Topsites system
We used Aardvark Topsites, and out of 10 sites with this scripts I know about, 1 removed the topsites because of excessive server load, and another had to change host. When I received the mail from LP telling me that I used too much ressources, I immediately started on setting up a new topsites system. The files for Aardvark Topsites are now completely deleted, and the new system, evoTopsites. I have tried completely disabling the evoTopsites too, to check if it used some ressources. But the ressources were not affected. The new topsites are here.
NOTE: Before I deleted the old topsites system, the server load could go up to 20 (4 cpu's). It is rarely going above 5 now (still 4 cpu's).

My main page
I doubt my main page can cause the problem. It is only file-driven, with no MySQL at all. There are only a few variables defined, around 5 if-elses, and the rest is include(). There is no way to "disable" it, so I haven't done it. But I doubt this part uses much ressources.

"Dynamic signatures"
This is a feature on the main page. The script uses a parser to load the stats for a character in the game my site is about. The stats are then displayed on an image using GD. They are cached in 24 hours, and are then loading again if the image is requested. There is no way to disable it, so I haven't done it.

Simple CMS system for the clan site
The clan site is using a simple, hand-coded CMS system. It simply loads a requested entry from the database, and displays it. The administration panel can add new pages and edit existing ones. However, the site is not even published yet, and it is only visited by the moderators and administrators of the site, and from time to time, some members.

Also, the number of visitors has increased the last weeks, since we got indexed in google around 2 weeks ago.

If there is ANYTHING you can say that may help me, please do it. biggrin.gif

Notice from mayank:
Edited topic title & description

 

 

 


Reply

TanisLinkEragon
i would say that you whould just plain delete the invision powerboard. PhpBB, in my opinion is WAY better, and theres no reason to have two, is there? That should help a bit.

Reply

Amezis
Yes, because there are different forums with different needs. And we would probably lose most of the clan members by doing that.

Reply

TanisLinkEragon
But is there any way you could consolidate them into ONE forum? because losing your hosting would make you loose even more members...

Reply

Saint_Michael
yeah I agree I would just stick with one forum I would get rid of the topsite unless its a mod to one of the forums, if its not a mod i suggest getting a topsite mod it will clean it up just a bit also another suggestion would be ot archive your older posts on your forums as well.

Reply

Amezis
The topsite is currently where we get most of the visitors from, and that's why we have it. The clan forums have almost 14000 posts, while the main forums only have 5000. Also, the to join the clan, they have to post an application, which will let them be a user of the forums, or not. The phpBB forum is official forums for my site, while the IPB forum is a separate part of the site. There are different skins on the forums, the clan site has some modules that are completely useless on the main forum, etc. Since the forums are so different, it is impossible to merge them.

Reply

TanisLinkEragon
If everything is necessary, theres not much you can do other than get a host that gives you more resources.

Reply

Amezis
Firstly, forums should not use that much ressources, and they are relatively small, so I doubt that's the problem. I still do not know more, since I still don't know which part of the site that may cause the problem.

If I am disabling both forum at once, and let them disabled in 15 minutes, the server ressources used are still the same.

Reply

moldboy
What sort of resources?, are there cron jobs involved, and is this a shared server, or dedicated?

Reply

jlhaslip
Can you share your resources with your account here at the trap? Maybe move the phpbb and your Main site here and link them with menu Buttons? That may reduce the load at the other site. Also. gzip enable the phpbb and Invision Boards. I noticed a reduction in Bandwidth after I did that to my Forums.

Reply

Latest Entries

moldboy
If it's a shared server how do you know you are the one causing to problem? When you turn off your stuff and the server stays the same then that seems to me like someone else is causing the problems, not you.

Reply

jlhaslip
then it is a function of server load only? what do the cron jobs do? can they get dropped? And what about the suggestion to move some stuff to the trap17 (or any other) account?

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Pages: 1, 2
Similar Topics

Keywords : im, resources, site

  1. Xbox Gamertag Profile On Site
    (2)
  2. Html Site With Login
    Is it possible? (2)
    Hello. I´m building my own site and I need some help... Is it possible to use a login sistem in php
    and mysql database in a html site? ....
  3. Connecting Php Site To Database
    (6)
    Please Help Me with this site's error http://gatewaybiz.x10hosting.com/surf/ ....
  4. Displaying Your Phone Number On A Wap Site
    (3)
    I have a wap site elitezone.co.za and what i want to add is a code to the index page that displays
    your operator and phone number. Does any one know the coding for this function if so please show me
    here. Help will appriacated. Topic title modified. ....
  5. New Arisen Site Problem
    Nettek Login Trouble (2)
    Okay, so I installed Nettek and got everything set up. But every time I try and login, it says
    it's incorrect. I've gone into the Database and gotten the password and since it was
    simple, put them in and had tried but with no success. I tried changing the password but I still
    couldn't get in. I tried adding another login and it still didn't work. I have no idea
    what's wrong and I need some help.....
  6. Php Problems
    Clan Web site Problem (3)
    Okay, so I have an old version of Nettek that I would like to modify. There is a bug that when you
    get to the rank required for Set Rank, you can set your rank or other people's ranks to what
    ever you want, even Webmaster and that's something I'd like to not have. I am wondering how
    to fix the problem. What would I modify in the coding to set have it so you can only move people up
    to 1 rank below you at best? I'm still learning PHP and can't modify things like this quite
    yet.....
  7. Use Bb Code On Your Site!
    Just like on forums! (7)
    To use this you must have PHP support on your server. Just use this code: CODE <?php
    $content = "Hello, World!"; $html = array('[b]',
    '[/b]', '[i]', '[/i]', '[u]',
    '[/u]'); $replacements = array ('<b>',
    '</b>', '<i>', '</i>', '<u>',
    '</u>'); $content = str_replace($html, $replacements,
    $content); ?&....
  8. Cms Opensource
    great cms reviews site (1)
    Hello... you can find great cms on http://www.opensourcecms.com <<< there you can find cms like
    mambo,joomla,wordpress,etc <<....
  9. Beginner's Php Tutorial Online At My Site
    (12)
    Hey everyone, over the last week I've been writing a PHP tutorial aimed at absolute beginners
    who have never even seen the syntax of PHP before let alone wrote a PHP script! The tutorial
    assumes you have a basic knowledge of HTML (for the tutorial you will need to write a couple of
    hyper links and forms, nothing complex!) and an internet browser. It tells you about where to
    find the other software needed (apache/XAMPP and a script.text editor) and how to check if it is
    working. The tutorial is basic and focuses on the use of the ECHO, INCLUDE/REQUIRE and I....
  10. I Need Webmail On My Server
    (so admins on my site can access it) (0)
    Right now, if i go to the cpanel of my site, I can access webmail of any of the email addresses I
    have. Unfortunatly, I would prefer it if the administrators did not know the password to the
    cpanel. I want them to be able to access mail from 1 of the email accounts. I have tried letting
    all the admins access the account through their own cliants, but it became a mess, not knowing wich
    admins have responded to which emails, because most emails are hosted localy when received by
    cliants such as outlook. Then I had the idea of making one page, with webmail on it. Where....
  11. Wap Redirection
    Usefull code that all wap site owners should use! (12)
    Use this code to redirect pc users from your wap site to web site: include above page header this
    code: CODE <?php $mywebsite = "forum/index.php"; $browser = explode
    ('/', $HTTP_USER_AGENT); if($browser[0]=="IE"){
    header ('Location: $mywebsite');} ?> ....
  12. String Search Outside My Site?
    Help me work this out please ;-) (2)
    Hi ;-), i need some php code that will search any site or index page for a string. So i can check if
    my link is on sites it should be quickly?....
  13. Posting To An External Site Without Url Change
    need help (0)
    I need help with some PHP, once again. What I'm wanting to do is add something to an external
    database from a remote site. Say we are using the script farsiscript posted ( here ), and
    there's an added feature where it saves the information to a database, and it's on a
    different server. I want people to be on my site, enter the variables, and have the information
    submitted without knowing anything about the external site. Also, would there be a way of
    confirming whether the information was submitted, or if there was an error? Like if the result said
    "Than....
  14. The Downloads On My Site
    php (8)
    Ok i have a site with these downloads, when you click on them they do not open up to a new window.
    Instead it uses the same window and goes to the link that it was linked to go to. All of my
    downloads are made from being linked to some other site. Now my site is php, so i was wondering how
    i can make all links open up a new window to their download page without having to type out
    target="_blank" for all of them. Which would take awhile for me. I was wondering if there is a way
    to do that with the php download module where i can insert the target="_blank" in there so it w....
  15. Good Script Site
    Plz Write Good Script Site Here! (6)
    Hi all I write script and i want to know which Script site for release Script is best Some sites ::
    www.hotscripts.com www.scripts.com http://www.yourscripts.net/ http://www.popscript.com/ If You
    know more Url plz post here . thanks all....
  16. Too Many Connections Created In Mysql By My Site
    (4)
    Hi i am hosted at computinghost (which is great btw) but my site is causing mysql to hang because
    it is flooded and it causes my account to be suspended alot.. What is confusing is that not many
    users (7) are only when it happens and it is not a deliberate flooding. The mysql proccesslist when
    it gets too many connections: QUOTE | 7971 | andre_krap | localhost | andre_wap | Query | 439
    | Sending data | SELECT unread,sentby,id FROM private WHERE sentto='Candi.Boi' ORDER BY
    id DESC LIMIT 0,15 | | 7973 | andre_krap | localhost | andre_wap | Query | 2 ....
  17. "grand" Login System?
    To Forums, Chat, and Site (7)
    Major problem I got here. A site at which I am employed as PHP Coder (privet-drive.com), needs a
    "grand" login. The login needs to be able to login them into the forums, the chat, and the site, all
    at the SAME time! The big problem is, the chat is located on another website (potterchat.net),
    and the forums are IPB and not PHPBB. Any comments, or some tips on how I am to go about this? I am
    freaking out, and any advice at all would be nice! Thanks in advanced!....
  18. Help Skinning My Site
    with php (2)
    here my site, Crystal Illusion each link is suppost to take you to a different layout... but it
    takes you too the same on AND then pictures and style sheet don't turn up- HELP heres the
    cookie check code CODE <? $total_skins = 3; $default_skin = 1; if
    (isset($_REQUEST['newskin'])) {
    $newskin=(int)$_REQUEST['newskin']; if (
    ($newskin<1) OR ($newskin>$total_skins) )
    $newskin=$default_skin; } elseif (isset(�....
  19. Add The Online Proxy To Your Site.
    script:phproxy (0)
    it developed by whiteFyre that contained only 5 files: index.php phproxy.class.php javascript.js
    url_forum.inc style.css the demo is on http://hbu.com.ru/proxy/ the script is under gpl.you
    just can edit every file of this 5. and made your own style of online proxy. enjoy it. PS:If the
    member that find your isp is something wrong or block some Ip,just tried this. guangdian....
  20. Need Help With The Header() Function
    I am redirecting from my old site (2)
    Over a month ago, I bought a domain name for my site, but my site is still not indexed. I did
    everything needed to get indexed, but I forgot one thing: The old site had exactly the same content
    as the new one. So I had duplicate content. Therefore, I want my old site to redirect the user to
    the new site with this script: CODE <?php header("Location:
    http://www.global-rs.com" . $_SERVER['REQUEST_URI']); exit; ?>
    global-rs.com is my new URL. However, on my old site, which I will be placing this code on, there
    i....
  21. Php Resources
    (3)
    hi, u can find some php language resources here ... http://www.php.net/ Main, official site for
    PHP. Downloads, documentation, resources, links to more PHP-related sites, more.
    http://www.php.net/manual/en/ref.mysql.php As the title implies, these PHP functions allow access
    to mySQL database servers. Directions included. http://www.webmasterbase.com/article.php/280/6
    Learn how to create password protection to one page or an entire site with PHP.
    http://www.evolt.org/article/Breadcrumbs_f...4455/index.html earn how to make breadcrumb navigation
    with PHP. ht....
  22. Search Site Pages Using Keywords?
    (6)
    We're doing a "Mock" e-commerce site for our project in Web Development and I was wondering how
    to make a Search form like the ones in many sites. There will be a Search textbox and a button in
    the form which will accept a string (keywords) which will then be processed by a script. If there
    is a match, a page containg the keywords will be displayed. Is there a way to do this using PHP or
    is there an existing free script out there already? Thanks very much.....
  23. Disctionary Site
    my native language(Myanmar) driven (4)
    Well, i must say that i will implement this for public and community use for free. yes, i intended
    to write using PHP, MySQL driven dictionary site in my native language (Myanmar) which can translate
    English to Myanmar. I've a littol stuck here at starting point and still dig out the google to
    find the resources. But no luck and still need more.. I've look through quite number of books
    as well. Can anybody kind to share the Algorithm, Serach Engine and MySQL database relationship?? I
    know this could be $$ but when i was doing this as free for my people....
  24. Show Sql Queries From Other Site
    (6)
    How do I use the sql database from other site? like showing the stats of certain field. Lets say
    I'm on a forum and wanted to show the number of post I have from a particular forum like trap17
    on my own site how do I do that?....
  25. Script: Phpbb Mod, Total Users Registered
    Display the total users anywhere on your site. (1)
    This is for phpBB V2+ It displays the total number of registered users anywhere you want. This file
    is called: phpbb-totalusers.php CODE <?php /** * ©2005 Craig lloyd. All rights reserved. * *
    Mod Title:   Total Registered Users * Author:      Craig Lloyd * Description: Shows
    total number of registered users * Release:     v1.2, 10th May 2005 *** * Demo:            
       http://www.toxicsims.co.uk/ (stats box) * Installation Level:  Easy *
    Installation Time:   1 minute * Files To Edit:       This one * Included Files....
  26. Does Anyone Want To Make A Game For My Site?
    Using PHP (2)
    If any of you go to OG, and have ever played Omega Legacy, thats the kind of game I want. Its like
    the army system, and you train by attacking other users, or training against computer opponets. I
    dont care what you do, but if you would like to help, AIM me at mutatedmonkeycat. If anyone knows
    where I can get a game such as the Army System or Omega Legacy for free for download, please tell me
    and I will give you a cookie... /smile.gif' border='0' style='vertical-align:middle'
    alt='smile.gif' /> ....
  27. Your Favorite Php Site?
    (7)
    Hi I can't have enough links to help me with PHP and it seems I discover more and more every
    week without really searching for them. Which is the one link that you would recommend, be it
    beginner, advanced, intermediate, all 3, a forum, a snippet site or whatever? I really like
    www.phpfreaks.com myself. Thanks Patrick....

    1. Looking for im, resources, site

Searching Video's for im, resources, site
advertisement



I'm Using Too Much Resources Of My Site - I Need Some Help!



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE