[mysqld]
safe-show-database
innodb_data_file_path=ibdata1:10M:autoextend
query_cache_type=1
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
query_cache_size=128M
connect_timeout=5
max_connections=100
thread_cache=100
thread_concurrency=120
thread_stack=512000
key_buffer_size=512K
sort_buffer_size=100K
read_buffer_size=100K
max_allowed_packet=64M
[mysql.server]
user=mysql
basedir=/var/lib
[safe_mysqld]
err-log=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
mysqladmin: connect to server at 'localhost' failed
Komutların hepsinde bu hatayı aldım

 
[root@linux root]# uname -a
Linux linux.netkolik.org 2.6.17-8_teknofixsmp #1 SMP Fri Aug 18 00:12:49 EEST 2006 i686 i686 i386 GNU/Linux

 
[root@linux root]# ulimit -aH
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
stack size (kbytes, -s) unlimited
cpu time (seconds, -t) unlimited
max user processes (-u) 8176
virtual memory (kbytes, -v) unlimited
 
top - 20:04:30 up 23:50, 1 user, load average: 1.56, 2.00, 2.04
Tasks: 107 total, 1 running, 105 sleeping, 0 stopped, 1 zombie
Cpu(s): 44.9% us, 6.2% sy, 0.0% ni, 47.9% id, 0.4% wa, 0.1% hi, 0.5% si
Mem: 513764k total, 396392k used, 117372k free, 15472k buffers
Swap: 1950472k total, 144920k used, 1805552k free, 104680k cached

httpd.conf
 
Timeout 60
KeepAlive On
MaxKeepAliveRequests 0
KeepAliveTimeout 45
MinSpareServers 5
MaxSpareServers 20
StartServers 2
MaxClients 150
MaxRequestsPerChild 4000
Buyrun arkadaslar