vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   Server unresponsive - Any ideas? (https://vborg.vbsupport.ru/showthread.php?t=194535)

Lea Verou 10-25-2008 04:50 PM

Server unresponsive - Any ideas?
 
Lately, many users were complaining about the site being slow (I also experienced such issues myself).

We installed microstats and found out that the problem is that those times that the page takes a long time to load, its because of PHP, and not mySQL (for instance: Page generated in 29,596240 seconds (99,26% PHP - 0,74% MySQL) with 25 queries).

If it was mySQL, it would be easier to troubleshoot it and find out which queries are slow. But how do I proceed now, that PHP is the problem?

Note: It doesn't happen every time a page is loaded, but some of the times.

Shamil. 10-25-2008 05:50 PM

Can you give us more information e.g, shared server, VPS, dedicated. Processor type/power, RAM. What Web Server software, e.g Apache/nginx etc.

Lea Verou 10-25-2008 06:54 PM

I'm sorry, you're right, I should have provided more information.
The server is a dedicated server at rackspace.
  • Memory: 6 GB DDR RAM
  • Hard Drive: 250GB SATA
  • Hard Drive: 250GB SATA
  • Whitebox Server: Dual Socket Dual Core AMD Opteron 2214HE
  • Linux OS: Red Hat Enterprise Linux 5 - 64 bit
The web server software is Apache.

--------------- Added [DATE]1224964644[/DATE] at [TIME]1224964644[/TIME] ---------------

By the way, when I disabled hooks (for myself only) it was still slow sometimes, even though the page generation time (provided by debug mode) was much less. :confused:

Lynne 10-25-2008 07:15 PM

Have you already posted in the Server Configuration forum over at vb.com to get your server optimized?

Lea Verou 10-25-2008 08:25 PM

Quote:

Originally Posted by Lynne (Post 1652601)
Have you already posted in the Server Configuration forum over at vb.com to get your server optimized?

No, should I?

azn_romeo_4u 10-25-2008 09:23 PM

Update your php maybe? Have you check your server error logs? Installed any mods lately?

Lynne 10-25-2008 10:07 PM

Quote:

Originally Posted by Michelle (Post 1652630)
No, should I?

I would recommend it. They have helped me get each of my servers running well (we've moved servers or changed configurations a few times over the years).

Lea Verou 10-26-2008 08:50 AM

Quote:

Originally Posted by azn_romeo_4u (Post 1652653)
Update your php maybe? Have you check your server error logs? Installed any mods lately?

PHP is quite up to date (version 5.2.x). I haven't installed any mods lately (but I'm constantly adding some of my own). Nothing weird in the server error logs.

@Lynne: Thanks, I'll give it a try!

Angel-Wings 10-26-2008 10:05 AM

Hmmm - maybe some PHP issues.

Can you copy the board to a test environment enabling the PHP error reporting in case there's something wrong ?

Shamil. 10-26-2008 12:51 PM

What's your RAM usage? Try doing a grep command :)


All times are GMT. The time now is 01:54 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.01030 seconds
  • Memory Usage 1,729KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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