vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Page generation time occasionally very high - help please? (https://vborg.vbsupport.ru/showthread.php?t=76064)

kall 02-10-2005 02:51 AM

Page generation time occasionally very high - help please?
 
Quote:

Page generated in 25.80994892 seconds (99.88% PHP - 0.12% MySQL) with 25 queries
This seems to be related to showthread.php mainly..and usually it is when I am clicking for the last post.

Why might it be doing so much php stuff?

Andreas 02-10-2005 06:18 AM

Do you have any hackes installed?
Looks like a timeout or smth. to me.

kall 02-10-2005 06:30 AM

Quote:

Originally Posted by KirbyDE
Quick reply to this message

Hey, now that's weird..look at what was stuck into the Quick Reply..

Anyway! Yeah. Many. :)

What would help to diagnose this?

Andreas 02-10-2005 06:44 AM

Well, replace showthread.php with the original (of course create a backup first) and check if it does still happen.

neocorteqz 02-10-2005 06:51 AM

well the 25 queries would be a start. Cut down the queries, and page generation times should go down with it.

adding $debug = 1 in config.php will help you asses what queries are being ran.

If you find you can get the query count down without removing hacks,then I suggest you ask in the threads of the hacks that you installed,how to cut down the queries without having to remove the hack.

Also some hacks just might not work well together.

Brad 02-10-2005 07:10 AM

Quote:

Originally Posted by neocorteqz
well the 25 queries would be a start. Cut down the queries, and page generation times should go down with it.

adding $debug = 1 in config.php will help you asses what queries are being ran.

If you find you can get the query count down without removing hacks,then I suggest you ask in the threads of the hacks that you installed,how to cut down the queries without having to remove the hack.

Also some hacks just might not work well together.

That dos'nt seem to be the problem here altho I agree it is a high number. Something in php is casuing the long execution time. Dose this happen only on showthread.php or dose it happen other places aswell?

What hacks have you made to showthread.php, the global scape, and are there any cron scripts running at certain times? What else is on this server?

kall 02-10-2005 07:23 AM

Quote:

Originally Posted by Brad.loo
That dos'nt seem to be the problem here altho I agree it is a high number. Something in php is casuing the long execution time. Dose this happen only on showthread.php or dose it happen other places aswell?

What hacks have you made to showthread.php, the global scape, and are there any cron scripts running at certain times? What else is on this server?

I have had a look at the 'explain' under debug mode...there seems to be a common thing in the part about parseing posts. That number is usually high...none of the queires being executed are above 0.7 usually, most are way way under it.

From memory - ibproarcade (crowns in postbit), AWS warning system, Activity, Private Threads...those ones affect showthread.php directly (or through functions_showthread.php).

Globally: Statistics, Hidden Posts notification in navbar, maybe one or 2 others.

As for what else is on the server, it's shared hosting, so it could well be anything.

neocorteqz 02-10-2005 08:35 AM

Could be the shared hosting, someone else is taking up an unsual amount of server resources somewhere. maybe even PHP.

if you have shell access in linux you should be able to check this out.I think the Top command would give you info on what processes arerunning. Windows I'm not sure how to check.

Brad 02-10-2005 08:46 AM

Have you added any custom bbcodes? Is posting cache on or off?

neocorteqz 02-10-2005 08:50 AM

Quote:

Originally Posted by Brad.loo
Have you added any custom bbcodes? Is posting cache onor off?

just curious, what custom bbcode could cause problems?

I know I use the spoiler hack that was posted somewhere on the vBull sites.

Just want to make sure i don't install something that may cause problems down the road.


All times are GMT. The time now is 03:17 AM.

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.02044 seconds
  • Memory Usage 1,736KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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