vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vB3 Boardstatistic Version 2 (https://vborg.vbsupport.ru/showthread.php?t=66783)

joeychgo 12-03-2004 07:24 PM

My host sent me this email today:

Quote:

Your account is utilizing excessive resources, causing a significant
degradation of services on the server. This is a shared environment and we
can not allow one user to utilize the majority of the resources on a server as
it affects all users adversely. Because of this, you have been temporarily
moved to the Quantz server. A detail of the problem is shown below:

Top Process %CPU 30.0 /usr/bin/php
Top Process %CPU 20.0 /usr/bin/php
Top Process %CPU 12.0 /usr/bin/php

Using 4.63% of servers memory

We moved you to Quantz first to solve the issue of the degraded service on
Nasa, and second as a courtesy in order to prevent any downtime on your site to allow you time to rectify the situation. Currently, your site is not
suitable for a shared hosting environment.

The only thing I have installed recently is this hack -- I am waiting now to find out if removing this hack solved the problem ~will advise~

mcyates 12-03-2004 08:10 PM

Quote:

Originally Posted by joeychgo
My host sent me this email today:




The only thing I have installed recently is this hack -- I am waiting now to find out if removing this hack solved the problem ~will advise~

It probably was the statistics causing this problem, i took it off my site as it drastically reduced the speed and adding 5 - 6 queries on each page. Very querie intensive.

joeychgo 12-03-2004 09:36 PM

It appears so - I pulled it and the server loads dropped.

it seems this hack will make a mess unless your on a dedicated server.

Mark.B 12-03-2004 09:44 PM

Certainly, I would not advise use of the Arcade add on...806 queries on one page, sheesh.

mcyates 12-03-2004 09:57 PM

Quote:

Originally Posted by Mark.B
Certainly, I would not advise use of the Arcade add on...806 queries on one page, sheesh.

806??? It only added a couple whe i installed it. You must have done something wrong.

Mark.B 12-03-2004 10:08 PM

Quote:

Originally Posted by mcyates
806??? It only added a couple whe i installed it. You must have done something wrong.

I should qualify, it doesn't add those to the index page, that's the number of queries it seems to use on the actual arcade stats page.

mackers8923 12-03-2004 11:07 PM

*Installed*

Going to give it a go as yet no major increase in server load is noted.

mcyates 12-04-2004 12:00 AM

Quote:

Originally Posted by mackers8923
*Installed*

Going to give it a go as yet no major increase in server load is noted.

this didn't increase my server load one bit. What it did do is increase the quieries and slowed my site down via tha database. But it was only slight slower. i like very fast sites and I actually had this on for 2 months, i've JUST remved it.

Torqued 12-08-2004 01:16 AM

It looks like the script is only counting people that are using custom avatars and not the people using the installed avatars.

I found this code that looks like it's doing that:

PHP Code:

$alle_avatars $DB_site->query_first("SELECT COUNT( * ) as avatar FROM " TABLE_PREFIX "customavatar "); 

How would you fix that so that it would count both people using custom avatars and people using installed avatars?

morrow 12-08-2004 03:13 AM

*Installed tonight in about 8 minutes. Very nice hack so far, let's see what happens when the cron job kicks in! :)

Thanks a bunch for this gem.

*Clicks install


All times are GMT. The time now is 08:36 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01683 seconds
  • Memory Usage 1,745KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete