timeout ları ve thread leri ayarladım ancak "memory" parametresini kabul etmedi. illegal komut diyor. bunu nasıl düzeltebilirim?
key_buffer = 384M
#memory = 384M + { 4 * 1000 }
max_connections = 1000
wait_timeout=15
connect_timeout=10
thread_concurrency = 2 mehmet celik writes:

islemci 32-bit, 32-bit islemcilerde memory 4GB destekleyebilir (OS'a bagli olarak genisletilebilir). Kullandiginiz "my.cnf" dosyasina gore ayarlariniz cok yanlis, soyle ki; memory = key_buffer + { (sort_buffer_size+read_buffer_size) * max_connections } memory = 384 MB + { 4 * 1000 } "out of memory" nin sorunu bu olabilir. Bir de fiziksel olarak kullanilan CPU sayisida yanlis belirtilmis,
thread_concurrency = (CPUs * 2)
thread_concurrency = 2 olmasi gerekir, sizin sisteminiz icin bu deger "8" olarak gozukuyo... Extra olarak;
wait_timeout=15         # bostaki client icin timeout zamanini belirtir.
connect_timeout=10 "httpd.conf" dosyasindan "MaxClients" degiskenini kucuk tutarsaniz, bu "mysql"e yapilacak baglantilari da bir nebze kisitlar.. Kolay gelsin.. iyi calismalar..
From: "mesutgl" <[EMAIL PROTECTED]>
Reply-To: freebsd@lists.enderunix.org
To: freebsd@lists.enderunix.org
Subject: Re: [FreeBSD] mysql sorunu
Date: Mon, 03 Sep 2007 16:27:29 +0300 dmesg ç.kt.lar.nda bir.ey yok. sysctl den ald...m veriler a.a..da. 32 bit i.lemci.
-su-2.05b# sysctl -a | grep mem
     memdesc     1     4K      4K        1  4096
vm.kmem_size: 335544320
vm.kmem_size_max: 335544320
vm.kmem_size_scale: 3
vfs.ufs.dirhash_maxmem: 2097152
vfs.ufs.dirhash_mem: 2093252
debug.fwmem_debug: 0
hw.physmem: 4084539392
hw.usermem: 3810017280
hw.realmem: 4093493248
hw.firewire.fwmem.eui64_hi: 0
hw.firewire.fwmem.eui64_lo: 0
hw.firewire.fwmem.speed: 2
hw.cbb.start_memory: 2281701376
hw.pci.host_mem_start: 2147483648
p1003_1b.memlock: 0
p1003_1b.memlock_range: 0
p1003_1b.memory_protection: 0
p1003_1b.shared_memory_objects: 1
-su-2.05b# sysctl -a | grep cpu
kern.threads.virtual_cpu: 1
kern.ccpu: 1948
kern.smp.maxcpus: 1
kern.smp.cpus: 1
debug.cpufreq.lowest: 0
debug.cpufreq.verbose: 0
hw.ncpu: 1
hw.acpi.cpu.cx_supported: C1/0
hw.acpi.cpu.cx_lowest: C1
hw.acpi.cpu.cx_usage: 100.00%
machdep.cpu_idle_hlt: 1
dev.cpu.0.%desc: ACPI CPU
dev.cpu.0.%driver: cpu
dev.cpu.0.%location: handle=\_PR_.CPU1
dev.cpu.0.%pnpinfo: _HID=none _UID=0
dev.cpu.0.%parent: acpi0 MYI dosyalar. çok fazla. en büyü.ü 590 MB. di.erleri ise 0 - 2 MB aras.nda de.i.iyor. mehmet celik writes:

Merhabalar, kullandiginiz "my.cnf" biraz agir takilan sistemler icin :)
. sistem uzerinde kac cpu var ?
. cpu'lar 32-bit veya 64-bit ?
. sistem uzerinde fiziksel ram ?
. *MYI dosyanin ortalama boyutu ne kadar ? bunlari soyleyebilirseniz, daha saglikli cevaplar alabilirsiniz..
Saygilarimla..
Mehmet CELIK
From: "mesutgl" <[EMAIL PROTECTED]>
Reply-To: freebsd@lists.enderunix.org
To: freebsd@lists.enderunix.org
Subject: [FreeBSD] mysql sorunu
Date: Mon, 03 Sep 2007 15:15:32 +0300
MIME-Version: 1.0
Received: from fuzuli.enderunix.org ([64.90.164.206]) by bay0-mc5-f5.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Mon, 3 Sep 2007 05:16:22 -0700
Received: (qmail 55794 invoked by uid 89); 3 Sep 2007 12:16:07 -0000
Received: (qmail 55784 invoked by uid 89); 3 Sep 2007 12:16:07 -0000
X-Message-Delivery: Vj0zLjQuMDt1cz0wO2k9MDtsPTA7YT0w
X-Message-Info: 6sSXyD95QpUrZK1xexqlS2xoFvBDhX13W9vNtur4GMqByyLT9p+BFGpG5wMBx8d8bksFuWT Ls 6ucvI++HA0hTA== X-Mail-Scanner: Scanned by qSheff-II-2.1-r3 (http://www.enderunix.org/qsheff/)
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
List-Post: <mailto:freebsd@lists.enderunix.org>
List-Help: <mailto:[EMAIL PROTECTED]>
List-Unsubscribe: <mailto:[EMAIL PROTECTED]>
List-Subscribe: <mailto:[EMAIL PROTECTED]>
Delivered-To: mailing list freebsd@lists.enderunix.org
X-Mail-Scanner: Scanned by qSheff-II-2.1-r3 (http://www.enderunix.org/qsheff/) X-SMTP-Filter: SurGATE SMTP Filter Engine Release 0.7-STABLE http://www.endersys.com
X-SurGATE-SpamTest-Result: -1.10 points (Ham)
X-SurGATE-VirusScan-Result: Clean
X-SurGATE-MiscFilter-Result: No-Match
Return-Path: [EMAIL PROTECTED] X-OriginalArrivalTime: 03 Sep 2007 12:16:24.0260 (UTC) FILETIME=[3EC3C840:01C7EE24] disk sorunu ile ilgili geri dönü.leriniz için te.ekkür ederim. verileri yedekliyorum daha sonra yedek sunucuyu devreye alaca..m. peki a.a..daki durum için ne önerirsiniz. out of memory.... -su-2.05b# top last pid: 55146; load averages: 27.05, 22.23, 21.49 up 117+04:22:22 15:08:41
214 processes: 44 running, 170 sleeping
CPU states: 4.7% user, 29.2% nice, 65.0% system, 1.2% interrupt, 0.0% idle Mem: 302M Active, 3054M Inact, 265M Wired, 168M Cache, 112M Buf, 37M Free Swap: 6144M Total, 116K Used, 6144M Free PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 55085 mysql 128 14 541M 130M RUN 0:02 5.47% 3.91% mysqld 55048 mysql 129 14 541M 130M RUN 0:02 3.84% 3.66% mysqld 55069 mysql 129 14 541M 130M RUN 0:02 4.78% 3.66% mysqld 54850 mysql 129 14 541M 130M RUN 0:18 2.05% 2.05% mysqld 54954 mysql 129 14 541M 130M RUN 0:10 2.05% 2.05% mysqld 54953 mysql 129 14 541M 130M RUN 0:09 2.05% 2.05% mysqld 55002 mysql 129 14 541M 130M RUN 0:05 2.05% 2.05% mysqld 55003 mysql 129 14 541M 130M RUN 0:05 2.05% 2.05% mysqld 54849 mysql 129 14 541M 130M RUN 0:17 2.00% 2.00% mysqld 54893 mysql 129 14 541M 130M RUN 0:17 2.00% 2.00% mysqld 54975 mysql 129 14 541M 130M RUN 0:08 2.00% 2.00% mysqld 55007 mysql 129 14 541M 130M RUN 0:04 2.01% 2.00% mysqld 55049 mysql 129 14 541M 130M RUN 0:03 2.10% 2.00% mysqld 54896 mysql 129 14 541M 130M RUN 0:16 1.95% 1.95% mysqld 54895 mysql 129 14 541M 130M RUN 0:16 1.95% 1.95% mysqld 54929 mysql 129 14 541M 130M RUN 0:12 1.95% 1.95% mysqld 54971 mysql 128 14 541M 130M RUN 0:08 1.95% 1.95% mysqld 54894 mysql 129 14 541M 130M RUN 0:17 1.90% 1.90% mysqld 54928 mysql 129 14 541M 130M RUN 0:12 1.90% 1.90% mysqld 54952 mysql 128 14 541M 130M RUN 0:10 1.90% 1.90% mysqld 54974 mysql 129 14 541M 130M RUN 0:08 1.90% 1.90% mysqld 54976 mysql 128 14 541M 130M RUN 0:07 1.90% 1.90% mysqld 54977 mysql 129 14 541M 130M RUN 0:07 1.90% 1.90% mysqld 54997 mysql 129 14 541M 130M RUN 0:06 1.90% 1.90% mysqld 55001 mysql 129 14 541M 130M RUN 0:05 1.91% 1.90% mysqld 54999 mysql 129 14 541M 130M RUN 0:05 1.91% 1.90% mysqld 54868 mysql 128 14 541M 130M RUN 0:21 1.86% 1.86% mysqld 54998 mysql 129 14 541M 130M RUN 0:06 1.86% 1.86% mysqld 54931 mysql 129 14 541M 130M RUN 0:11 1.71% 1.71% mysqld 54867 mysql 126 14 541M 130M RUN 0:29 1.32% 1.32% mysqld 55039 mysql 20 14 541M 130M pause 0:02 0.54% 0.54% mysqld 55050 mysql 20 14 541M 130M pause 0:02 0.56% 0.54% mysqld 54843 root 128 0 19360K 11880K RUN 0:00 0.24% 0.24% httpd 55068 mysql 110 14 541M 130M RUN 0:00 0.06% 0.05% mysqld 55122 www 4 0 19472K 12068K accept 0:00 0.51% 0.05% httpd 84981 root 96 0 3768K 2644K select 1:22 0.00% 0.00% sendmail 29875 root 96 0 2532K 1884K select 0:22 0.00% 0.00% proftpd 493 root 8 0 1452K 896K nanslp 0:21 0.00% 0.00% cron 333 root 96 0 1412K 772K select 0:20 0.00% 0.00% syslogd 42760 root 8 0 6616K 5844K wait 0:10 0.00% 0.00% perl 422 root 96 0 1328K 720K select 0:08 0.00% 0.00% usbd 50953 root 96 0 2812K 1880K select 0:06 0.00% 0.00% top 477 smmsp 20 0 3648K 1920K pause 0:03 0.00% 0.00% sendmail 820 smmsp 20 0 3632K 1924K pause 0:03 0.00% 0.00% sendmail 835 smmsp 20 0 3632K 1916K pause 0:03 0.00% 0.00% sendmail 54989 www 96 0 20392K 13232K select 0:02 0.00% 0.00% httpd 42761 root 4 0 1316K 620K kqread 0:02 0.00% 0.00% tail 54827 mysql 107 11 541M 130M RUN 0:01 0.00% 0.00% mysqld 50875 emre 96 0 5976K 2348K select 0:01 0.00% 0.00% sshd 54920 www 96 0 24600K 17424K select 0:00 0.00% 0.00% httpd 54941 www 96 0 26264K 18912K select 0:00 0.00% 0.00% httpd 54882 www 96 0 20392K 13212K select 0:00 0.00% 0.00% httpd 54996 www 4 0 26276K 18928K sbwait 0:00 0.00% 0.00% httpd 54943 www 4 0 20380K 13100K sbwait 0:00 0.00% 0.00% httpd 54972 www 96 0 24308K 17132K select 0:00 0.00% 0.00% httpd 54892 www 96 0 19592K 12420K select 0:00 0.00% 0.00% httpd
-su-2.05b# tail www.mydomain.com.err
070903 15:08:45 [ERROR] /usr/local/libexec/mysqld: Out of memory (Needed 16391 bytes) 070903 15:08:45 [ERROR] /usr/local/libexec/mysqld: Out of memory (Needed 16391 bytes) 070903 15:08:45 [ERROR] /usr/local/libexec/mysqld: Out of memory (Needed 16391 bytes) 070903 15:08:45 [ERROR] /usr/local/libexec/mysqld: Out of memory (Needed 16391 bytes) 070903 15:08:45 [ERROR] /usr/local/libexec/mysqld: Out of memory (Needed 16391 bytes) 070903 15:08:45 [ERROR] /usr/local/libexec/mysqld: Out of memory (Needed 16391 bytes) 070903 15:08:45 [ERROR] /usr/local/libexec/mysqld: Out of memory (Needed 16391 bytes) 070903 15:08:45 [ERROR] /usr/local/libexec/mysqld: Out of memory (Needed 16391 bytes) 070903 15:08:49 [ERROR] /usr/local/libexec/mysqld: Out of memory (Needed 16391 bytes) 070903 15:08:52 [ERROR] /usr/local/libexec/mysqld: Out of memory (Needed 16391 bytes)
-su-2.05b# ps auxwww | grep mysql
mysql 55069 2,8 3,3 553592 132664 p1 RN 3:08PM 0:02,37 /usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf --basedir=/usr/local --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/www.mydomain.com.pid --port=3306 --socket=/tmp/mysql.sock mysql 55048 2,8 3,3 553592 132664 p1 RN 3:07PM 0:02,47 /usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf --basedir=/usr/local --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/www.mydomain.com.pid --port=3306 --socket=/tmp/mysql.sock mysql 55085 2,8 3,3 553592 132664 p1 RN 3:08PM 0:02,04 /usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf --basedir=/usr/local --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/www.mydomain.com.pid --port=3306 --socket=/tmp/mysql.sock mysql 55002 2,2 3,3 553592 132664 p1 RN 3:06PM 0:05,60 /usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf --basedir=/usr/local --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/www.mydomain.com.pid --port=3306 --socket=/tmp/mysql.sock mysql 54953 2,2 3,3 553592 132664 p1 RN 3:04PM 0:09,51 /usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf --basedir=/usr/local --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/www.mydomain.com.pid --port=3306 --socket=/tmp/mysql.sock mysql 55001 2,1 3,3 553592 132664 p1 RN 3:06PM 0:06,02 /usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf --basedir=/usr/local --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/www.mydomain.com.pid --port=3306 --socket=/tmp/mysql.sock mysql 54971 2,1 3,3 553592 132664 p1 RN 3:05PM 0:08,55 /usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf --basedir=/usr/local --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/www.mydomain.com.pid --port=3306 --socket=/tmp/mysql.sock mysql 54893 2,1 3,3 553592 132664 p1 RN 3:03PM 0:17,82 /usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf --basedir=/usr/local --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/www.mydomain.com.pid --port=3306 --socket=/tmp/mysql.sock mysql 54931 2,1 3,3 553592 132664 p1 RN 3:04PM 0:11,39 /usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf --basedir=/usr/local --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/www.mydomain.com.pid --port=3306 --socket=/tmp/mysql.sock mysql 54849 2,1 3,3 553592 132664 p1 RN 3:03PM 0:17,96 /usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf --basedir=/usr/local --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/www.mydomain.com.pid --port=3306 --socket=/tmp/mysql.sock mysql 54999 2,1 3,3 553592 132664 p1 RN 3:06PM 0:05,79 /usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf --basedir=/usr/local --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/www.mydomain.com.pid --port=3306 --socket=/tmp/mysql.sock mysql 54998 2,1 3,3 553592 132664 p1 RN 3:06PM 0:06,73 /usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf --basedir=/usr/local --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/www.mydomain.com.pid --port=3306 --socket=/tmp/mysql.sock mysql 55049 2,0 3,3 553592 132664 p1 RN 3:07PM 0:03,64 /usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf --basedir=/usr/local --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/www.mydomain.com.pid --port=3306 --socket=/tmp/mysql.sock mysql 55007 2,0 3,3 553592 132664 p1 RN 3:06PM 0:05,07 /usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf --basedir=/usr/local --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/www.mydomain.com.pid --port=3306 --socket=/tmp/mysql.sock mysql 55003 2,0 3,3 553592 132664 p1 RN 3:06PM 0:05,49 /usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf --basedir=/usr/local --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/www.mydomain.com.pid --port=3306 --socket=/tmp/mysql.sock mysql 54975 2,0 3,3 553592 132664 p1 RN 3:05PM 0:08,73 /usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf --basedir=/usr/local --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/www.mydomain.com.pid --port=3306 --socket=/tmp/mysql.sock mysql 54929 2,0 3,3 553592 132664 p1 RN 3:04PM 0:12,30 /usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf --basedir=/usr/local --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/www.mydomain.com.pid --port=3306 --socket=/tmp/mysql.sock mysql 54928 2,0 3,3 553592 132664 p1 RN 3:04PM 0:13,09 /usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf --basedir=/usr/local --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/www.mydomain.com.pid --port=3306 --socket=/tmp/mysql.sock mysql 54896 2,0 3,3 553592 132664 p1 RN 3:03PM 0:16,51 /usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf --basedir=/usr/local --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/www.mydomain.com.pid --port=3306 --socket=/tmp/mysql.sock mysql 54894 2,0 3,3 553592 132664 p1 RN 3:03PM 0:17,86 /usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf --basedir=/usr/local --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/www.mydomain.com.pid --port=3306 --socket=/tmp/mysql.sock mysql 54997 2,0 3,3 553592 132664 p1 RN 3:05PM 0:06,29 /usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf --basedir=/usr/local --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/www.mydomain.com.pid --port=3306 --socket=/tmp/mysql.sock mysql 54976 2,0 3,3 553592 132664 p1 RN 3:05PM 0:07,68 /usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf --basedir=/usr/local --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/www.mydomain.com.pid --port=3306 --socket=/tmp/mysql.sock mysql 54977 2,0 3,3 553592 132664 p1 RN 3:05PM 0:07,45 /usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf --basedir=/usr/local --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/www.mydomain.com.pid --port=3306 --socket=/tmp/mysql.sock mysql 54954 2,0 3,3 553592 132664 p1 RN 3:04PM 0:10,71 /usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf --basedir=/usr/local --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/www.mydomain.com.pid --port=3306 --socket=/tmp/mysql.sock mysql 54850 2,0 3,3 553592 132664 p1 RN 3:03PM 0:18,87 /usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf --basedir=/usr/local --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/www.mydomain.com.pid --port=3306 --socket=/tmp/mysql.sock mysql 54868 1,9 3,3 553592 132664 p1 RN 3:03PM 0:21,91 /usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf --basedir=/usr/local --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/www.mydomain.com.pid --port=3306 --socket=/tmp/mysql.sock mysql 54952 1,9 3,3 553592 132664 p1 RN 3:04PM 0:10,30 /usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf --basedir=/usr/local --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/www.mydomain.com.pid --port=3306 --socket=/tmp/mysql.sock mysql 54895 1,9 3,3 553592 132664 p1 RN 3:03PM 0:16,44 /usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf --basedir=/usr/local --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/www.mydomain.com.pid --port=3306 --socket=/tmp/mysql.sock mysql 54974 1,8 3,3 553592 132664 p1 RN 3:05PM 0:08,53 /usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf --basedir=/usr/local --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/www.mydomain.com.pid --port=3306 --socket=/tmp/mysql.sock mysql 54867 1,7 3,3 553592 132664 p1 RN 3:03PM 0:29,44 /usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf --basedir=/usr/local --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/www.mydomain.com.pid --port=3306 --socket=/tmp/mysql.sock mysql 54827 0,1 3,3 553592 132664 p1 SN 3:03PM 0:00,89 /usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf --basedir=/usr/local --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/www.mydomain.com.pid --port=3306 --socket=/tmp/mysql.sock mysql 54795 0,0 0,0 1792 1212 p1 I 3:03PM 0:00,01 /bin/sh /usr/local/bin/mysqld_safe --defaults-extra-file=/var/db/mysql/my.cnf --user=mysql --datadir=/var/db/mysql --pid-file=/var/db/mysql/www.mydomain.com.pid mysql 54828 0,0 3,3 553592 132664 p1 SN 3:03PM 0:00,00 /usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf --basedir=/usr/local --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/www.mydomain.com.pid --port=3306 --socket=/tmp/mysql.sock mysql 54829 0,0 3,3 553592 132664 p1 IN 3:03PM 0:00,00 /usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf --basedir=/usr/local --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/www.mydomain.com.pid --port=3306 --socket=/tmp/mysql.sock mysql 54830 0,0 3,3 553592 132664 p1 IN 3:03PM 0:00,00 /usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf --basedir=/usr/local --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/www.mydomain.com.pid --port=3306 --socket=/tmp/mysql.sock mysql 54831 0,0 3,3 553592 132664 p1 IN 3:03PM 0:00,00 /usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf --basedir=/usr/local --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/www.mydomain.com.pid --port=3306 --socket=/tmp/mysql.sock mysql 54832 0,0 3,3 553592 132664 p1 IN 3:03PM 0:00,00 /usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf --basedir=/usr/local --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/www.mydomain.com.pid --port=3306 --socket=/tmp/mysql.sock mysql 54834 0,0 3,3 553592 132664 p1 SN 3:03PM 0:00,06 /usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf --basedir=/usr/local --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/www.mydomain.com.pid --port=3306 --socket=/tmp/mysql.sock mysql 54835 0,0 3,3 553592 132664 p1 SN 3:03PM 0:00,04 /usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf --basedir=/usr/local --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/www.mydomain.com.pid --port=3306 --socket=/tmp/mysql.sock mysql 54836 0,0 3,3 553592 132664 p1 IN 3:03PM 0:00,00 /usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf --basedir=/usr/local --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/www.mydomain.com.pid --port=3306 --socket=/tmp/mysql.sock mysql 54837 0,0 3,3 553592 132664 p1 SN 3:03PM 0:00,04 /usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf --basedir=/usr/local --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/www.mydomain.com.pid --port=3306 --socket=/tmp/mysql.sock mysql 54838 0,0 3,3 553592 132664 p1 IN 3:03PM 0:00,00 /usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf --basedir=/usr/local --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/www.mydomain.com.pid --port=3306 --socket=/tmp/mysql.sock mysql 55039 0,0 3,3 553592 132664 p1 SN 3:07PM 0:02,54 /usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf --basedir=/usr/local --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/www.mydomain.com.pid --port=3306 --socket=/tmp/mysql.sock mysql 55050 0,0 3,3 553592 132664 p1 SN 3:07PM 0:02,11 /usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf --basedir=/usr/local --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/www.mydomain.com.pid --port=3306 --socket=/tmp/mysql.sock mysql 55068 0,0 3,3 553592 132664 p1 SN 3:08PM 0:00,20 /usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf --basedir=/usr/local --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/www.mydomain.com.pid --port=3306 --socket=/tmp/mysql.sock mysql 55086 0,0 3,3 553592 132664 p1 SN 3:08PM 0:00,18 /usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf --basedir=/usr/local --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/www.mydomain.com.pid --port=3306 --socket=/tmp/mysql.sock root 55153 0,0 0,0 368 220 p1 R+ 3:09PM 0:00,00 grep mysql
-su-2.05b# ps auxwww | grep mysql | wc -l
     47
-su-2.05b#
-su-2.05b# cat /var/db/mysql/my.cnf
# Example MySQL config file for very large systems.
#
# This is for a large system with memory of 1G-2G where the system runs mainly
# MySQL.
#
# You can copy this file to
# /etc/my.cnf to set global options,
# mysql-data-dir/my.cnf to set server-specific options (in this
# installation this directory is /var/db/mysql) or
# ~/.my.cnf to set user-specific options.
#
# In this file, you can use all long options that a program supports.
# If you want to know which options a program supports, run the program
# with the "--help" option.
# 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]
port            = 3306
socket          = /tmp/mysql.sock
skip-locking
key_buffer = 384M
max_allowed_packet = 1M
table_cache = 512
sort_buffer_size = 2M
read_buffer_size = 2M
read_rnd_buffer_size = 8M
myisam_sort_buffer_size = 64M
thread_cache_size = 8
query_cache_size = 32M
max_connections = 1000
# Try number of CPU's*2 for thread_concurrency
thread_concurrency = 8 # Don't listen on a TCP/IP port at all. This can be a security enhancement,
# if all processes that need to connect to mysqld run on the same host.
# All interaction with mysqld must be made via Unix sockets or named pipes.
# Note that using this option without enabling named pipes on Windows
# (via the "enable-named-pipe" option) will render mysqld useless!
#
#skip-networking
# Replication Master Server (default)
# binary logging is required for replication
#log-bin=mysql-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
# Replication Slave (comment out master section to use this)
#
# To configure this host as a replication slave, you can choose between
# two methods :
#
# 1) Use the CHANGE MASTER TO command (fully described in our manual) -
#    the syntax is:
#
#    CHANGE MASTER TO MASTER_HOST=<host>, MASTER_PORT=<port>,
#    MASTER_USER=<user>, MASTER_PASSWORD=<password> ;
#
#    where you replace <host>, <user>, <password> by quoted strings and
#    <port> by the master's port number (3306 by default).
#
#    Example:
#
#    CHANGE MASTER TO MASTER_HOST='125.564.12.1', MASTER_PORT=3306,
#    MASTER_USER='joe', MASTER_PASSWORD='secret';
#
# OR
#
# 2) Set the variables below. However, in case you choose this method, then # start replication for the first time (even unsuccessfully, for example # if you mistyped the password in master-password and the slave fails to
#    connect), the slave will create a master.info file, and any later
# change in this file to the variables' values below will be ignored and # overridden by the content of the master.info file, unless you shutdown # the slave server, delete master.info and restart the slaver server.
#    For that reason, you may want to leave the lines below untouched
#    (commented) and instead use CHANGE MASTER TO (see above)
#
# required unique id between 2 and 2^32 - 1
# (and different from the master)
# defaults to 2 if master-host is set
# but will not function as a slave if omitted
#server-id       = 2
#
# The replication master for this slave - required
#master-host     =   <hostname>
#
# The username the slave will use for authentication when connecting
# to the master - required
#master-user     =   <username>
#
# The password the slave will authenticate with when connecting to
# the master - required
#master-password =   <password>
#
# The port the master is listening on.
# optional - defaults to 3306
#master-port     =  <port>
#
# binary logging - not required for slaves, but recommended
#log-bin=mysql-bin
# Point the following paths to different dedicated disks
#tmpdir         = /tmp/
#log-update = /path-to-dedicated-directory/hostname
# Uncomment the following if you are using BDB tables
#bdb_cache_size = 384M
#bdb_max_lock = 100000
# Uncomment the following if you are using InnoDB tables
#innodb_data_home_dir = /var/db/mysql/
#innodb_data_file_path = ibdata1:2000M;ibdata2:10M:autoextend
#innodb_log_group_home_dir = /var/db/mysql/
#innodb_log_arch_dir = /var/db/mysql/
# You can set .._buffer_pool_size up to 50 - 80 %
# of RAM but beware of setting memory usage too high
#innodb_buffer_pool_size = 384M
#innodb_additional_mem_pool_size = 20M
# Set .._log_file_size to 25 % of buffer pool size
#innodb_log_file_size = 100M
#innodb_log_buffer_size = 8M
#innodb_flush_log_at_trx_commit = 1
#innodb_lock_wait_timeout = 50
[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 = 256M
sort_buffer_size = 256M
read_buffer = 2M
write_buffer = 2M
[myisamchk]
key_buffer = 256M
sort_buffer_size = 256M
read_buffer = 2M
write_buffer = 2M
[mysqlhotcopy]
interactive-timeout
-su-2.05b#
---------------------------------------------------------------------
Listeye soru sormadan once lutfen http://ipucu.enderunix.org sitesine bakiniz.
Cikmak icin, e-mail: [EMAIL PROTECTED]
Liste arsivi: http://news.gmane.org/gmane.org.user-groups.bsd.turkey
FreeBSD 6 kitabi cikti! http://www.acikakademi.com/catalog/freebsd6


_________________________________________________________________
Get the device you want, with the Hotmail® you love. http://www.windowsmobile.com/hotmailmobile?ocid=MobileHMTagline_1

---------------------------------------------------------------------
Listeye soru sormadan once lutfen http://ipucu.enderunix.org sitesine bakiniz.
Cikmak icin, e-mail: [EMAIL PROTECTED]
Liste arsivi: http://news.gmane.org/gmane.org.user-groups.bsd.turkey
FreeBSD 6 kitabi cikti! http://www.acikakademi.com/catalog/freebsd6


---------------------------------------------------------------------
Listeye soru sormadan once lutfen http://ipucu.enderunix.org sitesine bakiniz.
Cikmak icin, e-mail: [EMAIL PROTECTED]
Liste arsivi: http://news.gmane.org/gmane.org.user-groups.bsd.turkey
FreeBSD 6 kitabi cikti! http://www.acikakademi.com/catalog/freebsd6


_________________________________________________________________
A place for moms to take a break! http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us

---------------------------------------------------------------------
Listeye soru sormadan once lutfen http://ipucu.enderunix.org sitesine bakiniz.
Cikmak icin, e-mail: [EMAIL PROTECTED]
Liste arsivi: http://news.gmane.org/gmane.org.user-groups.bsd.turkey
FreeBSD 6 kitabi cikti! http://www.acikakademi.com/catalog/freebsd6


---------------------------------------------------------------------
Listeye soru sormadan once lutfen http://ipucu.enderunix.org sitesine bakiniz.

Cikmak icin, e-mail: [EMAIL PROTECTED]
Liste arsivi: http://news.gmane.org/gmane.org.user-groups.bsd.turkey
FreeBSD 6 kitabi cikti! http://www.acikakademi.com/catalog/freebsd6


Cevap