News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

1000's of 21,192KB Core files every week

Started by snadge, April 12, 2017, 07:26:01 AM

Previous topic - Next topic

snadge

Quote from: Sir Osis of Liver on May 04, 2017, 04:46:33 PM
Your theme is broken.  Does the forum display correctly in default Curve?

Ive been informed on another website that its because they used an old version of Apache on cPanel and their cloud uses a newer one and this has corrupt my template/theme?

when I try to select CURVE i get the following:

AN ERROR HAS OCCURRED!
The overall forum default theme must be a selectable theme.

edit:
Quotereally old Apache, PHP and MySQL.

Sir Osis of Liver

Can you pm admin access (link/user/pw)?
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Illori

what  are the exact versions of apache/php/mysql running on the server?

i dont think this issue has anything to do with the apache/php/mysql versions running, i think your host messed up more by incorrectly moving the forum.

snadge

the site is functional but the links to access it are hidden until you click the DOWN arrow (which I know most users/guests wont know this)..I can log into admin etc and post on the forum

my hosts have not replied after 3 messages sent 3 hours ago....

this was what I was on before the switch:

Hosting Package standard
Server Name ********
cPanel Version 64.0 (build 19)
Apache Version 2.2.26
PHP Version 5.3.28
MySQL Version 5.5.54-cll
Architecture x86_64
Operating System linux
Shared IP Address ***********
Path to Sendmail /usr/sbin/sendmail
Path to Perl /usr/bin/perl
Perl Version 5.10.1
Kernel Version 2.6.32-358.23.2.el6.x86_64

I posted this and most the stuff ive been told by you(s) and my hosts on a hosting forum, and loads of them have said its my website using too many resources causing it to breach memory limit and spurt out the dump files. probably broken code by too many modifications (which is true as I can not uninstall EZportal ((this has been stuck in for years)) nor can I update SimplePortal and that has an update available that fixes many bugs)...this was before the switch to cloud.... they now advise that it must be a newer version of PHP etc thats revealing problems in my modifications/code etc...

my host is TSO hosting and are supposed to be very good?

what I can say is that not long ago I asked to be moved from the £5 month package to the £3 month package as we were using almost zero resources, (from my point of view)... we only used about 400MB web space... 5-6GB bandwidth and Whos Online only ever shows 2-6 users and guests online at any one time... so we downgraded and I had asked if its related and they said no as everything is the same except bandwidth and storage.

Sir Osis of Liver

#44
Ok, had a look at your forum. :P  Your theme is definitely broken, you have two portals installed, Tapatalk and Adsense are two mods that have been problematic on many forums, and you have an annoying adblocker nag screen which I've never seen before (and hope never to see again).  Functionally it seems to be fine, everything I tried works normally.  Without having admin or cpanel access, my impression is that this isn't a host problem, it's just a very badly modified install.  Suggest you do a clean install with new database in another directory, import your production db, run repair_settings.php, and see how it works.

Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

snadge

Quote from: Sir Osis of Liver on May 04, 2017, 06:11:25 PM
Ok, had a look at your forum. :P  Your theme is definitely broken, you have two portals installed, Tapatalk and Adsense are two mods that have been problematic on many forums, and you have an annoying adblocker nag screen which I've never seen before (and hope never to see again).  Functionally it seems to be fine, everything I tried works normally.  Without having admin or cpanel access, my impression is that this isn't a host problem, it's just a very badly modified install.  Suggest you do a clean install with new database in another directory, import your production db, run repair_settings.php, and see how it works.

yup..it seems to have started since Adsense...was shortly after I noticed the dump files - also your suggestion im not 100% sure how to do.

I tried a full reset (new install - keep database so I dont lose users or posts) the other day and it could not connect too my database... so I restored it back, then I found out how to change the db password but is that all I do? will anything else need to know the new password other than the new smf setup? I dunno, I should of gone ahead and retried once learning how to change the db password...  I used FileZilla to upload the files ...FZ has been great but now I dont know how to connect it too this new cloud hosting?

adblocker mod is from SMF site...  many sites use these now.,, most site I visit with my AB on blocks the site unless I allow them

snadge

....just to add to what I said above, another host whos been very helpful on WHT has said that if a memory increase to 768MB slowed down the dumps, then its probably just that you need 1GB or so... he says 768MB (and that was an upgrade) is very poor and even lesser quality, cheaper hosts supply 1-2GB and he advises I move hosts ASAP as SMF advised ???  my heads in a spin lol...

sounds to me like its a bit of both... under supply of resources AND badly modified forum.

Arantor

There are two ways you can get a core dump from PHP. Either PHP itself crashes due to a PHP bug/miscompilation of PHP, or PHP is forcefully killed by a watchdog process.

The former happens; PHP 5.3.8 for example had a bug where if a PHP file was an exact multiple of 4096 bytes (e.g. the file was 16384 bytes = 16KB exactly) it would crash.

The latter happens on servers that are massively oversubscribed and have far more users on them than they should have. The system treats the killing of the process as though it had crashed and produces a core dump. Upping the PHP memory limit probably won't actually fix this because it's not the PHP process itself that produces the core dump - and PHP failing due to hitting the allowed memory limit shouldn't be a crash unless they've miscompiled it.

snadge

#48
hosts have repaired the faulty template issue while still on cloud hosting.......... so they HAD screwed migration up"!!!

but now im getting:

QuoteThe cache directory is not writable - this will adversely affect the performance of your forum.

what do i do to sort that?  looks like the report is from SMF

thanks

edit: after looking here on google it would seem my cache folder is now called cacheOLD..? do i remove the OLD or just create a new empty one>?
edit: renamed it Cache and error msg is gone

edit 2:  from TSO hosting:

"As to the memory limit I've set it up to 1024 for you. Please note that memory limit and RAM are two completely different things. Memory limit refers to the php memory for your scrips. As to the RAM, as this is a shared hosting platform you have no dedicated resources and you share the resources of our platform with all other users. Please note that this is a clustered environment which is being upgraded regularly. "

Sir Osis of Liver

If you don't have a /cache directory in forum root, upload it from the 2.0.13 upgrade or install package.  It contains an index.php and .htaccess file.  Directory permissions should be 755.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

snadge

thanks everyone for your input

I changed it from cacheOLD to cache and its working fine... also i was told by other hosts on WHT, that 512MB-768MB soft PHP memory limit was extremely poor, saying that even cheaper lesser quality hosts assign 1-2GB, and that I should move hosts ASAP as SMF have advised.. so my hosting (TSO) have increased it to 1GB and repaired the "borked" cloud migration...NO ERROR DUMPS IN 48 HOURS....

yeah my site needs looking at : but it works, it might be using a little extra resources than normal because of bugs...i dunno...as i dunno how these things work... but strange it happened out of the blue and moving to cloud with increased soft memory limit from 512MB to 1GB completely stops the dumps

at least it gives me time to attempt fixes...  if I run into some money I may put an ask someone to help in the paid section... if I cant fix it (remove EZportal and update SimplePortal) then I will reset it and start over.

Im also still getting daily emails informing me of my "successful backup" in Softaculous (as I had a cron set daily to backup when i was in cPanel) - I no longer have softaculous or such folder lol... so it would seem they STILL have my site on their cPanel???

snadge

well... still no dumps

but i have lost the ability to backup n restore so I cant try and repair my forum....  they told me i have to download all my files and databases ....but this cloud infrastructure is made in house and something they are still in the process of "making better" - as they screwed up my migration I dont feel I can trust a simple download and re-up restoring the forum (also this uses my bandwidth whereas before on cPanel Softaculous you could backup n restore without downloading/uploading a thing

Illori

you should still download the files, what if their server crashes? if you have no backup yourself you may be out of luck if your host does not also have a backup.

snadge

Quote from: Illori on May 15, 2017, 04:03:20 PM
you should still download the files, what if their server crashes? if you have no backup yourself you may be out of luck if your host does not also have a backup.

its cloud hosting over many servers, and as far as im aware they make daily backups (but that was when I was on cPanel...dunno if it still same now - guess i will have to ask)

Steve

Confident enough to mark this solved, snadge?
DO NOT pm me for support!

snadge

yeah the dumps are solved for now... thanks everyone

Advertisement: