The Arcive of vBulletin Modifications Site. |
|
Slow Search - mySQL optimized but still the same Details »»
|
|||||||||||||||||||||||||||||||||
|
Slow Search - mySQL optimized but still the same
Developer Last Online: Jul 2007
I have a problem with some kind of commands with vBulletin. For example when you run a search the result page shows up after about 10 seconds (in this case the server load is almost at 0) and the creation time is something like "0.30~0.50seconds".
Another slow respond case is if you post a new thread, but not if you add a reply(!) or when you click on a link to the newes post of a thread "showthread.php?goto=newpost&t=5383" for example. This action takes about seconds again. But If you go to the same thread without this option it shows up instantly. How can you explain this? Download Now
Show Your Support
|
|||||||||||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Are you using similiar threads functions? I'd disable them.
|
|
#3
|
|||
|
|||
|
No, this has no effect on my forum at all. I tested it with this function turned on and off.
|
|
#4
|
||||
|
||||
|
Did you disable them showing or disable them 100%? there are 3 settings that control them.
|
|
#5
|
|||
|
|||
|
Originally I had this function turned off, after turning it on there was no extra slow-down. I assure you this has nothing to do with my problem.
|
|
#6
|
||||
|
||||
|
I assure you, you should try
|
|
#7
|
|||
|
|||
|
I did, thats why I told you it really has nothing to do with it.
|
|
#8
|
|||
|
|||
|
Quote:
Thanks. |
|
#9
|
|||
|
|||
|
AdminCP -> Messag Searching Options -> Automatic Similar Thread Search
AdminCP -> Thread Display Options (showthread) -> Show Similar Threads? I just found two settings that have a direct control over that. Anyway I enabled these after i noticed my problem, still no change at site creation tme. |
|
#10
|
|||
|
|||
|
backup your old my.cnf and replace it with this one.
Code:
[mysqld] datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock skip-locking skip-innodb query_cache_limit=8M query_cache_size=256M query_cache_type=1 max_connections=500 max_user_connections= 300 interactive_timeout=20 wait_timeout=20 connect_timeout=6 thread_cache_size=128 key_buffer=16M join_buffer=1M max_allowed_packet=16M table_cache=1024 record_buffer=1M sort_buffer_size=2M read_buffer_size=2M max_connect_errors=10 # Try number of CPU's*2 for thread_concurrency thread_concurrency=4 myisam_sort_buffer_size=64M #log-bin server-id=1 [mysql.server] user=mysql basedir=/var/lib [safe_mysqld] err-log=/var/log/mysqld.log pid-file=/var/lib/mysql/mysql.pid open_files_limit=8192 [mysqldump] quick max_allowed_packet=16M [mysql] no-auto-rehash #safe-updates [isamchk] key_buffer=32M sort_buffer=32M read_buffer=16M write_buffer=16M [myisamchk] key_buffer=32M sort_buffer=32M read_buffer=16M write_buffer=16M |
![]() |
|
|