Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 9th October 2009, 14:58
Berry Berry is offline
Member
 
Join Date: Nov 2006
Posts: 69
Thanks: 10
Thanked 1 Time in 1 Post
Send a message via Skype™ to Berry
Exclamation Problem with core dump files overflow

Hello!

I have problem with Debian Lenny (a "Perfect" one + suphp) server getting filled with core dump files (eg. core.1234) that eats up the whole space of server soon. Can anyone suggest me how to stop this dumps being made, or identify what app does it make. The core dump files appear in /var/www/webXY/web dirs and subdirs where some PHP scripts reside...

e.g.
Code:
# ls -la /var/www/web26/web/core*
-rw------- 1 web26_info web26 33853440 Oct  9 14:44 /var/www/web26/web/core.12026
-rw------- 1 web26_info web26 35299328 Oct  9 14:54 /var/www/web26/web/core.1371
-rw------- 1 web26_info web26 33857536 Oct  9 14:45 /var/www/web26/web/core.14226
and the info i get with "file"
Code:
# file /var/www/web26/web/core.12026
/var/www/web26/web/core.12026: ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from 'w/web26/phptmp'
Any ideas? Is the Apache or php producing it and how to stop it?

Thanks!
Reply With Quote
Sponsored Links
  #2  
Old 9th October 2009, 15:58
Berry Berry is offline
Member
 
Join Date: Nov 2006
Posts: 69
Thanks: 10
Thanked 1 Time in 1 Post
Send a message via Skype™ to Berry
Default

after googleing I found it was suPHP killing the Apache and that producing dumps:
http://linuxblackmagic.com/viewtopic...5dc1f01d2523cc
http://piyecarane.wordpress.com/2008...he-with-suphp/

Now, the solution is there for /etc/init.d/httpd file, but I can't find proper place for this parameter in /etc/init.d/apache2 nor where to put it...

Any suggestions from more experienced admins?
Reply With Quote
  #3  
Old 10th October 2009, 14:04
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Quote:
Originally Posted by Berry View Post
Now, the solution is there for /etc/init.d/httpd file, but I can't find proper place for this parameter in /etc/init.d/apache2 nor where to put it...
If you're using ISPConfig, you can put this directive in the Apache Directives field of that web site in ISPConfig.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #4  
Old 10th October 2009, 14:56
Berry Berry is offline
Member
 
Join Date: Nov 2006
Posts: 69
Thanks: 10
Thanked 1 Time in 1 Post
Send a message via Skype™ to Berry
Default

Quote:
Originally Posted by falko View Post
If you're using ISPConfig, you can put this directive in the Apache Directives field of that web site in ISPConfig.
Yes, I am using ISPConfig 2, but it comes on all accounts... is there a general place to put it for all Apache2 instances?
Reply With Quote
  #5  
Old 11th October 2009, 14:27
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
 
Default

In this case you can put it in the main Apache configuration file.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache wont serve my files anymore:( wotIsCmd Server Operation 2 17th July 2009 20:24
Fedora Core 4 and hp Printer install problem. slopoke_iii Desktop Operation 3 5th May 2007 22:27
istalled fine (Fedora core 4) but HTTPD problem edge Installation/Configuration 11 14th December 2005 12:28
Fedora Core 3 Problem bccisp01 Installation/Configuration 1 2nd October 2005 19:50
Fedora Core 4: charset problem (UTF-8?) Pasco Server Operation 5 26th August 2005 14:14


All times are GMT +2. The time now is 11:33.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.