Sciencetext Tips & Tricks

Blogging tips, browsing tricks and computing hacks Blogging suggerimenti, trucchi e navigando computing hack

Avoid CPU Overload Evitare il sovraccarico della CPU

September 23rd, 2008 · by David Bradley 23 settembre 2008 da David Bradley

CPU-sovraccarico Sometimes if your blog is running hot, with lots of visitors, lots of commenting, and generally lots of activity, the host server will be overloaded by all the computational demands on it. A volte se il tuo blog è in esecuzione a caldo, con un sacco di visitatori, molti dei commenti e, in generale, un sacco di attività, il server host sarà sovraccaricata da tutte le esigenze di calcolo su di esso. Mosts web hosts will disable your blog if you break through a cap on CPU usage on their machines. Mosts web host, verrà disattivato il tuo blog se rompere attraverso un cappuccio sulla CPU sulle loro macchine. Sometimes it can be temporary, resetting automatically after a few minutes, sometimes it can be permanent and require you to talk to the host about measures you will take to prevent it happening again. A volte può essere temporaneo, reimpostare automaticamente dopo pochi minuti, a volte può essere permanente e hai bisogno di parlare con l'host su misure si intende adottare per impedire che accada di nuovo.

So, how can you prevent CPU overload on a blog with lots of plugins and a hefty database. Quindi, come si può prevenire il sovraccarico della CPU su un blog con un sacco di plugin e di una forte base di dati. CPU overload happens on the server when scripts and plugins use up too many resources on shared web hosting and often lead to financial penalties from your web host or worse still downtime or even your site being disabled permanently. Sovraccarico della CPU avviene sul server quando script e plugin utilizzare troppe risorse su una condivisione di web hosting e spesso portare a sanzioni pecuniarie dal tuo host Web o peggio ancora di inattività o anche il vostro sito che è stato disattivato in modo permanente. This can happen if you’re running a backup and have a huge database or if your site gets a traffic spike from Ciò può avvenire se si sta eseguendo una copia di backup e hanno un enorme database o se il tuo sito ha una punta di traffico da Digg , StumbleUpon , Mixx, Yahoo! , Mixx, Yahoo! Buzz or elsewhere. Buzz o altrove.

The first thing to try is to La prima cosa da provare è quello di disable any plugins you don’t really need disabilitare qualsiasi plugin non si ha realmente bisogno . Next, make sure you have the latest versions of plugins you really do need and that any caching or load-reducing options are enabled. Quindi, ci si assicuri di avere le ultime versioni del plugin è davvero bisogno e che qualsiasi caching o di riduzione del carico opzioni siano attivate. This is especially true for a translation plugin like Angsuman’s Translator Pro (the latest version has protection against CPU overload built in now). Ciò è particolarmente vero per una traduzione plugin come Angsuman's Translator Pro (la versione più recente è la protezione contro il sovraccarico della CPU costruita nel ora). Make sure any plugins you are running are not calling on other overloaded sites and leading to heavy timeouts. Assicurarsi che qualsiasi plugin è in esecuzione non sono chiamata su altri siti di sovraccarico e che conduca a una pesante timeout. Also, make sure you’re running the Inoltre, assicurarsi che stai utilizzando la latest version of your blogging software versione più recente del tuo blog software .

Next, install the very latest version of a (Wordpress) caching plugin and make sure it’s operating in fully active mode. Quindi, installare la versione più recente di un (Wordpress) e il caching plugin assicurarsi che sia pienamente operativo in modalità attiva.

The Bad Behavior plugin may also be a useful option, it “blocks” bad traffic, such as blog comment spam, web logs spams, and other resource-hogging accesses to your site. Bad Behavior plugin può anche essere un utile opzione, si "blocca" cattivo traffico, come commento nel blog di spam, spam web log, e di altre risorse INCOLLATRICE accessi al tuo sito.

You may wish to run a plugin that searches for Si potrebbe voler eseguire un plugin che per le ricerche orphaned database entries Re: voci di database in your MySQL database (the underlying data for your Wordpress blog). nel vostro database MySQL (i dati per il vostro blog Wordpress).

Finally, for those with access to phpMyAdmin via their web hosting Control Panel and thus their MySQL databases, you should run a repair on the blog database and then run the optimize command. Infine, per coloro che hanno accesso a phpMyAdmin attraverso i loro web hosting, Pannello di controllo, e quindi le loro basi di dati di MySQL, si dovrebbe eseguire una riparazione sul blog di database e quindi eseguire il comando ottimizzare.

As a last resort, if you cannot overcome your CPU usage issues and are getting continual downtime penalties and warnings from your host you should consider either upgrading to a non-shared hosting account or switching to a more robust company. Come ultima risorsa, se non si riesce a superare il tuo utilizzo della CPU e le questioni si stanno continuo di inattività sanzioni e gli avvertimenti dal tuo ospite si dovrebbero prendere in considerazione sia l'aggiornamento a un non-hosting condiviso conto o il passaggio ad una società più robusta. Bluehost is allegedly bad for CPU over-use issues, although any outages last only a few minutes rather than being permanent. Bluehost sarebbe male per CPU su questioni uso, anche se i periodi di interruzione ogni ultimo solo pochi minuti piuttosto che essere permanente. Hostgator is meant to be better, but do your own research into which gives best value for money. Hostgator è stata pensata per essere migliore, ma fare la propria ricerca in cui dà miglior rapporto qualità / prezzo. Alternatively, you could switch to a dedicated server and not have to worry about sharing CPU resources with other websites ever again. In alternativa, si potrebbe passare a un server dedicato e non devono preoccuparsi di condivisione di risorse della CPU con altri siti web mai di nuovo.

Thanks to D Holowiski for providing some of the tips for this post. Grazie a D Holowiski per fornire alcuni dei suggerimenti per questo post.

7 responses so far ↓ 7 risposte finora ↓

  • Mohd Atif Mohd Atif // / / Sep 23, 2008 at 3:35 pm Sep 23, 2008 a 3:35 pm

    CPU Optimization seems to be a hot topic on all the blogs these days.. L'ottimizzazione della CPU sembra essere un argomento caldo su tutti i blog in questi giorni ..

    Yeah and thanks for tips David Sì e grazie per i suggerimenti di David

  • David Bradley David Bradley // / / Sep 23, 2008 at 5:20 pm Sep 23, 2008 a 5:20 pm

    Mohd, is it? Mohd, vero? I’ve not seen it mentioned elsewhere at all. Ho visto che non menzionate altrove a tutti. By the way what’s are “techytuts”? A proposito di ciò che sono "techytuts"?

  • David Bradley David Bradley // / / Sep 23, 2008 at 6:23 pm Sep 23, 2008 a 6:23 pm

    Mohd, is it? Mohd, vero? I’ve not seen it mentioned elsewhere at all. Ho visto che non menzionate altrove a tutti. By the way what are “techytuts”? Con il modo in cui ciò che sono "techytuts"?

  • Wayne Smallman Wayne Smallman // / / Sep 27, 2008 at 9:53 am Sep 27, 2008 9:53 am

    There is another option. Vi è un'altra opzione.

    You can save the page in question as HTML and upload as a static page. È possibile salvare la pagina in questione come HTML e caricare come una pagina statica.

    However, here’s where you’d need my level of skill to make the edits to your .htaccess file(s), to your blog and to the HTML page itself… Tuttavia, ecco dove avevo bisogno del mio livello di abilità per fare le modifiche al tuo. Htaccess file (s), per il tuo blog e alla stessa pagina HTML ...

  • David Bradley David Bradley // / / Sep 28, 2008 at 7:47 pm Sep 28, 2008 a 7:47 pm

    You could…but then you lose all the interactivity unless you want to program each page to have comments/polls/pings/trackbacks/tagclouds etc. Although that said, the non-blog pages on my Sciencebase site are like that, static content that simply calls the WP CSS for layout. Si potrebbe ... ma poi si perde tutto l'interattività a meno che non si desidera programmare ogni pagina di commenti / sondaggi / ping / TrackBacks / tagclouds ecc Sebbene che ha detto, il non-blog pagine del mio sito sono Sciencebase come quello, contenuto statico che semplicemente chiede il WP CSS per il layout.

  • Mohd Atif Mohd Atif // / / Oct 10, 2008 at 10:11 am Ottobre 10, 2008 10:11 am

    Well I can give you instances but I have seen similar content on many blogs. Beh io posso darvi le istanze, ma ho visto contenuti simili su molti blog. Especially for handling the DIGG Effect. Soprattutto per il trattamento dei Effetto Digg.

    Techytuts, we’re a blog giving tutorials about computers and internet Techytuts, stiamo dando un blog tutorial su computer e internet :)

  • David Bradley David Bradley // / / Oct 10, 2008 at 11:57 am Ottobre 10, 2008 11:57 am

    @Mohd Okay fair enough, I just haven’t seen many bloggers talking about it. @ Mohd abbastanza equo Ok, ho appena visto non sono molti i blogger a parlarne. You couldn’t pipe across a few links could you, be very useful to see what others are saying on this topic. Si potrebbe non attraverso un tubo di pochi riferimenti potrebbe essere molto utile per vedere ciò che altri stanno dicendo su questo argomento.

    Meanwhile, I get the “Techy” bit, but what are “tuts”? Nel frattempo, ho l' "Techy" bit, ma ciò che sono "Tuts"?

Leave a Comment Lascia un tuo commento

Comments are checked for spam before appearing, no need to post it twice. I commenti sono controllate per individuare lo spam prima che appare, non è necessario per pubblicare due volte.

Related Posts Related Interventi