Go Back   vb.org Archive > Community Central > Community Lounge
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #31  
Old 07-23-2003, 12:34 PM
N9ne N9ne is offline
 
Join Date: Feb 2002
Posts: 1,495
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 02:06 PM Erwin said this in Post #30
If you have a busy site, check to see if your disk is swapping a lot. If so, upgrade to 2 GB RAM. It will help a lot.
How do I check that?

Edit: I also just found out that the maximum RAM I can have on my P4 at RS is 1.5GB so I will only be able to add 512MB of RAM.
Reply With Quote
  #32  
Old 07-24-2003, 10:47 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Yesterday at 11:34 PM N9ne said this in Post #31
How do I check that?

Edit: I also just found out that the maximum RAM I can have on my P4 at RS is 1.5GB so I will only be able to add 512MB of RAM.
Log into SSH, and run:

top

in the command line.

Keep it running. If the swap size keeps changing when your server is busy, it's time to upgrade your RAM.
Reply With Quote
  #33  
Old 07-24-2003, 12:00 PM
N9ne N9ne is offline
 
Join Date: Feb 2002
Posts: 1,495
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well I was looking at 'top' yesterday for several hours when I had 180 online, and my conclusion:

Hardly any 'swap' is being used.

However: Sometimes, my RAM usage is EXTREMELY high. I have 1024MB RAM and there's only 70MB free right now (it's 2pm in UK)

Also, my server load seems to be above 0.8 for most of the day now, it's above 2 at peak times.

There really aren't many sites on my server to be honest. I don't know what's going on. I have 2 sites that are just using PHP (no MySQL) but are quite popular (not THAT popular) and then there's my forums; about 180 online at peak times.

Pentium 4 2.4Ghz
1GB RAM
cPanel 7.2.1 S85

That's one powerful server and handling those 3 sites should be no trouble yet it is trouble and for what reason I do not know. Server load is constantly high, RAM usage is sometimes very low, even at peak times, but sometimes its very very high...

help
Reply With Quote
  #34  
Old 07-24-2003, 12:33 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

N9ne are you using MySQL 3.x? If so I would recommend that you upgrade to MySQL 4.x and make sure you enable query caching.
Reply With Quote
  #35  
Old 07-24-2003, 12:34 PM
N9ne N9ne is offline
 
Join Date: Feb 2002
Posts: 1,495
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've been using MySQL 4.0.12/4.0.13 for a few months now
Reply With Quote
  #36  
Old 07-24-2003, 05:11 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you enabled Queer catching? Sorry Query caching



Satan
Reply With Quote
  #37  
Old 07-24-2003, 05:17 PM
bvtonedog bvtonedog is offline
 
Join Date: Jul 2003
Location: Charlottesville VA
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the server is fast , well at least darkblazes is a lot faster now
psst..this is Teapot, forgot my pass/email account for that name on here lol
Reply With Quote
  #38  
Old 07-24-2003, 05:25 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yo Tea of the Pot

Everyone - This is a long time friend / mod of mine from DarkBlazes - He has his 0wn vB3 now (I like to think he enjoys DarkBlazes enough to inspire his purchase of this fine product)

Satan
Reply With Quote
  #39  
Old 07-24-2003, 05:29 PM
bvtonedog bvtonedog is offline
 
Join Date: Jul 2003
Location: Charlottesville VA
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yess....that was it
Reply With Quote
  #40  
Old 07-24-2003, 05:34 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im sure it was

Satan
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:29 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.03868 seconds
  • Memory Usage 2,249KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete