WHM cPanel » WHM 2086

Server Optimizasyon

http://forum.whmdestek.com/

Go Back   WHM/cPanel Support Platform » Türkçe » WHM cPanel » WHM 2086
 
Reklam Alın!
Günlük 5k tekil ve üzeri sitelerinize reklam!
Fixreklam
Extreme yoksa Sayyac var!
Ücretsiz İstatistik Servisi
Sayyac.com
Firma tanıtımı!
Firmanızın reklamını hemen yapın!
Reklamlar

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 25.06.08, 02:34
Sempron
 
Join Date: Jun 2008
Location: Adana
Posts: 10
Rep Power: 0
freon is on a distinguished road
Send a message via MSN to freon
Post Server Optimizasyon

İşlemci: Q6600,2.4GHz,1066MHz FSB,Quad Core İşlemci,8MB
Anakart : GA-P35-S3G SC-775,P35,SES,LAN,SATA,DDR2 1066,1333MHz FSB
Ekran Kartı : GV-RX155256DE-RH 256MB,ATI Radeon X1550,PCI-Ex,DDR2,64bit,TV-OUT,DV
Ram : 2GBDDR800-VT 2 GB, 800 MHz, DDR II (2 adet)
Harddisk : ST3250410AS 250 GB, 7200 RPM, 16 MB Cache, NCQ, SATA 2, Barrac ( 2 Adet)

Bu makinayı kendi sitelerim için aldım dün centos kuruldu siteler taşındı. İlk günde 10k gibi bir hitle aşırı kasma yaşadık gecenin 2 sinde bile %5 de memory load sizce optimizasyon olarak ne yapmam gerekir. En yüksek kullanım sql görünüyor.

Bulunan siteler 1 forum zoints kurulu 1 video sitesi bir kaç kişisel site

Eacceralator kuruldu xcache kurmayı düşünüyorum.

Öğrenmek için kendim kurcalıyorum
Fikirlerinizle yardımcı olursanız sevinirim

İyi geceler
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old 25.06.08, 03:12
WHM VIP Member
 
Join Date: Apr 2008
Location: İzmir
Age: 20
Posts: 178
Rep Power: 1
Omur Akgun is on a distinguished road
ilk girdigimde bu işe bilmiyordum bunları yalvarıyordum milete ögretin diye sonra kendim ögrendim.

pico /usr/local/apache/conf/httpd.conf

dosyasını aç

KeepAlive
MaxKeepAliveRequests
KeepAliveTimeout

şunları bul ve buraya yapıştır.

daha sonra

cat /etc/my.cnf

bu cıktıyıda yapıştır.

birde top çıktısı.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old 25.06.08, 03:18
Sempron
 
Join Date: Jun 2008
Location: Adana
Posts: 10
Rep Power: 0
freon is on a distinguished road
Send a message via MSN to freon
pico /usr/local/apache/conf/httpd.conf
Quote:
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
UseCanonicalName Off
AccessFileName .htaccess
DefaultType text/plain
HostnameLookups Off
ErrorLog logs/error_log
ServerTokens Full
cat /etc/my.cnf
Quote:
[mysqld]
set-variable = max_connections=500
safe-show-database
top çıktısı ne derece işinize yarar bilemem atıl bir saat
Quote:
top - 03:17:00 up 12:40, 1 user, load average: 1.06, 2.78, 2.97
Tasks: 105 total, 1 running, 103 sleeping, 0 stopped, 1 zombie
Cpu(s): 3.9% us, 0.5% sy, 0.0% ni, 95.6% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 2073828k total, 1569348k used, 504480k free, 206660k buffers
Swap: 4192956k total, 13124k used, 4179832k free, 1121224k cached
PID USER PR NI %CPU TIME+ %MEM VIRT RES SHR S COMMAND
3549 nobody 16 0 13 0:02.37 0.6 28196 13m 3456 S httpd
16713 mysql 15 0 4 45:46.96 1.9 164m 39m 4072 S mysqld
3716 nobody 16 0 0 0:00.10 0.0 0 0 0 Z httpd <defunct>
1 root 16 0 0 0:01.18 0.0 3324 548 468 S init
2 root RT 0 0 0:00.03 0.0 0 0 0 S migration/0
3 root 34 19 0 0:00.00 0.0 0 0 0 S ksoftirqd/0
4 root RT 0 0 0:00.52 0.0 0 0 0 S migration/1
5 root 34 19 0 0:00.00 0.0 0 0 0 S ksoftirqd/1
6 root RT 0 0 0:00.00 0.0 0 0 0 S migration/2
7 root 34 19 0 0:00.00 0.0 0 0 0 S ksoftirqd/2
8 root RT 0 0 0:00.04 0.0 0 0 0 S migration/3
9 root 34 19 0 0:00.00 0.0 0 0 0 S ksoftirqd/3
10 root 5 -10 0 0:00.00 0.0 0 0 0 S events/0
11 root 5 -10 0 0:13.86 0.0 0 0 0 S events/1
12 root 5 -10 0 0:00.00 0.0 0 0 0 S events/2
13 root 5 -10 0 0:04.22 0.0 0 0 0 S events/3
14 root 12 -10 0 0:00.00 0.0 0 0 0 S khelper
15 root 15 -10 0 0:00.00 0.0 0 0 0 S kacpid
43 root 5 -10 0 0:00.00 0.0 0 0 0 S kblockd/0
44 root 5 -10 0 0:00.00 0.0 0 0 0 S kblockd/1
45 root 5 -10 0 0:00.07 0.0 0 0 0 S kblockd/2
46 root 5 -10 0 0:00.10 0.0 0 0 0 S kblockd/3
47 root 15 0 0 0:00.00 0.0 0 0 0 S khubd
66 root 15 0 0 0:08.95 0.0 0 0 0 S kswapd0
67 root 12 -10 0 0:00.00 0.0 0 0 0 S aio/0
68 root 12 -10 0 0:00.00 0.0 0 0 0 S aio/1
69 root 5 -10 0 0:00.00 0.0 0 0 0 S aio/2
70 root 5 -10 0 0:00.00 0.0 0 0 0 S aio/3
214 root 25 0 0 0:00.00 0.0 0 0 0 S kseriod
456 root 7 -10 0 0:00.00 0.0 0 0 0 S ata/0
457 root 7 -10 0 0:00.00 0.0 0 0 0 S ata/1
458 root 7 -10 0 0:00.00 0.0 0 0 0 S ata/2
459 root 7 -10 0 0:00.00 0.0 0 0 0 S ata/3
460 root 7 -10 0 0:00.00 0.0 0 0 0 S ata_aux
466 root 15 0 0 0:00.00 0.0 0 0 0 S scsi_eh_0
467 root 15 0 0 0:00.00 0.0 0 0 0 S scsi_eh_1
481 root 15 0 0 9:12.89 0.0 0 0 0 S kjournald
1085 root 6 -10 0 0:00.00 0.0 0 0 0 S kauditd
1643 root 6 -10 0 0:00.02 0.0 1968 464 368 S udevd
2552 nobody 16 0 0 0:11.33 0.6 27248 12m 3480 S httpd
2782 root 15 0 0 0:00.84 0.0 0 0 0 S pdflush
3018 nobody 15 0 0 0:22.50 0.6 26900 11m 3484 S httpd
3019 nobody 15 0 0 0:03.98 0.6 26544 11m 3484 S httpd
3023 nobody 15 0 0 0:02.64 0.6 27928 12m 3484 S httpd
3038 nobody 15 0 0 0:01.71 0.6 26552 11m 3484 S httpd
3063 root 0 -20 0 31:38.95 0.0 0 0 0 S loop0
3064 root 15 0 0 0:34.62 0.0 0 0 0 S kjournald
3150 nobody 15 0 0 0:01.30 0.6 26652 11m 3484 S httpd
3153 nobody 16 0 0 0:18.28 0.6 27780 12m 3464 S httpd
ilginize özel olarak teşekkür ederim
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old 25.06.08, 03:23
WHM VIP Member
 
Join Date: Apr 2008
Location: İzmir
Age: 20
Posts: 178
Rep Power: 1
Omur Akgun is on a distinguished road
cd /root
wget www.akgun.us/dosyalar/freon.cnf
cp /etc/my.cnf /etc/mywhmdestek.cnf
mv /root/freon.cnf /etc/
cd /etc/
mv freon.cnf my.cnf

/scripts/restartsrv mysql


pico /usr/local/apache/conf/httpd.conf

burdan
MaxKeepAliveRequests 100

100 degerini 150 yap fark olursa 200 yap fark giderse tekrar 150 yap

tabi bunları yaptıkdan sonra

/scripts/restartsrv httpd

dene bi bakalım
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old 25.06.08, 03:29
Sempron
 
Join Date: Jun 2008
Location: Adana
Posts: 10
Rep Power: 0
freon is on a distinguished road
Send a message via MSN to freon
Quote:
Originally Posted by Omur Akgun View Post

pico /usr/local/apache/conf/httpd.conf

burdan
MaxKeepAliveRequests 100

100 degerini 150 yap fark olursa 200 yap fark giderse tekrar 150 yap

tabi bunları yaptıkdan sonra

/scripts/restartsrv httpd

dene bi bakalım
sayfaya girdim fakat nasıl değiştireceğimi bulamadım
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old 25.06.08, 03:31
WHM VIP Member
 
Join Date: Apr 2008
Location: İzmir
Age: 20
Posts: 178
Rep Power: 1
Omur Akgun is on a distinguished road
normal word gibi düşün oraya gel delete ile sil ama bunu yapmadan önce

cp /usr/local/apache/conf/httpd.conf /usr/local/apache/conf/httpdwhmdestek.conf

yap sonra pico /usr/local/apache/conf/httpd.conf

ac word gibi düşün

daha sonra ctrl s yerine ctrl x yap
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old 25.06.08, 03:35
Sempron
 
Join Date: Jun 2008
Location: Adana
Posts: 10
Rep Power: 0
freon is on a distinguished road
Send a message via MSN to freon
yeşil şeyi görmedim mouse ile yapmaya çalışıyordum çok teşekkür ederim
server load %1,5 felan idi ilk verdiğimde şuan 0,14 gibi birşey
makinaya restart attım

100 degerini 150 yap fark olursa 200 yap fark giderse tekrar 150 yap

bunu anlamadım fark olarak neyi takip edeyim

edit;
Quote:
cp /usr/local/apache/conf/httpd.conf /usr/local/apache/conf/httpdwhmdestek.conf

yap sonra pico /usr/local/apache/conf/httpd.conf
bu ikisi iyi gelmedi sanırım %3 oldu load
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old 25.06.08, 03:39
WHM VIP Member
 
Join Date: Apr 2008
Location: İzmir
Age: 20
Posts: 178
Rep Power: 1
Omur Akgun is on a distinguished road
bu işlemleri yaptıkdan sonra reset atmana gerek yoktuda.

100 150 200 deger dedigim.

sitelerin acılış hızı 150 yap o degeri

birde

KeepAlive On

bunun hemen üstüne
RLimitMEM 491941034
RLimitCPU 480
şunları ekle

yani şu şekilde
RLimitMEM 491941034
RLimitCPU 480
KeepAlive On

MaxKeepAliveRequests bu 100 degeride 150 yap.

daha sonra /scripts/restartsrv httpd
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old 25.06.08, 03:42
Sempron
 
Join Date: Jun 2008
Location: Adana
Posts: 10
Rep Power: 0
freon is on a distinguished road
Send a message via MSN to freon
dediklerini tamamen yaptım
başka yapmam gereken birşey varmı
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old 25.06.08, 03:44
WHM VIP Member
 
Join Date: Apr 2008
Location: İzmir
Age: 20
Posts: 178
Rep Power: 1
Omur Akgun is on a distinguished road
duruma göre belli olcak.

sitelerde hızlanma ve cpu kullanımda düşme varsa sorun yok.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
ELS - Easy Linux Security script - Server Optimizasyon ve Güvenlik Tickhi Genel Makaleler 28 08.09.08 03:57
Optimizasyon Önerileri ? Onur Genel Soru ve Cevaplar 24 06.06.08 14:18
Vps optimizasyon yardım cculha WHM Soru ve Cevaplar 26 06.06.08 13:48
Optimizasyon Tuncenk Site, Server Genel 1 28.03.08 22:00
Sunucu Optimizasyon RAMBilisim Dedicated, Managed, Co-Location 1 25.10.07 01:34


Sign up for PayPal and start accepting credit card payments instantly.

Navigasyon
Menü