안녕하세요?
저는 지금 APM으로 꾸며서 홈페이지를 운영중인데요.
이상한것은, 서버에서 홈페이지를 들어가서 게시판 같은 DB를 쓰는
곳을 들어가면 괸찮은데, 가끔 다른 곳에서 접속해서 이쪽으로 접속하면
어떨땐 빠르고 어떨땐 느리고, 나올생각을 않하니까..
정말 열받네요.
하드가 너무 느려서 그런가요? 근데, localhost에서 접속할경우,
괜찮은데 말이죠.
DB하드는 지금 IBM 10.1G 7200RPM이구엽.. 여기에 데비안 리눅스를
돌리구요..
짱나네요.
제가 튜닝을 잘못해서 그런가요?
아래 는 제 my.cnf파일입니다.
# Example mysql config file.
#
# I hope the following parameters will once get into the upstream
# version... <ch@debian.org>
#
# debian_error_log This logfile contains the start and stop time of the
# daemon and the reason that prevents its startup.
#
[debian]
debian_error_log = /var/log/mysql.err
# You can copy this to one of:
# /etc/mysql/my.cnf to set global options,
# mysql-data-dir/my.cnf to set server-specific options (in this
# installation this directory is /var/lib/mysql) or
# ~/.my.cnf to set user-specific options.
#
# One can use all long options that the program supports.
# Run the program with --help to get a list of available options
# This will be passed to all mysql clients
[client]
#password = my_password
port = 3306
socket = /var/run/mysqld/mysqld.sock
# Here is entries for some specific programs
# The following values assume you have at least 32M ram
# The MySQL server
#
[mysqld]
user = mysql
pid-file = /var/run/mysqld/mysqld.pid
socket = /var/run/mysqld/mysqld.sock
port = 3306
log = /var/log/mysql.log
basedir = /usr
datadir = /var/lib/mysql
tmpdir = /tmp
language = /usr/share/mysql/english
skip-locking
set-variable = key_buffer=16M
set-variable = max_allowed_packet=2M
set-variable = thread_stack=128K
[mysqldump]
quick
set-variable = max_allowed_packet=2M
[mysql]
auto-rehash
[isamchk]
set-variable = key_buffer=16M
~
~
그럼 이만^^
|