大家说说,为什么网站的速度这么慢呢,急求帮助!

[复制链接]
查看11 | 回复2 | 2005-12-26 22:14:00 | 显示全部楼层 |阅读模式
大家说说,为什么网站的速度这么慢呢
我的网站用的是2。5f sp1版本,由于经常发生mysql崩溃的情况,所以把my.ini 换成了my-meduim 容量的设置,发现稳定是有了,但是速度奇慢阿,每个网页都要20秒以上才能打开,但是静态页面却很快的,不知道是什么原因,大家能帮我看看吗?我的服务器是专用的,有1g的内存。网上一般在线在百人左右。
我的my.ini的主要内容附后:

# The following options will be passed to all MySQL clients
[client]
#password= your_password
port
= 3306
socket
= /tmp/mysql.sock
# Here follows entries for some specific programs
# The MySQL server
[mysqld]
basedir=D:/usr/local/mysql4
datadir=D:/usr/local/mysql4/data
port
= 3306
socket
= /tmp/mysql.sock
skip-locking
key_buffer = 128M
max_allowed_packet = 1M
table_cache = 256
sort_buffer_size = 1M
read_buffer_size = 1M
myisam_sort_buffer_size = 16M
thread_cache = 32
query_cache_size= 32M
# Try number of CPU's*2 for thread_concurrency
thread_concurrency = 4
# above is my_meduim mode, follow add new config by Hunter
net_buffer_length = 16K
wait_timeout = 60
interactive_timeout = 60
max_connections=500
back_log = 100

# Replication Master Server (default)
# binary logging is required for replication
log-bin
# required unique id between 1 and 2^32 - 1
# defaults to 1 if master-host is not set
# but will not function as a master if omitted
server-id= 1

[mysqldump]
quick
max_allowed_packet = 16M
[mysql]
no-auto-rehash
# Remove the next comment character if you are not familiar with SQL
#safe-updates
[isamchk]
key_buffer = 128M
sort_buffer_size = 128M
read_buffer = 2M
write_buffer = 2M
[myisamchk]
key_buffer = 128M
sort_buffer_size = 128M
read_buffer = 2M
write_buffer = 2M
[mysqlhotcopy]
interactive-timeout
回复

使用道具 举报

千问 | 2005-12-26 22:14:00 | 显示全部楼层
你的数据量现在有多大,还有程序中有没有可优化的部份.
回复

使用道具 举报

千问 | 2005-12-26 22:14:00 | 显示全部楼层
数据量只有十几m, 程序是 fd2.5f ,就是那个有名的 DISCUZ 2.5F SP1 论坛软件
每天共计1000ip左右
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行