Page Index Toggle Pages: 1
Topic Tools
Normal Topic Performance problems -- slow loading (Read 1,889 times)
JonB
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 3,818
Location: Land of the Blazing Sun!

YaBB 2.6.1
Re: Performance problems -- slow loading
Reply #8 - May 7th, 2012 at 4:25pm
Post Tools
Well, I have had another thought --

I don't know VM ware, but - it might have to do with the way your virtual network adapter is set up. I was dinking with VirtualBox this AM getting a Centos server image to work. At least in VirtualBox - there's a whole raft of options (connection models) on how to set up your adapter.  I really actually read through (  Tongue ) their whole chapter on it to grok the subtle differences, and what one could do vs. the other. 

In the end I got webmin running and found I had a nice server working. LOL, I have been doing this a long time, but I had forgotten how lonely a headless server (with no CP) is if "YOU" didn't set it up!  Grin   Doing the work yourself has the enormous value of 'you know where stuff is'...

Good Luck if you are still on this issue.
Cool

  

I find your lack of faith disturbing.
Back to top
IP Logged
 
WebMe
Junior Member
**
Offline



Posts: 66

None
Re: Performance problems -- slow loading
Reply #7 - May 6th, 2012 at 10:48pm
Post Tools
If you want to try on a YaBB compatible host (even if it's just for a reference) contact me and I'll set you up a trial account  Smiley
  

We offer YaBB compatible hosting. Ask for a free trial.
Back to top
IP Logged
 
jdw
YaBB Newcomer
*
Offline



Posts: 6

YaBB 2.6.1
Re: Performance problems -- slow loading
Reply #6 - May 4th, 2012 at 12:48am
Post Tools
This is perl, v5.10.1 (*) built for x86_64-linux-gnu-thread-multi

I"ll check on to see if there is some way to check on disk swap. It's on a fast RAID 10 array, though, so the drives are unlikely slow things down that much...

Thanks for the ideas -- I do appreciate the help.
  
Back to top
 
IP Logged
 
JonB
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 3,818
Location: Land of the Blazing Sun!

YaBB 2.6.1
Re: Performance problems -- slow loading
Reply #5 - May 4th, 2012 at 12:21am
Post Tools
See if there's a way to watch disk activity in the hypervisor. I think we are dealing with a swap issue.

(just a guess/thought)

You also might try it with a VM built from the 32 bit 'Server CD' and see if that makes a diff. (no desktop to support and no address translation) and possibly tuned differently.  I'm a RHEL family guy, LOL and they are all different.

Edited:
Umm find out if the Perl is 64 bit ot 32 bit


Good Luck
Wink
« Last Edit: May 4th, 2012 at 12:29am by JonB »  

I find your lack of faith disturbing.
Back to top
IP Logged
 
jdw
YaBB Newcomer
*
Offline



Posts: 6

YaBB 2.6.1
Re: Performance problems -- slow loading
Reply #4 - May 3rd, 2012 at 11:56pm
Post Tools
OS is the 64-bit desktop system, with 2 virtual processors and 2GB RAM. Top shows a steady memory usage of ~500M, no spikes when pages load. No discernible change in processor utilization when pages load, and processor usage is very low.

The only thing I could find on a web search was one person who reported similar problems that went away when HostnameLookups in apache2.conf was set to "on". I tried that, it made no difference. I turned off compression, that made no difference. It would make sense for this to be network-related, since there are no clues in processor or memory usage, but I don't know what else to try.
  
Back to top
 
IP Logged
 
JonB
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 3,818
Location: Land of the Blazing Sun!

YaBB 2.6.1
Re: Performance problems -- slow loading
Reply #3 - May 3rd, 2012 at 11:15pm
Post Tools
Well - that makes it pretty tough to diagnose.

I don't know XenServer, but I do run other VM software. My guess is we are dealing with a resource issue (as it would be with any other case like this). Perl uses a lot of temp resources, plus it has to launch a copy of the executable for every session. How much VRAM have you assigned to that virtual machine?  Did you use a off-the-shelf VM or install yourself?? (I'm thinking about swap space).  Does the hypervisor have instrumentation? 

PHP typically runs inside Apache, so its a bit different than a CGI app.

Is the Ubuntu a server install or a desktop and is it 32 bit or 64? 

My 'best guess' is that something has to be swapped out to disk (or virtual disk).

Finally on my thoughts of the moment - have you run top thru term while this is happening???

Good Luck
Cool
  

I find your lack of faith disturbing.
Back to top
IP Logged
 
jdw
YaBB Newcomer
*
Offline



Posts: 6

YaBB 2.6.1
Re: Performance problems -- slow loading
Reply #2 - May 3rd, 2012 at 6:26pm
Post Tools
The forum server is a 2-core virtual machine running Ubuntu 10.04 under the XenServer hypervisor on a 64-core server that I control. This VM only does two things at this point, the forum and serving up a very small static web site. The static site is very fast, and a php-based large web application running under a separate VM on the same XenServer has no response problems.

Before I moved it, the board was located on a SUSE machine, where it had no such performance issues.
  
Back to top
 
IP Logged
 
JonB
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 3,818
Location: Land of the Blazing Sun!

YaBB 2.6.1
Re: Performance problems -- slow loading
Reply #1 - May 3rd, 2012 at 1:23pm
Post Tools
is this 'your server', a VPS or a shared webhost???

If its a VPS or a hsoting account -- is it the same hosting operation?

Cool
  

I find your lack of faith disturbing.
Back to top
IP Logged
 
jdw
YaBB Newcomer
*
Offline



Posts: 6

YaBB 2.6.1
Performance problems -- slow loading
May 3rd, 2012 at 1:04am
Post Tools
I recently moved my YaBB 2.4 installation to a new server. On the new machine (Ubuntu 10.04 /Apache2) the forum pages each have a 5-6 second delay in loading. I upgraded to 2.5 AE, and it made no difference.

I turned on debugging for Admins, and it shows a large delay between IMSFILE (Load.pl) and LOG (Subs.pl). The full debugging output is included below.

I have searched the web to no avail. Anyone have an idea on what's going wrong here?

Thanks!  -- John

Debugging Information

benchmarking:
Page completed in 5.2119 seconds.

Your IP address is:
[deleted]

Your Browser Agent:
Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.162 Safari/535.19

debug tracer:

File Check on Open/Close:
Opened 15 files and Closed 15 files. (should be equal numbers)

Filehandle/Files Opened:
opened FILEHANDLE (time)     MODEfilepathname     closed FILEHANDLE (time)
[package, scriptpathname, line]

FORUMCONTROL (0.1057)     ./Boards/forum.control     FORUMCONTROL (0.1059)
[main, ./Sources/Load.pl, 26]

LOADUSER (0.1064)     +<./Members/jdw.vars     LOADUSER (0.1073)
[main, ./Sources/Load.pl, 176]

IMSFILE (0.1299)     ./Members/jdw.ims     IMSFILE (0.1301)
[main, ./Sources/Load.pl, 890]

LOG (5.1374)     +<./Variables/log.txt     LOG (5.1376)
[main, ./Sources/Subs.pl, 1499]

FILEMEMGET (5.1777)     ./Members/members.ttl     FILEMEMGET (5.1779)
[main, ./Sources/Subs.pl, 1292]

BOTS (5.1779)     ./Variables/bots.hosts     BOTS (5.1781)
[main, ./Sources/BoardIndex.pl, 809]

FORUMTOTALS (5.1793)     ./Boards/forum.totals     FORUMTOTALS (5.1795)
[main, ./Sources/System.pl, 29]

GETLOG (5.1798)     ./Members/jdw.log     GETLOG (5.1799)
[main, ./Sources/Subs.pl, 878]

CENSOR (5.1807)     ./Languages/English/censor.txt     CENSOR (5.1809)
[main, ./Sources/Load.pl, 91]

EXMEMBERTHREAD (5.1841)     ./Messages/1293488749.txt     EXMEMBERTHREAD (5.1842)
[main, ./Sources/BoardIndex.pl, 421]

MOSTUSERS (5.1871)     ./Variables/mostlog.txt     MOSTUSERS (5.1872)
[main, ./Sources/BoardIndex.pl, 587]

LOADUSER (5.1888)     ./Members/eaday.vars     LOADUSER (5.1890)
[main, ./Sources/Load.pl, 159]

BCMESS (5.1913)     <./Members/broadcast.messages     BCMESS (5.1914)
[main, ./Sources/Load.pl, 912]

TEMPLATE (5.1917)     ./Templates/default/default.html     TEMPLATE (5.1920)
[main, ./Sources/Subs.pl, 216]

NEWS (5.1961)     ./Variables/news.txt     NEWS (5.1963)
[main, ./Sources/Subs.pl, 393]


Files loaded by:require
./Boards/forum.master => ./Boards/forum.master
./Languages/English/BoardIndex.lng => ./Languages/English/BoardIndex.lng
./Languages/English/Debug.lng => ./Languages/English/Debug.lng
./Languages/English/Main.lng => ./Languages/English/Main.lng
./Languages/English/Menu.lng => ./Languages/English/Menu.lng
./Languages/English/Post.lng => ./Languages/English/Post.lng
./Languages/English/TabMenu.lng => ./Languages/English/TabMenu.lng
./Sources/BoardIndex.pl => ./Sources/BoardIndex.pl
./Sources/DateTime.pl => ./Sources/DateTime.pl
./Sources/Debug.pl => ./Sources/Debug.pl
./Sources/Guardian.pl => ./Sources/Guardian.pl
./Sources/Load.pl => ./Sources/Load.pl
./Sources/Security.pl => ./Sources/Security.pl
./Sources/SubList.pl => ./Sources/SubList.pl
./Sources/Subs.pl => ./Sources/Subs.pl
./Sources/System.pl => ./Sources/System.pl
./Sources/TabMenu.pl => ./Sources/TabMenu.pl
./Sources/YaBBC.pl => ./Sources/YaBBC.pl
./Templates/default/BoardIndex.template => ./Templates/default/BoardIndex.template
./Variables/Menu2.def => ./Variables/Menu2.def
./Variables/Settings.pl => ./Variables/Settings.pl
AutoLoader.pm => /usr/share/perl/5.10/AutoLoader.pm
Config.pm => /usr/lib/perl/5.10/Config.pm
Digest/MD5.pm => /usr/lib/perl/5.10/Digest/MD5.pm
Digest/base.pm => /usr/share/perl/5.10/Digest/base.pm
DynaLoader.pm => /usr/lib/perl/5.10/DynaLoader.pm
Exporter.pm => /usr/share/perl/5.10/Exporter.pm
Exporter/Heavy.pm => /usr/share/perl/5.10/Exporter/Heavy.pm
Paths.pl => Paths.pl
Time/HiRes.pm => /usr/lib/perl/5.10/Time/HiRes.pm
XSLoader.pm => /usr/lib/perl/5.10/XSLoader.pm
strict.pm => /usr/share/perl/5.10/strict.pm
subs.pm => /usr/share/perl/5.10/subs.pm
vars.pm => /usr/share/perl/5.10/vars.pm
warnings.pm => /usr/share/perl/5.10/warnings.pm
warnings/register.pm => /usr/share/perl/5.10/warnings/register.pm
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Topic Tools
 
  « Board Index ‹ Board  ^Top