Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 18th April 2008, 11:00
Insane1 Insane1 is offline
Junior Member
 
Join Date: Apr 2008
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Joomla + suPHP + ispconfig + Etch causes too many processes!

Please help me. I started a server with ispconfig on debian etch. I secured the server with suphp. All done with the manuals here. But now, i got a big error. I moved my last page to the server and now, THIS site doesnt work. All the other Sites work, a smaller Joomla Site, too. But this Joomla Page doesn't.

I checked out the memory and i saw, the webuser of the page causes 30-40 php5-cgi processes with hundrets of MBs Memory Usage. The Page timed out with a 500 error.

i checked all the permissions but the error.log still gives me just one error:

[Fri Apr 18 08:41:30 2008] [error] [client x.x.x.x] Premature end of script headers: index.php

But all the permissions are correct! And the Page runs out of memory.

Can you help me how to find the reason? is there a logfile i didnt find? How can i locate the script, which causes the error?
Reply With Quote
Sponsored Links
  #2  
Old 19th April 2008, 23:30
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

What's the value of memory_limit from your php.ini?
What's the output of
Code:
top
?
__________________
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
  #3  
Old 19th April 2008, 23:39
Insane1 Insane1 is offline
Junior Member
 
Join Date: Apr 2008
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

memory_limit = 64M

And top shows

Code:
12434 root      18   0  163m  17m 9.8m S  0.0  4.5   0:00.36 apache2
15532 web16_go  16   0  114m  22m 8940 S  0.0  5.9   0:00.12 php5-cgi
 1446 mysql     15   0  153m  32m 4104 S 99.9  8.5  98:47.29 mysqld
15219 www-data  15   0  164m  10m 3152 S  0.0  2.7   0:00.01 apache2
 2179 admispco  15   0 33516 5332 3148 S  0.0  1.4   0:05.79 ispconfig_httpd
15221 www-data  15   0  164m  10m 3144 S  0.0  2.7   0:00.00 apache2
15298 www-data  15   0  164m  10m 3140 S  0.0  2.7   0:00.00 apache2
24795 admispco  15   0 33520 5300 3116 S  0.0  1.3   0:05.33 ispconfig_httpd
15215 www-data  15   0  164m  10m 3076 S  0.0  2.7   0:00.01 apache2
15222 www-data  15   0  164m  10m 3072 S  0.0  2.7   0:00.00 apache2
15216 www-data  15   0  164m  10m 3064 S  0.0  2.7   0:00.00 apache2
15220 www-data  15   0  164m  10m 3064 S  0.0  2.7   0:00.00 apache2
15223 www-data  15   0  164m  10m 3064 S  0.0  2.7   0:00.00 apache2
15290 www-data  15   0  164m  10m 3064 S  0.0  2.7   0:00.00 apache2
15218 www-data  15   0  164m  10m 3060 S  0.0  2.7   0:00.00 apache2
15217 www-data  15   0  164m  10m 3056 S  0.0  2.7   0:00.00 apache2
15224 www-data  15   0  164m  10m 3052 S  0.0  2.7   0:00.00 apache2
15466 www-data  15   0  164m  10m 3052 S  0.0  2.7   0:00.00 apache2
 9875 root      16   0 36788 2692 2120 S  0.0  0.7   0:00.00 sshd
 1534 postgrey  15   0 34444 5808 2108 S  0.0  1.5   0:02.87 postgrey
web16_go is the web with the problem. All the other webs run perfect!

(Lneburg germany? Da knnten wir ja auch deutsch sprechen )
Reply With Quote
  #4  
Old 20th April 2008, 19:57
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Quote:
Originally Posted by Insane1
memory_limit = 64M
Have you tried to increase the memory_limit, e.g. to 128M?

Quote:
Originally Posted by Insane1
And top shows

Code:
12434 root      18   0  163m  17m 9.8m S  0.0  4.5   0:00.36 apache2
15532 web16_go  16   0  114m  22m 8940 S  0.0  5.9   0:00.12 php5-cgi
 1446 mysql     15   0  153m  32m 4104 S 99.9  8.5  98:47.29 mysqld
15219 www-data  15   0  164m  10m 3152 S  0.0  2.7   0:00.01 apache2
 2179 admispco  15   0 33516 5332 3148 S  0.0  1.4   0:05.79 ispconfig_httpd
15221 www-data  15   0  164m  10m 3144 S  0.0  2.7   0:00.00 apache2
15298 www-data  15   0  164m  10m 3140 S  0.0  2.7   0:00.00 apache2
24795 admispco  15   0 33520 5300 3116 S  0.0  1.3   0:05.33 ispconfig_httpd
15215 www-data  15   0  164m  10m 3076 S  0.0  2.7   0:00.01 apache2
15222 www-data  15   0  164m  10m 3072 S  0.0  2.7   0:00.00 apache2
15216 www-data  15   0  164m  10m 3064 S  0.0  2.7   0:00.00 apache2
15220 www-data  15   0  164m  10m 3064 S  0.0  2.7   0:00.00 apache2
15223 www-data  15   0  164m  10m 3064 S  0.0  2.7   0:00.00 apache2
15290 www-data  15   0  164m  10m 3064 S  0.0  2.7   0:00.00 apache2
15218 www-data  15   0  164m  10m 3060 S  0.0  2.7   0:00.00 apache2
15217 www-data  15   0  164m  10m 3056 S  0.0  2.7   0:00.00 apache2
15224 www-data  15   0  164m  10m 3052 S  0.0  2.7   0:00.00 apache2
15466 www-data  15   0  164m  10m 3052 S  0.0  2.7   0:00.00 apache2
 9875 root      16   0 36788 2692 2120 S  0.0  0.7   0:00.00 sshd
 1534 postgrey  15   0 34444 5808 2108 S  0.0  1.5   0:02.87 postgrey
I'm interested in the beginning of the top output. Can you post it again, maybe also the output of
Code:
cat /proc/meminfo
?

Quote:
Originally Posted by Insane1
(Lneburg germany? Da knnten wir ja auch deutsch sprechen )
Yes, but then nobody else can understand us.
__________________
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
  #5  
Old 11th May 2008, 17:51
SamTzu SamTzu is offline
HowtoForge Supporter
 
Join Date: Apr 2007
Location: Helsinki
Posts: 429
Thanks: 33
Thanked 55 Times in 38 Posts
Send a message via Skype™ to SamTzu
 
Default

What Joomla version is the website using?
What extensions (components, modules, plugins, etc) is the website using?
What version?

I hear tell that a lot of spam is sent these days using old "buggy" php code.
Joomla 1.0.x has had many security flaws.

Upgrading to 1.5 may help.
__________________

Sami Mattila
Internet-Content

Telephone:
00358942833310
Email: firstname.lastname@internet-content.org
Shop: http://shop.internet-content.net
Site: http://www.internet-content.net
Blog: http://www.internet-content.net/en/blog
FB: https://www.facebook.com/internetcontent

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
PerfectSetup etch 4.0 ISPConfig - Apache2 !!! marowiliams HOWTO-Related Questions 2 25th June 2007 17:56
Joomla move to ispconfig from ensim fedora cache problem s2angel General 2 2nd February 2007 18:45
SuPHP for PHP4 and PHP5 with ISPConfig Rustin Tips/Tricks/Mods 2 29th November 2006 08:52
Joomla & ISPconfig ikaros General 7 3rd October 2006 12:16
fastcgi and php with ispconfig tosser Tips/Tricks/Mods 3 25th June 2006 21:01


All times are GMT +2. The time now is 06:49.


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