ispCP - Board - Support
High load on ispcp server - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: General discussion (/forum-11.html)
+--- Thread: High load on ispcp server (/thread-1103.html)

Pages: 1 2 3 4 5 6


RE: High load on ispcp server - soringo - 08-16-2007 03:55 AM

platzwart Wrote:
Quote:and add this code in ispcp-dmn-mngr at line 2033:
$starter_tpl =~ s/{SUEXEC_USER}/$sys_user/gi;

i think, thats no longer correct... looking into that file it would make no sense to add this code at line 2033...
could you please tell me where to put it more precisley? perhaps you can tell me into wich sub...

thx!!
[/quote]

Look for the string "$starter_tpl" in file ispcp-dmn-mngr and add the above code.
It's works well..,my server has 0.10 load now.


RE: High load on ispcp server - BeNe - 08-16-2007 03:49 PM

Maybe we should set this as Default.
None Server has a HighLoad after this modification.

Greez BeNe


RE: High load on ispcp server - platzwart - 08-16-2007 06:57 PM

works fine! load decreased from 2.80 to 0.05!!! thx a lot Wink


RE: High load on ispcp server - soringo - 08-16-2007 07:08 PM

platzwart Wrote:works fine! load decreased from 2.80 to 0.05!!! thx a lot Wink

Great to hear that. Smile


RE: High load on ispcp server - raphael - 08-17-2007 01:32 AM

BeNe Wrote:Maybe we should set this as Default.
None Server has a HighLoad after this modification.

Greez BeNe

Personally I prefer to have the Debian PHP maintainers to fix it, since that hack kills all parent fastcgi processes which actually means that there's a performance degradation.


RE: High load on ispcp server - BeNe - 08-17-2007 01:44 AM

Yeah, thats the best way! But how long will it take Rolleyes
Maybe we can use it as workaround....but later the people have to change it back if the maintainers corrected the bug.

Ok - let us wait!

Greez BeNe


RE: High load on ispcp server - raphael - 08-17-2007 03:27 AM

I'll talk to them and see what's up.

They have to wait until 4.0r1 is released to include those modifications, but AFAIR they haven't even patched the SVN version of the package


RE: High load on ispcp server - bertus51 - 08-22-2007 10:53 PM

For me this worked fine also.

Load dropped from 40% to 0,05%.
One of my clients uses FFMPEG and I had lot's of problems with the high server load.

The problems only occurred with that client, rest of my domains were running fine.

I only had to change -appConnTimeout 300 to -appConnTimeout 900,
uploaded files(video) are max 180 MB, so FFMPEG is writing a little longer to file and FastCGI application need more time to complete.


RE: High load on ispcp server - Philipp - 10-28-2007 08:26 PM

Philipp Wrote:Perhaps one of the developers can add the {SUEXEC_USER} option to the development version after it seems useful for some configurations

Quote:and add this code in ispcp-dmn-mngr at line 2033:
$starter_tpl =~ s/{SUEXEC_USER}/$sys_user/gi;
To doing this in the latest trunk. Find at line 2184:
Code:
my %tag_hash = (                                                
                                                '{PHP_STARTER_DIR}' => $starter_
                                                '{PHP5_FASTCGI_BIN}' => $main::c
                                                '{DMN_NAME}' => $dmn_name  
                                           );
and replace with:
Code:
my %tag_hash = (                                                
                                                '{PHP_STARTER_DIR}' => $starter_
                                                '{PHP5_FASTCGI_BIN}' => $main::c
                                                '{DMN_NAME}' => $dmn_name,      
                                                '{SUEXEC_USER}' => $sys_user    
                                           );
I still think that support for {SUEXEC_USER} should be added to the official version Wink


RE: High load on ispcp server - raphael - 10-29-2007 04:12 AM

Just and update about the 'fix' for the PHP binary.

Here's the bug report: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=431799
If someone is able to compile the php5 package from etch with the patch and works as expected, please notify me so I try to get that patch on the SVN rep