Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #21  
Old 19th May 2012, 16:57
erkan erkan is offline
Senior Member
 
Join Date: May 2012
Posts: 106
Thanks: 0
Thanked 1 Time in 1 Post
Default

Found the solution now! PHP-FPM seems to be working fine now!
Reply With Quote
Sponsored Links
  #22  
Old 19th May 2012, 17:31
erkan erkan is offline
Senior Member
 
Join Date: May 2012
Posts: 106
Thanks: 0
Thanked 1 Time in 1 Post
Default

Ok PHP-FPM is working now and I have uploaded a test site. But the site isn´t so fast and it seem to be overloading my server. I hade the same problem with normal fcgi, I thought that PHP-FPM wouldn´t overload my server.

Here is my test site: http://www.ffatest.se/

Is there something I can do to make PHP-FPM to not overload my server?

My server is a VPS with 3,5 GB RAM and 2 CPU cores.
Reply With Quote
  #23  
Old 21st May 2012, 10:35
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

I suggest you install munin to find out what's going on. A server like yours shouldn't be overloaded with a simple Apache/PHP-FPM setup (unless you have loads of traffic), so I guess there's a problem somewhere else (maybe slow hard drives?).
__________________
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
  #24  
Old 21st May 2012, 14:10
erkan erkan is offline
Senior Member
 
Join Date: May 2012
Posts: 106
Thanks: 0
Thanked 1 Time in 1 Post
Default

It is a test site so it has no more than 5 visitors at one time. I have now installed Munin but I don´t know how to interpret the information. It would be great if you could take a look at it here:

http://31.192.226.88/munin/ffatest.se/index.html
Reply With Quote
  #25  
Old 21st May 2012, 14:19
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,081
Thanks: 826
Thanked 5,396 Times in 4,240 Posts
Default

Your system is currently idle, its not overloaded. It can have many different reasons when a site appears slow, e.g. inclusion of external content or javascript scripts that load slow, slow harddisk or programming mistakes in the site scripts.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #26  
Old 21st May 2012, 14:29
erkan erkan is offline
Senior Member
 
Join Date: May 2012
Posts: 106
Thanks: 0
Thanked 1 Time in 1 Post
Default

If you try to access the site now you can see that it is barley loading:

http://www.ffatest.se/

Yes the RAM isn´t overloading right now but the site isn´t loading. If I restart apache the site will work normally for a while again before it stops loading again. If you wait long enough, a couple of hours, the RAM will overload.

If I use mod php instead of PHP-FPM the site will load normally and the RAM will never overload, this only happends when I use FCGI in some form.
Reply With Quote
  #27  
Old 21st May 2012, 14:42
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,081
Thanks: 826
Thanked 5,396 Times in 4,240 Posts
Default

There must be a general config issue on your server, the problem is not a php speed problem, maybe related to vlogger. We could have saved yourself a lot of time if you would have posted this indformation first instaed of asking for php-fpm. Check the global apache error.log and the error.log of the website for errors.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #28  
Old 21st May 2012, 15:02
erkan erkan is offline
Senior Member
 
Join Date: May 2012
Posts: 106
Thanks: 0
Thanked 1 Time in 1 Post
Default

Where can I find the apache error log?

I have attached the sites error log.
Attached Files
File Type: txt error.txt (68.8 KB, 452 views)
Reply With Quote
  #29  
Old 21st May 2012, 15:14
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,081
Thanks: 826
Thanked 5,396 Times in 4,240 Posts
Default

Quote:
Originally Posted by erkan View Post
Where can I find the apache error log?
/var/log/apache2/
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #30  
Old 21st May 2012, 16:11
erkan erkan is offline
Senior Member
 
Join Date: May 2012
Posts: 106
Thanks: 0
Thanked 1 Time in 1 Post
 
Default

The log seems to only contain one error but instead there are several hundred rows with that same error. Here it is:

BEGIN failed--compilation aborted at /usr/local/ispconfig/server/scripts/vlogger line 148.
piped log program ' /usr/local/ispconfig/server/scripts/vlogger -s access.log -t "%Y%m%d-access.log" -d "/etc/vlogger-dbi.conf" /var/log/ispconfig/httpd' failed unexpectedly
Can't locate Date/Format.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl) at /usr/local/ispcon$
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
Only Problems since Updating from 3.0.3.3 to 3.0.4.1 mbay General 4 17th May 2012 12:56
Control Panel - E-mail Tab is empty domi-nik General 15 14th April 2011 18:17
PHP warnings after upgrade to ISP config 3.03 stevegjacobs Installation/Configuration 5 30th October 2010 14:31
network issues now it says "401 The web site is blocked by administrator" Check General 3 26th February 2008 14:22
Apache2 Freezes celtic Server Operation 31 28th May 2007 17:18


All times are GMT +2. The time now is 16:34.


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