XILO Community Forum

Support 0345 468 0005 • Sales 0800 848 8468 • sales chat

Go Back   XILO Community Forum > Customer Support > Support Queries > core.* file problems.
Support Queries This forum should be used to contact our support team should you have any problems with your account.

Closed Thread
 
LinkBack Thread Tools Display Modes
  (#1 (permalink)) Old
Reseller
lingo is on a distinguished road
 
Posts: 7
Join Date: Apr 2006
Location: Halifax, UK
Default Re: cPanel Resellers - PHPsuexec and register_global changes. - 17/05/2006, 9:44 PM

Don't know if it's anything to do with the changes, but i am using smsimple cms files (php) for a site. Never had a problem before, but it seems that as of today I am getting large (about 5mb) 'core' files dumped on the root of that site. These happen everytime a page is refreshed or a new link clicked!!

It kinda builds up quick and fills that account!!

Any reason why i should be getting masses of core files? and any way to stop it.

...im deleting these files every 10mins to stop it overflowing!!

Tim
  (#2 (permalink)) Old
Techie & Moderator
Kieran is on a distinguished road
 
Kieran's Avatar
 
Posts: 764
Join Date: Apr 2006
Location: Swindon, UK
Default Re: cPanel Resellers - PHPsuexec and register_global changes. - 17/05/2006, 10:23 PM

I have just noticed these on one of my accounts too; I'm not sure what it is in particular that is causing them to be created. I have written a quick php script to purge them and have it on standby to run as a cron job every 10 minutes if any more appear. While I hoped purging them would allow me to start uploading/writing to files again (because the core files had pushed me over quota) sadly it did not.

Thanks for the heads up!
  (#3 (permalink)) Old
Tom Tom is offline
XILO Staff


Tom is on a distinguished road
 
Tom's Avatar
 
Posts: 171
Join Date: Nov 2005
Default Re: cPanel Resellers - PHPsuexec and register_global changes. - 17/05/2006, 10:28 PM

Quote:
Originally Posted by Kieran
PHPsuexec changes have killed php file uploads and file changes completely on delta. Directories can be chmod'ed to 755 or 777 and in both cases they are most definitely not writable

I'm just posting this here in case it gets read before my ticket or in case anyone else is having the same problems and wants to discuss.
Kieran,

I've just installed a test gallery and Joomla site - uploads worked fine on both.

However, there are alot of core dumps.. After looking into this - Zend appears not to be well. We had to re-install it using the /scripts/installzend script provided by cPanel - however, after looking around Google, there appear to be alot of problems with the core dumps.

We are on the case of this now, please bear with us.


XILO Communications Ltd.
Internet Hosting and Online Services
w: http://www.xilo.net/
h: http://my.xilo.net/
t: +44 (0) 845 034 6444
f: +44 (0) 845 034 6555
  (#4 (permalink)) Old
Techie & Moderator
Kieran is on a distinguished road
 
Kieran's Avatar
 
Posts: 764
Join Date: Apr 2006
Location: Swindon, UK
Default Re: cPanel Resellers - PHPsuexec and register_global changes. - 17/05/2006, 10:38 PM

Thanks for looking into this

I'm pleased to see that the reply when I viewed the thread was to do with Zend as I got the following in my e-mail as the reply to this thread and was about to come on here to defend my code

Quote:
Originally Posted by XILO-Tom
However, your code seems abit patchy.

You have alot of core.* files in your web directory which would indiciate that something is not coded properly, so it bombs out and then dumps the core as far as it had gotten.
  (#5 (permalink)) Old
Tom Tom is offline
XILO Staff


Tom is on a distinguished road
 
Tom's Avatar
 
Posts: 171
Join Date: Nov 2005
Default Re: cPanel Resellers - PHPsuexec and register_global changes. - 17/05/2006, 10:48 PM

Doh...

I honestly thought it was until I had a look elsewhere. Apologies for pointing the finger.


XILO Communications Ltd.
Internet Hosting and Online Services
w: http://www.xilo.net/
h: http://my.xilo.net/
t: +44 (0) 845 034 6444
f: +44 (0) 845 034 6555
  (#6 (permalink)) Old
Techie & Moderator
Kieran is on a distinguished road
 
Kieran's Avatar
 
Posts: 764
Join Date: Apr 2006
Location: Swindon, UK
Default Re: cPanel Resellers - PHPsuexec and register_global changes. - 17/05/2006, 10:55 PM

No problem - its not always obvious what is causing any problem.

I think however that we can blame all the problems I have reported in tickets and forums tonight on the Zend/core files issue. My busy sites are generating core files like no tomorrow and simply causing my space to fill up. This blocks e-mails from being stored and also uploads (luckily databases are still accepting data otherwise I'd be in big trouble, lol).

I'm now working out all the places they are being placed and getting some hefty deletion crons setup at regular intervals
  (#7 (permalink)) Old
Techie & Moderator
Kieran is on a distinguished road
 
Kieran's Avatar
 
Posts: 764
Join Date: Apr 2006
Location: Swindon, UK
Default Re: cPanel Resellers - PHPsuexec and register_global changes. - 17/05/2006, 11:05 PM

The strategy is working; core files are biting the dust

Only site where it is ineffective is www.routertech.org The files are simply too large and being generated too frequently for a regular cron to cope with! lol
  (#8 (permalink)) Old
Reseller
lingo is on a distinguished road
 
Posts: 7
Join Date: Apr 2006
Location: Halifax, UK
Default Re: cPanel Resellers - PHPsuexec and register_global changes. - 17/05/2006, 11:06 PM

Quote:
Originally Posted by Kieran
... I have written a quick php script to purge them and have it on standby to run as a cron job every 10 minutes if any more appear. ..
Any chance of a copy of the script Kieran? I might need it myself until things are resolved (may need a hand wetting up a cron job too - not really done that before!!)

Cheers

Tim
  (#9 (permalink)) Old
Tom Tom is offline
XILO Staff


Tom is on a distinguished road
 
Tom's Avatar
 
Posts: 171
Join Date: Nov 2005
Default Re: cPanel Resellers - PHPsuexec and register_global changes. - 17/05/2006, 11:46 PM

Tim,

We are going to delete all core.* files every 5 minutes shortly.

Zend appears to be the problem and we are just investigating now.


XILO Communications Ltd.
Internet Hosting and Online Services
w: http://www.xilo.net/
h: http://my.xilo.net/
t: +44 (0) 845 034 6444
f: +44 (0) 845 034 6555
  (#10 (permalink)) Old
Reseller
lingo is on a distinguished road
 
Posts: 7
Join Date: Apr 2006
Location: Halifax, UK
Default Re: cPanel Resellers - PHPsuexec and register_global changes. - 17/05/2006, 11:56 PM

Quote:
Originally Posted by XILO-Tom
Tim,

We are going to delete all core.* files every 5 minutes shortly..
Thanks Tom! That means I can go to bed tonight!!

Hope you manage to get things sorted.

Cheers.

Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
File query Simon Support Queries 9 12/07/2007 1:39 PM
FTP upload file size mcoops Support Queries 1 30/01/2007 5:49 PM
Permissions on a config file iain2_uk Support Queries 3 17/07/2006 6:46 PM


Powered by vBulletin | XHTML | © Copyright 2003-2009 XILO Communications Ltd. All rights reserved. E&OE