I'm Using Too Much Resources Of My Site - I Need Some Help!
Amezis
Feb 19 2006, 04:39 PM
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.
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.
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.
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.
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.
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.
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.
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?
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. ....
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.....
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.....
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); ?&....
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....
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....
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');} ?> ....
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....
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....
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....
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 ....
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!....
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(....
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....
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....
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....
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.....
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....
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?....
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' /> ....
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....
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.