Subscribe to RSS feed Prenumerera på RSS-flöde or eller follow me follow me on Twitter? på Twitter?
A couple of weeks after I launched Ett par veckor efter att jag startade Blog Designed Blog Designed (as the name suggests, it is a blog with posts and a (som namnet antyder är det en blogg med inlägg och en linked list länkade listan on design and WordPress), I noticed four 'core' files named core.2801, core.4065 etc. The files seemed harmless, but had rather large size (several megabytes). på design och WordPress) upptäckte jag fyra "kärna" filer som heter core.2801, core.4065 etc. Filerna verkade ofarlig, men hade ganska stora (flera megabyte).
What are core dump files? Vad är kärnan dumpfiler?
A quick Google search turned up a lot of complicated pages explaining the problem, but none that could actually suggest a fix. En snabb Google-sökning visade upp en massa komplicerade sidor förklarar problemet, men ingen som faktiskt skulle kunna föreslå en fix.
A web developer suggested that the core files were a result of lots of buffer being dumped. En webbutvecklare föreslog att kärnfiler var ett resultat av många buffert dumpas. This is typical of excessive resource usage and/or error reporting. Detta är typiskt för överdriven resurs användning och / eller felrapportering. Core dumps contain reports of working memory of a software when it has crashed. Core tippar innehåller rapporter om arbetsminne i en programvara när den har kraschat. In short, core dump files are caused by a crashing software component . Kort sagt, är centrala dumpfiler orsakas av en brakande programvara komponent. Instead of trying to get rid of core files, you should worry about what caused these errors. Istället för att försöka bli av med kärna filer, bör du oroa dig för vad som orsakat dessa fel.
You can safely delete these files. Du kan säkert ta bort dessa filer. Although there is Även om det finns GDB GDB to open and analyze core files, not many would actually understand anything. att öppna och analysera centrala filer, inte många skulle faktiskt förstår någonting. WordPress is tested thoroughly before each release, hence it is unlikely a fault caused by WP. WordPress testas noggrant före varje övergång, varför det är osannolikt att ett fel som orsakats av WP.
Prevent core dump files Förhindra core dump-filer
You can delete core files without any worry – it does not contain data useful to anyone but developers and hosting company itself. Du kan ta bort kärnan filer utan bekymmer - det innehåller inte uppgifter till nytta för någon annan än utvecklarna och webbhotell själv.
Incompatibilities arising out of Apache, MySQL, PHP etc could cause core dumps. Oförenligheter följd av Apache, MySQL, PHP etc kan orsaka kärna soptippar. Google version number of these software along with the terms “incompatibility WordPress”. Google version antal av dessa program tillsammans med begreppen "oförenliga WordPress".
If possible, use only plugins written by experienced developers. Om möjligt, använd bara plugins skriven av erfarna utvecklare. New developers may not adhere to the best coding practices. Nya utvecklare kan inte följa den bästa kodning metoder. A poorly coded plugin could cause core dumps. En dåligt kodad plugin kan orsaka kärna soptippar.
Upgrade WordPress plugins to the latest version. Uppgradera WordPress plugg till den senaste versionen. Regarding the problem on Blog Designed, I found that I had uploaded a older versions of a couple of plugins. När det gäller problemet på Blog Designed, fann jag att jag hade lagt upp en äldre versioner av ett par plugins.
Disable plugins. Inaktivera plugins. You can start out by disabling all the heavy plugins and enabling them one by one, during which time you should watch blog directory, wp-admin etc. for core files. Du kan börja med att inaktivera alla tunga plugins och ge dem en efter en, under vilken tid du ska titta blog directory, WP-admin osv kärnfiler. If a plugin does not trigger core files, activate another and test. Om ett plugin inte utlöser kärnfiler, aktivera en annan och testa. Repeat the process until all plugins have been activated or the culprit has been found. Upprepa processen tills alla plugins har aktiverats eller de skyldiga har hittats.
Related reading Relaterade läsning
- How To: Customize More tag in WordPress How To: Anpassa Fler tag i WordPress
- How To: Install WordPress on Windows Hur Till: Installera WordPress på Windows
- Is domination of WordPress and FeedBurner good? Är dominans av WordPress och FeedBurner bra?
- Delete post revisions in WordPress Radera post revideringar i WordPress
The core dumps could also have been due to WP. Kärnan soptippar kunde också ha berott på WP. The most usual cause of a core dump is because of running out of memory on your server – if you're on a shared host, ask to be moved to a different node. Den vanligaste orsaken till en kärna dump beror på att ta slut på minne på servern - om du är på en delad värd, begära att flyttas till en annan nod. If you're on a VPS/Dedicated Server, up your memory a little and the problem should stop. Om du är på en VPS / dedikerad server, upp minnet lite och problemet borde sluta.
Going by the description of your problem, it seems that you're running PHP as a CGI and not as a mod – it doesn't have a direct bearing to the core dump issue though. Going av beskrivningen av ditt problem, verkar det som om du använder PHP som CGI och inte som en mod - att det inte har en direkt inverkan på de grundläggande dumpa frågan om.
thanks for your information, the file is going to hell because i delete it Tack för din information, filen är åt helvete eftersom jag bort det