Site, Server Genel » Genel Soru ve Cevaplar

BlueHost CPU problemi (wordpress)

http://forum.whmdestek.com/

Go Back   WHM/cPanel Support Platform » Türkçe » Site, Sunucu Sorunlarınız ve Çözümleri » Site, Server Genel » Genel Soru ve Cevaplar
 


Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 10.12.07, 14:41
Atari
 
Join Date: Aug 2007
Posts: 8
Rep Power: 0
emremer is on a distinguished road
BlueHost CPU problemi (wordpress)

Pek çok yer dolaştıktan sonra BlueHost ilaç gibi gelmişti..
Quote:
600 Gigabyte Hosting Space (NEW!)
Host 999 Domains!!!
2,500 POP/Imap Email Accounts
6,000 GIGS of Transfer (NEW!)
SSH (Secure Shell), SSL, FTP, Stats
..

Fakat son zamanlarda sıkça hata ekranı çıkmaya başladı.
mysql_slow_queries altındaki loglarda, arama işleminin sorgusu çokça geçiyordu. Bunun üzerine wp-includes/query.php deki sorguyu oluşturan fonksiyonu sadece başlıklarda araması için düzenledim. Hata sayısı azaldı ancak yine de hata vermeye devam ediyor.

Bilgi olarak vereyim: 9-10 tane wordpress sitesi, 1 tane phpBB ve biriki tane de boşta domain var.
wp.lerden birisinin günlük hiti 3000, diğeri 900 civarı, diğerler kalan ise 80-100ü geçmiyor.

Sorun daha çok hangisinde olabilir;
wp'de mi?, Bluehost'un CPU kullandırma azlığında mı? Site sayısının artmasında 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
  #2  
Old 10.12.07, 15:46
lowriderx's Avatar
Celeron
 
Join Date: Oct 2007
Location: istanbul - çorum
Posts: 85
Rep Power: 12
lowriderx has much to be proud oflowriderx has much to be proud oflowriderx has much to be proud oflowriderx has much to be proud oflowriderx has much to be proud oflowriderx has much to be proud oflowriderx has much to be proud oflowriderx has much to be proud of
genelde bu tarz firmalar cpu kullanımına kısıtlama getiriyor dediğiniz gibi mysql_slow_queries insanı delirten bir durum bazı scriptlerde ama ne yazık ki yapılacak bir şey yok yani. Sanırım sizin bir üst kura atlama zamanınız gelmiş

öte yandan yaptığınız fonksiyon düzenlemeleri ile kasılmayı azaltabilirsiniz fakat ne zaman ne olacağı belli olmaz bunu yaparken başka yerden başka bir hata alıp CPU da hiç de bilemiyeceğiniz bir artışa da neden olabilirsiniz.
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 10.12.07, 16:51
Atari
 
Join Date: Aug 2007
Posts: 8
Rep Power: 0
emremer is on a distinguished road
Hem belki birilerine faydası olur diye hemde hata varsa başka göz daha rahat görebilir diye yazayım:
Wordpress'in kurulu olduğu sitedeki /wp-includes/query.php dosyasının 895.satırı itibariyle
PHP Code:
    $search .= "{$searchand}((post_title LIKE '{$n}{$term}{$n}') OR (post_content LIKE '{$n}{$term}{$n}'))";
    
$searchand ' AND ';
   }
   
$term addslashes_gpc($q['s']);
   if (!
$q['sentence'] && count($q['search_terms']) > && $q['search_terms'][0] != $q['s'] )
    
$search .= " OR (post_title LIKE '{$n}{$term}{$n}') OR (post_content LIKE '{$n}{$term}{$n}')";
   if ( !empty(
$search) )
    
$search " AND ({$search}) ";
  } 
şeklinde olan kod öbeğini

PHP Code:
    $search .= "{$searchand}((post_title LIKE '{$n}{$term}{$n}') )";
    
$searchand ' AND ';
   }
 
   
$term addslashes_gpc($q['s']);
   if (!
$q['sentence'] && count($q['search_terms']) > && $q['search_terms'][0] != $q['s'] )
    
$search .= " OR (post_title LIKE '{$n}{$term}{$n}')";
   if ( !empty(
$search) )
    
$search " AND ({$search}) ";
  } 
şekinde, post_content içinde değilde sadece post_title içinde arama yapması için değiştirmiştim.

* * *

@lowriderx yanıtın için teşekkür ederim. Bir üst kur derken kastın dedicated mı?
öyle ise, "Kalite/Maliyet oranı iyi olan bir host firması?" şeklinde klasik bir soru sormam gerekecek galiba
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 10.12.07, 20:39
haritSu's Avatar
Media Servers Projector
 
Join Date: Oct 2007
Location: İstanbul
Posts: 796
Rep Power: 1012
haritSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond repute
Send a message via MSN to haritSu Send a message via Yahoo to haritSu
hostgator.com tavsiye ederim. Eğer tek site ve çok hitin varsa yeterli CPU oranı veriyorlar zaten
__________________
Güzel gören güzel düşünür, Güzel düşünen hayatından lezzet alır...
Bediüzzaman Said Nursi
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 11.12.07, 19:48
lowriderx's Avatar
Celeron
 
Join Date: Oct 2007
Location: istanbul - çorum
Posts: 85
Rep Power: 12
lowriderx has much to be proud oflowriderx has much to be proud oflowriderx has much to be proud oflowriderx has much to be proud oflowriderx has much to be proud oflowriderx has much to be proud oflowriderx has much to be proud oflowriderx has much to be proud of
yok illa ki dedicated olsun demiyorum. bir üst kur derken bluehost dan daha iyi bir firma bulabilirsin demiştim. Bak mesela dexigner dan sonra san bir öneri de ben yapayım MediaTemple var yine gayet güzel firma yine değişik CPu seviyeleri seçebiliyorsun ama cpanel falan değil kendi panelleri.

ama fiyatları biraz tuzlu gelebilir
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 11.12.07, 21:51
haritSu's Avatar
Media Servers Projector
 
Join Date: Oct 2007
Location: İstanbul
Posts: 796
Rep Power: 1012
haritSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond repute
Send a message via MSN to haritSu Send a message via Yahoo to haritSu
Quote:
Originally Posted by lowriderx View Post
yok illa ki dedicated olsun demiyorum. bir üst kur derken bluehost dan daha iyi bir firma bulabilirsin demiştim. Bak mesela dexigner dan sonra san bir öneri de ben yapayım MediaTemple var yine gayet güzel firma yine değişik CPu seviyeleri seçebiliyorsun ama cpanel falan değil kendi panelleri.

ama fiyatları biraz tuzlu gelebilir
mediatemple'da ki mySQL çok iyi değil. mySQL i hızlandırmak için Container denen bir zımbırtı almanız gerekiyor. O da bir hizmet yani Onun haricinde yüksek hitlerde hemen mySQL servisleri yavaşlıyor.
__________________
Güzel gören güzel düşünür, Güzel düşünen hayatından lezzet alır...
Bediüzzaman Said Nursi
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 12.12.07, 02:21
lowriderx's Avatar
Celeron
 
Join Date: Oct 2007
Location: istanbul - çorum
Posts: 85
Rep Power: 12
lowriderx has much to be proud oflowriderx has much to be proud oflowriderx has much to be proud oflowriderx has much to be proud oflowriderx has much to be proud oflowriderx has much to be proud oflowriderx has much to be proud oflowriderx has much to be proud of
anladım zaten mt'yi daha çok sitelerden güzel para kaldıranlar kullanıyor gözlemlerime göre
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 12.12.07, 10:30
tespara's Avatar
Gamzede
 
Join Date: Jun 2007
Location: dersaadet
Posts: 67
Rep Power: 42
tespara has a reputation beyond reputetespara has a reputation beyond reputetespara has a reputation beyond reputetespara has a reputation beyond reputetespara has a reputation beyond reputetespara has a reputation beyond reputetespara has a reputation beyond reputetespara has a reputation beyond reputetespara has a reputation beyond reputetespara has a reputation beyond reputetespara has a reputation beyond repute
Send a message via MSN to tespara Send a message via Skype™ to tespara
Quote:
Originally Posted by dexigner View Post
hostgator.com tavsiye ederim. Eğer tek site ve çok hitin varsa yeterli CPU oranı veriyorlar zaten
hostgator.com develt düşmanı gibi müşterilerine dedicated satmak için her dolabı çeviriyolar
__________________
Çok kaygı çekme, mukadder olan olur, takdir olunan rızkın da sana gelir.[Hz Muhammed (S.A.V)]
Şiir vardır ki, hikmettir. Beyân vardır ki, büyüdür.[Hz Muhammed (S.A.V)]
Kim, bir zümreye benzemeye çalışırsa, o, onlardandır.[Hz Muhammed (S.A.V)]
Hikmetin başı, Allah korkusudur.[Hz Muhammed (S.A.V)]
Elif Lam Mim. İnsanlar "inandık" deyip kurutlacaklarınımı sanırlar [Ankebut ,1]
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 13.12.07, 03:48
haritSu's Avatar
Media Servers Projector
 
Join Date: Oct 2007
Location: İstanbul
Posts: 796
Rep Power: 1012
haritSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond repute
Send a message via MSN to haritSu Send a message via Yahoo to haritSu
Quote:
Originally Posted by tespara View Post
hostgator.com develt düşmanı gibi müşterilerine dedicated satmak için her dolabı çeviriyolar
5 aydır kullanıyorum;

6-7 tane babalar gibi wp ve joomla çalışıyor hiç tek mail yada uyarı vs gelmedi
__________________
Güzel gören güzel düşünür, Güzel düşünen hayatından lezzet alır...
Bediüzzaman Said Nursi
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 06.03.08, 06:01
Atari
 
Join Date: Aug 2007
Posts: 8
Rep Power: 0
emremer is on a distinguished road
Öncelikle, Bluehost'un ve Hostgator'un ikisinin de canlı yardımı çok güzel.
Bluehost canlı yardımındaki arkadaş mysql_slow_queries ve cpu_error dosyaları tek tek inceledi ve hatanın tam olarak neden kaynaklandığını söyledi (var olmayan bir avatar resmini çağırmaya çalıştığı esnada bir de diğer ziyaretler ve sorgularda olunca cpu limiti aşma hatası veriyormuş)
O yüzden öncelikle bluehost'un hakkını vermek lazım.

Bununla birlikte bugün Bluhostta bulunan sitelerden birindeki problemden dolayı diğer siteleri de durdumuşlar. Ben o hatayı düzeltene kadar diğer siteleri açsanız vb.. dedim ama naza çektiler..
Bir iki hafta kadar önce wilcard deneme amaçlı bir hesap almıştım hostgatordan, şimdi bu olay olunca tümden taşınıyorum hostgator'a. İnşallah iyi olur.

Hostgator tek domain için databaseler dahil taşıma işlemini ücretsiz yaptığını söyledi ancak addon domainler için durum böyle değilmiş.

SSH veya başka yollar baktım ancak çok da bilgim olmadığı için yeniden tek tek kurup ftp ile uğraşmam gerekecek sanırım.

Last edited by emremer; 06.03.08 at 06:18. Reason: düzeltme
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


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

Navigasyon
Menü