Digital Point Forums
Winn and Sims

Go Back   Digital Point Forums > Design & Development > Site & Server Administration
Google Analytics
Log In to view
your analytics

Reply
 
Thread Tools
  #1  
Old Oct 16th 2009, 12:06 am
ihostman's Avatar
ihostman ihostman is offline
Grunt
 
Join Date: Dec 2008
Posts: 57
ihostman is an unknown quantity at this point
MySQL optimization for Chat Server(red5)

guys, we are running chat server(red5). servers specs are: Intel Xeon QuadCore SingleProc Sata,

2GB ram with latest cPanel, apache and mysql...server is running fine with the mysql config, still i

want to show my mysql config file to you guys so that you can suggest me something more for

better performance for those chatrooms.

Here is my my.cnf:
============================================
[mysqld]
set-variable = max_connections=300
safe-show-database
max_user_connection=100
query_cache_size=256M
query_cache_limit=32M
query_cache_type = 1
max_allowed_packet=16M
table_cache=1024
thread_cache_size = 256
key_buffer_size=64M
wait_timeout=75
connect_timeout=50
interactive_timeout=100
#slave_net_timeout=35
tmp_table_size=128M
read_buffer_size=2M
sort_buffer_size=2M
read_rnd_buffer_size=2M
myisam_sort_buffer_size=128M
record_buffer=1M
thread_concurrency=4
local-infile=0
============================================
__________________
TetraHost Bangladesh
Shared Hosting | Reseller Hosting | Semi Dedicated Box
Biased for true hosting experience - www.tetrahostbd.com
Reply With Quote
  #2  
Old Oct 17th 2009, 4:32 am
Natashalein's Avatar
Natashalein Natashalein is offline
Grunt
 
Join Date: Oct 2009
Location: Germany
Posts: 84
Natashalein is on a distinguished road
I would suggest you to increase the max_connections to 1000.Even if they are not used it takes no performance but if many visitors are in your chat and write you need a lot of connections established. ( Depends on how much users you get but it does not hurt to set it to a high value )
Furthermore i would increase max_user_connections to 500.
Increase your table cache to 128mb.
Reply With Quote
  #3  
Old Oct 18th 2009, 7:29 am
ihostman's Avatar
ihostman ihostman is offline
Grunt
 
Join Date: Dec 2008
Posts: 57
ihostman is an unknown quantity at this point
thanks for your suggestion
__________________
TetraHost Bangladesh
Shared Hosting | Reseller Hosting | Semi Dedicated Box
Biased for true hosting experience - www.tetrahostbd.com
Reply With Quote
  #4  
Old Oct 18th 2009, 7:33 am
Natashalein's Avatar
Natashalein Natashalein is offline
Grunt
 
Join Date: Oct 2009
Location: Germany
Posts: 84
Natashalein is on a distinguished road
You're welcome .
Reply With Quote
Reply

Bookmarks

Tags
red5

Thread Tools

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Chat Server Hosting Service (Red5) ihostman Web Hosting 0 Sep 17th 2009 1:31 pm
Chat Server Hosting Service (Red5) ihostman Web Hosting 0 Jul 7th 2009 2:46 am
Using Red5 for video streaming - Anyone put this in a server? Belier Site & Server Administration 6 May 30th 2009 6:54 am
WTH - Quick job install Red5 Flash Server on server easterwolf Programming 0 Mar 16th 2009 10:09 pm
MySQL server optimization for HUGE table queries afactory MySQL 3 Mar 15th 2009 6:42 am


All times are GMT -8. The time now is 10:28 am.