Türkce » WHM cPanel

BlueHost CPU problemi (wordpress)

http://forum.whmdestek.com/

Go Back   WHM/cPanel Support Platform » Türkce » WHM cPanel
 

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 cok yer dolastiktan sonra BlueHost ilac gibi gelmisti..
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 sikca hata ekrani cikmaya basladi.
mysql_slow_queries altindaki loglarda, arama isleminin sorgusu cokca geciyordu. Bunun üzerine wp-includes/query.php deki sorguyu olusturan fonksiyonu sadece basliklarda aramasi icin düzenledim. Hata sayisi azaldi ancak yine de hata vermeye devam ediyor.

Bilgi olarak vereyim: 9-10 tane wordpress sitesi, 1 tane phpBB ve biriki tane de bosta domain var.
wp.lerden birisinin günlük hiti 3000, digeri 900 civari, digerler kalan ise 80-100ü gecmiyor.

Sorun daha cok hangisinde olabilir;
wp'de mi?, Bluehost'un CPU kullandirma azliginda mi? Site sayisinin artmasinda mi?
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 - corum
Posts: 85
Rep Power: 13
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 kullanimina kisitlama getiriyor dediginiz gibi mysql_slow_queries insani delirten bir durum bazi scriptlerde ama ne yazik ki yapilacak bir sey yok yani. Sanirim sizin bir üst kura atlama zamaniniz gelmis

öte yandan yaptiginiz fonksiyon düzenlemeleri ile kasilmayi azaltabilirsiniz fakat ne zaman ne olacagi belli olmaz bunu yaparken baska yerden baska bir hata alip CPU da hic de bilemiyeceginiz bir artisa 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 faydasi olur diye hemde hata varsa baska göz daha rahat görebilir diye yazayim:
Wordpress'in kurulu oldugu sitedeki /wp-includes/query.php dosyasinin 895.satiri 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}) ";
  } 
seklinde olan kod öbegini

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}) ";
  } 
sekinde, post_content icinde degilde sadece post_title icinde arama yapmasi icin degistirmistim.

* * *

@lowriderx yanitin icin tesekkür ederim. Bir üst kur derken kastin dedicated mi?
öyle ise, "Kalite/Maliyet orani iyi olan bir host firmasi?" seklinde 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
Media Servers Projector
 
Join Date: Oct 2007
Location: istanbul
Posts: 1,035
Rep Power: 2014
HalidAltuner has a reputation beyond reputeHalidAltuner has a reputation beyond reputeHalidAltuner has a reputation beyond reputeHalidAltuner has a reputation beyond reputeHalidAltuner has a reputation beyond reputeHalidAltuner has a reputation beyond reputeHalidAltuner has a reputation beyond reputeHalidAltuner has a reputation beyond reputeHalidAltuner has a reputation beyond reputeHalidAltuner has a reputation beyond reputeHalidAltuner has a reputation beyond repute
Send a message via MSN to HalidAltuner Send a message via Yahoo to HalidAltuner
hostgator.com tavsiye ederim. Eger tek site ve cok hitin varsa yeterli CPU orani veriyorlar zaten
__________________
Linux System Administrator
[via]
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 - corum
Posts: 85
Rep Power: 13
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 demistim. Bak mesela dexigner dan sonra san bir öneri de ben yapayim MediaTemple var yine gayet güzel firma yine degisik CPu seviyeleri secebiliyorsun ama cpanel falan degil kendi panelleri.

ama fiyatlari 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
Media Servers Projector
 
Join Date: Oct 2007
Location: istanbul
Posts: 1,035
Rep Power: 2014
HalidAltuner has a reputation beyond reputeHalidAltuner has a reputation beyond reputeHalidAltuner has a reputation beyond reputeHalidAltuner has a reputation beyond reputeHalidAltuner has a reputation beyond reputeHalidAltuner has a reputation beyond reputeHalidAltuner has a reputation beyond reputeHalidAltuner has a reputation beyond reputeHalidAltuner has a reputation beyond reputeHalidAltuner has a reputation beyond reputeHalidAltuner has a reputation beyond repute
Send a message via MSN to HalidAltuner Send a message via Yahoo to HalidAltuner
Quote:
Originally Posted by lowriderx View Post
yok illa ki dedicated olsun demiyorum. bir üst kur derken bluehost dan daha iyi bir firma bulabilirsin demistim. Bak mesela dexigner dan sonra san bir öneri de ben yapayim MediaTemple var yine gayet güzel firma yine degisik CPu seviyeleri secebiliyorsun ama cpanel falan degil kendi panelleri.

ama fiyatlari biraz tuzlu gelebilir
mediatemple'da ki mySQL cok iyi degil. mySQL i hizlandirmak icin Container denen bir zimbirti almaniz gerekiyor. O da bir hizmet yani Onun haricinde yüksek hitlerde hemen mySQL servisleri yavasliyor.
__________________
Linux System Administrator
[via]
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 - corum
Posts: 85
Rep Power: 13
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
anladim zaten mt'yi daha cok sitelerden güzel para kaldiranlar kullaniyor 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: 43
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. Eger tek site ve cok hitin varsa yeterli CPU orani veriyorlar zaten
hostgator.com develt düsmani gibi müsterilerine dedicated satmak icin her dolabi ceviriyolar
__________________
cok kaygi cekme, mukadder olan olur, takdir olunan rizkin da sana gelir.[Hz Muhammed (S.A.V)]
siir vardir ki, hikmettir. Beyân vardir ki, büyüdür.[Hz Muhammed (S.A.V)]
Kim, bir zümreye benzemeye calisirsa, o, onlardandir.[Hz Muhammed (S.A.V)]
Hikmetin basi, Allah korkusudur.[Hz Muhammed (S.A.V)]
Elif Lam Mim. insanlar "inandik" deyip kurutlacaklarinimi sanirlar [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
Media Servers Projector
 
Join Date: Oct 2007
Location: istanbul
Posts: 1,035
Rep Power: 2014
HalidAltuner has a reputation beyond reputeHalidAltuner has a reputation beyond reputeHalidAltuner has a reputation beyond reputeHalidAltuner has a reputation beyond reputeHalidAltuner has a reputation beyond reputeHalidAltuner has a reputation beyond reputeHalidAltuner has a reputation beyond reputeHalidAltuner has a reputation beyond reputeHalidAltuner has a reputation beyond reputeHalidAltuner has a reputation beyond reputeHalidAltuner has a reputation beyond repute
Send a message via MSN to HalidAltuner Send a message via Yahoo to HalidAltuner
Quote:
Originally Posted by tespara View Post
hostgator.com develt düsmani gibi müsterilerine dedicated satmak icin her dolabi ceviriyolar
5 aydir kullaniyorum;

6-7 tane babalar gibi wp ve joomla calisiyor hic tek mail yada uyari vs gelmedi
__________________
Linux System Administrator
[via]
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 canli yardimi cok güzel.
Bluehost canli yardimindaki arkadas mysql_slow_queries ve cpu_error dosyalari tek tek inceledi ve hatanin tam olarak neden kaynaklandigini söyledi (var olmayan bir avatar resmini cagirmaya calistigi esnada bir de diger ziyaretler ve sorgularda olunca cpu limiti asma hatasi veriyormus)
O yüzden öncelikle bluehost'un hakkini vermek lazim.

Bununla birlikte bugün Bluhostta bulunan sitelerden birindeki problemden dolayi diger siteleri de durdumuslar. Ben o hatayi düzeltene kadar diger siteleri acsaniz vb.. dedim ama naza cektiler..
Bir iki hafta kadar önce wilcard deneme amacli bir hesap almistim hostgatordan, simdi bu olay olunca tümden tasiniyorum hostgator'a. insallah iyi olur.

Hostgator tek domain icin databaseler dahil tasima islemini ücretsiz yaptigini söyledi ancak addon domainler icin durum böyle degilmis.

SSH veya baska yollar baktim ancak cok da bilgim olmadigi icin yeniden tek tek kurup ftp ile ugrasmam gerekecek sanirim.

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




netinternet

Navigasyon
Menü