Hosting ve Network » VPS-VDS

VPS RAM optimizesi

Geri git   WHM cPanel Destek Platformu » Hosting ve Network » VPS-VDS
Kayıt ol Yardım Üye Listesi Ajanda Forumları Okundu Kabul Et
 

Cevapla
 
LinkBack Seçenekler Stil
  #1 (permalink)  
Alt 02.12.07, 05:31 PM
ALEXIS - ait Kullanıcı Resmi (Avatar)
phpBB Türkiye
 
Üyelik tarihi: Aug 2007
Nerden: istanbul
Mesajlar: 104
Tecrübe Puanı: 1
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
__________________
phpBB3 SEO | phpBB3 xml sitemap
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 (permalink)  
Alt 02.12.07, 05:37 PM
Fesih BICER - ait Kullanıcı Resmi (Avatar)
fshbcr
 
Üyelik tarihi: Jun 2007
Nerden: Çorlu
Yaş: 28
Mesajlar: 596
Tecrübe Puanı: 1092
Fesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond repute
Fesih BICER - 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 (permalink)  
Alt 02.12.07, 05:46 PM
ALEXIS - ait Kullanıcı Resmi (Avatar)
phpBB Türkiye
 
Üyelik tarihi: Aug 2007
Nerden: istanbul
Mesajlar: 104
Tecrübe Puanı: 1
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
__________________
phpBB3 SEO | phpBB3 xml sitemap
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 (permalink)  
Alt 02.12.07, 06:00 PM
Fesih BICER - ait Kullanıcı Resmi (Avatar)
fshbcr
 
Üyelik tarihi: Jun 2007
Nerden: Çorlu
Yaş: 28
Mesajlar: 596
Tecrübe Puanı: 1092
Fesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond repute
Fesih BICER - 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

Konu Fesih BICER tarafından (02.12.07 Saat 06:16 PM ) değiştirilmiştir..
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 (permalink)  
Alt 02.12.07, 06:10 PM
Fesih BICER - ait Kullanıcı Resmi (Avatar)
fshbcr
 
Üyelik tarihi: Jun 2007
Nerden: Çorlu
Yaş: 28
Mesajlar: 596
Tecrübe Puanı: 1092
Fesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond repute
Fesih BICER - 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 (permalink)  
Alt 02.12.07, 08:01 PM
ALEXIS - ait Kullanıcı Resmi (Avatar)
phpBB Türkiye
 
Üyelik tarihi: Aug 2007
Nerden: istanbul
Mesajlar: 104
Tecrübe Puanı: 1
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.
__________________
phpBB3 SEO | phpBB3 xml sitemap
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
Yeni Mesaj yazma yetkiniz aktif değil dir.
Mesajlara Cevap verme yetkiniz aktif değil dir.
Eklenti ekleme yetkiniz aktif değil dir.
Kendi Mesajınızı değiştirme yetkiniz aktif değil dir.

Smileler Açık
[IMG] Kodları Açık
HTML-KodlarıKapalı
Trackbacks are Açık
Pingbacks are Açık
Refbacks are Açık