|
إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...
انضم الينا
#1
| ||
| ||
Hi, I have server Quad Processor Quad Core Intel 7320 - 2.13GHz (Tigerton) - 4 x 4MB cache 16 GB FB-DIMM Registered 533/667 500GB HDD SATA 73GB HDD SCSI --- to mysql 100 Mbps Public & Private Networks Cpanel/WHM I want the best settings for the server ![]() i add this setting in my.cnf PHP Code: [mysqld] local-infile=0 datadir = /disk3/mysql socket=/disk3/mysql/mysql.sock back_log = 75 skip-innodb server-id=1 skip-locking skip-networking skip-bdb skip-name-resolve max_connections = 1000 key_buffer = 256M thread_concurrency=8 myisam_sort_buffer_size = 128M join_buffer_size = 16M read_buffer_size = 64M sort_buffer_size = 16M table_cache = 1024 thread_cache_size = 2048 wait_timeout = 50 connect_timeout = 50 tmp_table_size = 64M max_heap_table_size = 64M max_allowed_packet = 64M max_connect_errors = 1000 read_rnd_buffer_size = 768K bulk_insert_buffer_size = 8M query_cache_limit = 1M query_cache_size = 32M query_cache_type = 1 query_prealloc_size = 16384 query_alloc_block_size = 16384 default-storage-engine = MyISAM [mysqld_safe] #nice = -5 open_files_limit = 8192 [mysqldump] quick max_allowed_packet = 16M [myisamchk] key_buffer = 64M sort_buffer = 64M read_buffer = 16M write_buffer = 16M and add this in httpd.cnf PHP Code: RLimitCPU 240 ErrorLog "logs/error_log" KeepAlive 3 ServerLimit 512 MaxClients 512 MaxKeepAliveRequests 500 DefaultType text/plain AddType text/html .shtml Timeout 10 PHP Code: root@server1 [~]# free -m total used free shared buffers cached Mem: 16242 14567 1674 0 326 10100 -/+ buffers/cache: 4140 12101 Swap: 2047 0 2047 PHP Code: root@server1 [~]# php -v PHP 5.2.9 (cli) (built: Jun 11 2009 06:13:28) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies with XCache v1.2.1, Copyright (c) 2005-2007, by mOo with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies with Suhosin v0.9.27, Copyright (c) 2007, by SektionEins GmbH with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies Thanks ![]() |
مواقع النشر (المفضلة) |
| |
![]() | ||||
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
Forum Which PHP file are the SMTP server settings written to? | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 07-06-2010 01:20 AM |
Forum Server Settings and Optimization Options produces the best google results? | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 01-18-2010 12:20 PM |
Busy site needs server expansion: another dedicated server or cloud / hybrid hosting? | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 12-21-2009 06:13 AM |
Server specs for dedicated virtual server (self hosted) - input appreciated | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 06-26-2009 12:00 PM |
my.cnf settings on my dedicated server | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 06-07-2009 03:23 PM |