Hosting ve Network » VPS-VDS

VPS RAM optimizesi

http://forum.whmdestek.com/

Geri git   WHM cPanel Destek Platformu » Hosting ve Network » VPS-VDS
 
Reklam Alın!
Günlük 5k tekil ve üzeri sitelerinize reklam!
Fixreklam
Türkiye' nin Webmaster Sitesi
Webmaster Araçları, Bilgi ve hizmet alışverişi
Webmaster.com.TR
Firma tanıtımı!
Firmanızın reklamını hemen yapın!
Reklamlar

Cevapla
 
LinkBack Seçenekler Stil
  #1  
Alt 02.12.07, 17:31
ALEXIS - ait Kullanıcı Resmi (Avatar)
phpBB Türkiye
 
Üyelik tarihi: Aug 2007
Nerden: istanbul
Mesajlar: 112
Tecrübe Puanı: 2
ALEXIS is on a distinguished road
VPS RAM optimizesi

512 RAM li VPS de easyapache ram hatası veriyor, VPS de kullanılmayan herşeyi kapatmak gibi, ram kullanımını düşürecek ne tür optimizeler yapabilirim.

easyapache de aldığım hata şu:


Alıntı:
'make' failed with exit code '512'
Alıntı:
gmake: *** [Zend/zend_execute.lo] Error 1
Alıntı:
Cannot allocate memory at /var/cpanel/perl/easy/Cpanel/Easy/Utils.pm
__________________
Profesyonel phpBB3 hizmetleri
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
  #2  
Alt 02.12.07, 17:37
Onursal - ait Kullanıcı Resmi (Avatar)
fshbcr
 
Üyelik tarihi: Jun 2007
Nerden: Çorlu
Yaş: 28
Mesajlar: 625
Tecrübe Puanı: 1092
Onursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond repute
Onursal - MSN üzeri Mesaj gönder
pure-ftpd kullan

+ apache ayarların aşağıdaki şekilde olsun
512 mb'tan düşük ram için
Kod:
Timeout 300
KeepAlive On
maxKeepAliveRequests 10000
KeepAliveTimeout 5
MinSpareServers 15
MaxSpareServers 35
StartServers 15
MaxClients 150
MaxRequestsPerChild 0
HostnameLookups Off
512 mb den yüksek ram için aşağıdaki değerler
Kod:
Timeout 60
KeepAlive On
maxKeepAliveRequests 10000
KeepAliveTimeout 4
MinSpareServers 5
MaxSpareServers 15
StartServers 5
MaxClients 150
MaxRequestsPerChild 10000
HostnameLookups Off
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
  #3  
Alt 02.12.07, 17:46
ALEXIS - ait Kullanıcı Resmi (Avatar)
phpBB Türkiye
 
Üyelik tarihi: Aug 2007
Nerden: istanbul
Mesajlar: 112
Tecrübe Puanı: 2
ALEXIS is on a distinguished road
pure-ftpd kullanıyorum ama diğer yazdığınız örnek ayarlar için önce easyapache ile apache derlemem gerek. Sorun burada zaten. fazla ram harcayan tüm uykylamaları kill edip öyle çalıştırıyorum, en sona kadar geliyor, 20-30 dk sürüyor, zend kurulumunda cortluyor.

Biraz da şurada yazılanlar ile alakası var gibi: General Solaris 10 Discussion - Virtual Memory Exhausted
__________________
Profesyonel phpBB3 hizmetleri
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
  #4  
Alt 02.12.07, 18:00
Onursal - ait Kullanıcı Resmi (Avatar)
fshbcr
 
Üyelik tarihi: Jun 2007
Nerden: Çorlu
Yaş: 28
Mesajlar: 625
Tecrübe Puanı: 1092
Onursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond repute
Onursal - MSN üzeri Mesaj gönder
lsof -i

tıkla çalışan proseslleri gör, kapatmak istedin proseslerin pid numarasını yazıp öldür.

örneğin bende
lsof -i
psybnc 3845 www-data 3u IPv4 5220217 TCP *:4500 (LISTEN)
apache2 16099 www-data 3u IPv4 5220245 TCP *:www (LISTEN)



bu çalışan prossesi gebertmek için
kill -9 3845
kill -9 160*

pek fazla etkisi olmaz ama apacheyi tekrar derlemen yeter sana

Son Düzenleme: Onursal; Tarih / Saat: 02.12.07 18:16.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
  #5  
Alt 02.12.07, 18:10
Onursal - ait Kullanıcı Resmi (Avatar)
fshbcr
 
Üyelik tarihi: Jun 2007
Nerden: Çorlu
Yaş: 28
Mesajlar: 625
Tecrübe Puanı: 1092
Onursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond repute
Onursal - MSN üzeri Mesaj gönder
Zend kurmadan apache derle sonradanda zend kurabilirsin zaten
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
  #6  
Alt 02.12.07, 20:01
ALEXIS - ait Kullanıcı Resmi (Avatar)
phpBB Türkiye
 
Üyelik tarihi: Aug 2007
Nerden: istanbul
Mesajlar: 112
Tecrübe Puanı: 2
ALEXIS is on a distinguished road
Evet, zend ile ilgili komutları şimdi öğrendim: /scripts/installzendopt


Kill ipucu için teşekkürler, derleyene kadar RAM i boş tutmak işe yarıyor gibi.
__________________
Profesyonel phpBB3 hizmetleri
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
Cevapla


Seçenekler
Stil

Yetkileriniz
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 Açık
Smileler Açık
[IMG] Kodları Açık
HTML-KodlarıKapalı
Trackbacks are Açık
Pingbacks are Açık
Refbacks are Açık


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

Navigasyon
Menü