LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Rapidleech websites and high load, is there any solution for it??

Reply
 
Thread Tools Display Modes
  #1  
Old 01-16-2012, 09:08 AM
Mr_Parham Mr_Parham is offline
Senior Member
 
Join Date: Oct 2011
Posts: 72
Default 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
Reply With Quote
  #2  
Old 01-16-2012, 11:25 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,389
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.
Reply With Quote
  #3  
Old 01-16-2012, 12:13 PM
Mr_Parham Mr_Parham is offline
Senior Member
 
Join Date: Oct 2011
Posts: 72
Quote:
Originally Posted by webizen View Post
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
Reply With Quote
  #4  
Old 01-16-2012, 04:42 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,389
Quote:
Originally Posted by Mr_Parham View Post
...
===================================

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.
Reply With Quote
  #5  
Old 01-17-2012, 02:27 PM
Mr_Parham Mr_Parham is offline
Senior Member
 
Join Date: Oct 2011
Posts: 72
Quote:
Originally Posted by webizen View Post
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
Reply With Quote
  #6  
Old 01-17-2012, 02:50 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,389
good to hear it worked out for you.
Reply With Quote
Reply

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


All times are GMT -7. The time now is 12:18 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.