|
|

01-16-2012, 09:08 AM
|
|
Senior Member
|
|
Join Date: Oct 2011
Posts: 72
|
|
Rapidleech websites and high load, is there any solution for it??
Hi
As i did mention in the title of the thread i have some serious problem with Rapidleech websites and the high load i get because of them on the server, is there any solution for it
If you don’t know what rapidleech is, here is a quick explanation
Rapid Leech is a free server transfer script for use on various popular upload/download sites such as megaupload.com, Rapidshare.com and more than 45 others. The famous Rapidleech script transfers files from Rapidshare, Megaupload, Depositfiles.com, Easy-share.com, etc, via your fast servers connection speed and dumps the file on your server. You may then download these files from your server anytime later.
http://www.shareyourimage.com/images/AdGpq.png
http://www.shareyourimage.com/images/HmfB.png
|

01-16-2012, 11:25 AM
|
|
LiteSpeed Staff
|
|
Join Date: Oct 2010
Posts: 2,390
|
|
|
Looks like index.php under masterbr consumes quite a bit CPU cycles. If php code optimization is not an easy option, you may consider caching the php (either opcode cache or page cache) to offload.
|

01-16-2012, 12:13 PM
|
|
Senior Member
|
|
Join Date: Oct 2011
Posts: 72
|
|
Quote:
Originally Posted by webizen
Looks like index.php under masterbr consumes quite a bit CPU cycles. If php code optimization is not an easy option, you may consider caching the php (either opcode cache or page cache) to offload.
|
Rapidleech is a well known script, i dont think it would be a problem with that and the caching wont help
===================================
Another question, when i try to compile php 5.2.17 here is what happen
==================================
**MAIN_STATUS** retrieved from /usr/local/lsws/phpbuild/buildphp_1326744502.9.progress
Start building PHP 5.2.17 with LSAPI
Configuring PHP build (2-3 minutes)
**ERROR** Could not configure PHP build
==================================
and here is the detailed info
==================================
checking for the location of libXpm... no
checking for FreeType 1.x support... no
checking for FreeType 2... no
checking for T1lib support... no
checking whether to enable truetype string function in GD... no
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for fabsf... yes
checking for floorf... yes
If configure fails try --with-jpeg-dir=<DIR>
configure: error: libpng.(a|so) not found.
**ERROR** Could not configure PHP build
==================================
PS - i did try building a matching binary from cpanel but after it was finished the websites didnt function properly, it didnt load up lots of stuff and also the links and etc were messed up, so i though i should first choose the version before doing the cpanel part
|

01-16-2012, 04:42 PM
|
|
LiteSpeed Staff
|
|
Join Date: Oct 2010
Posts: 2,390
|
|
Quote:
Originally Posted by Mr_Parham
...
===================================
Another question, when i try to compile php 5.2.17 here is what happen
==================================
**MAIN_STATUS** retrieved from /usr/local/lsws/phpbuild/buildphp_1326744502.9.progress
Start building PHP 5.2.17 with LSAPI
Configuring PHP build (2-3 minutes)
**ERROR** Could not configure PHP build
==================================
and here is the detailed info
==================================
checking for the location of libXpm... no
checking for FreeType 1.x support... no
checking for FreeType 2... no
checking for T1lib support... no
checking whether to enable truetype string function in GD... no
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for fabsf... yes
checking for floorf... yes
If configure fails try --with-jpeg-dir=<DIR>
configure: error: libpng.(a|so) not found.
**ERROR** Could not configure PHP build
==================================
PS - i did try building a matching binary from cpanel but after it was finished the websites didnt function properly, it didnt load up lots of stuff and also the links and etc were messed up, so i though i should first choose the version before doing the cpanel part
|
You are missing libpng library. easy fix is yum install package. refer to below doc for more details:
http://www.litespeedtech.com/support...i:troubleshoot
I am actually more concerned with matching PHP binary built from cpanel unable to serve the sites. to have lsws replace apache, matching php is almost a must-have.
|

01-17-2012, 02:27 PM
|
|
Senior Member
|
|
Join Date: Oct 2011
Posts: 72
|
|
Quote:
Originally Posted by webizen
You are missing libpng library. easy fix is yum install package. refer to below doc for more details:
http://www.litespeedtech.com/support...i:troubleshoot
I am actually more concerned with matching PHP binary built from cpanel unable to serve the sites. to have lsws replace apache, matching php is almost a must-have.
|
it didnt solve the problem !
and about the matching php binary, what i did was reinstalling the webserver and it seems ok now when i use matching php binary
|

01-17-2012, 02:50 PM
|
|
LiteSpeed Staff
|
|
Join Date: Oct 2010
Posts: 2,390
|
|
|
good to hear it worked out for you.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 12:34 AM.
|
|