Current time: 12-25-2024, 11:20 PM Hello There, Guest! (LoginRegister)


Post Reply 
High load on ispcp server
Author Message
soringo Offline
Junior Member
*

Posts: 33
Joined: Feb 2007
Reputation: 0
Post: #11
RE: High load on ispcp server
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.
08-16-2007 03:55 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #12
RE: High load on ispcp server
Maybe we should set this as Default.
None Server has a HighLoad after this modification.

Greez BeNe
08-16-2007 03:49 PM
Visit this user's website Find all posts by this user Quote this message in a reply
platzwart Offline
Junior Member
*

Posts: 100
Joined: Mar 2007
Reputation: 1
Post: #13
RE: High load on ispcp server
works fine! load decreased from 2.80 to 0.05!!! thx a lot Wink
08-16-2007 06:57 PM
Find all posts by this user Quote this message in a reply
soringo Offline
Junior Member
*

Posts: 33
Joined: Feb 2007
Reputation: 0
Post: #14
RE: High load on ispcp server
platzwart Wrote:works fine! load decreased from 2.80 to 0.05!!! thx a lot Wink

Great to hear that. Smile
08-16-2007 07:08 PM
Find all posts by this user Quote this message in a reply
raphael Offline
Member
***

Posts: 474
Joined: Apr 2007
Reputation: 8
Post: #15
RE: High load on ispcp server
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.
08-17-2007 01:32 AM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #16
RE: High load on ispcp server
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
08-17-2007 01:44 AM
Visit this user's website Find all posts by this user Quote this message in a reply
raphael Offline
Member
***

Posts: 474
Joined: Apr 2007
Reputation: 8
Post: #17
RE: High load on ispcp server
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
08-17-2007 03:27 AM
Visit this user's website Find all posts by this user Quote this message in a reply
bertus51 Offline
Junior Member
*

Posts: 12
Joined: Apr 2007
Reputation: 1
Post: #18
RE: High load on ispcp server
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.
(This post was last modified: 08-22-2007 11:50 PM by bertus51.)
08-22-2007 10:53 PM
Find all posts by this user Quote this message in a reply
Philipp Offline
Junior Member
*

Posts: 18
Joined: Aug 2007
Reputation: 1
Post: #19
RE: High load on ispcp server
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
10-28-2007 08:26 PM
Find all posts by this user Quote this message in a reply
raphael Offline
Member
***

Posts: 474
Joined: Apr 2007
Reputation: 8
Post: #20
RE: High load on ispcp server
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
10-29-2007 04:12 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 12 Guest(s)