RegisterRegister    SearchSearch   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AJAX upload progress bar

File sharing script

File mirror script

Newsletter script
About CPU performance

 
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro
View previous topic :: View next topic  
Author Message
darkm4n



Joined: 24 Jan 2010
Posts: 9

PostPosted: Jun 21, 2010 4:19 pm    Post subject: About CPU performance Reply with quote

Hi,

Now I'am useing a Dell Poweredge 2950 , Dual QuadCore xeon ( total of 8 cores ) and 6 gb Ram with 2 disk's of 1 TB in raid 1 .

I'am getting about 2000 visits per day , this weekend i got 2500 visits but the CPU of the server went to 80% , is this normal ? The webpage responded slowly and ps aux returned about 20 processes named dl.cgi.

The avarage download speed is 6144 kBytes/s , how my clients should this dual quadcore support ? Is there any settings i could make to increase performance ?

Another thing , this machine runs vmware ESXi4 , the only VM running is the xfilesharing pro and have maximum resources .

How about a ideal hardware setup for supporting about 5000 visits/day and 50000 visits/day .

Thanks you !!!
Back to top
View user's profile Send private message
dotceo



Joined: 30 Dec 2009
Posts: 70

PostPosted: Jun 21, 2010 6:09 pm    Post subject: Reply with quote

You need to get the NGINX modification installed... Simple as that... This same topic comes up a lot.
Back to top
View user's profile Send private message
darkm4n



Joined: 24 Jan 2010
Posts: 9

PostPosted: Jun 21, 2010 6:43 pm    Post subject: Reply with quote

Can you compare the performance of apache vs nginx running xfilesharing pro ?

Thanks
Back to top
View user's profile Send private message
dotceo



Joined: 30 Dec 2009
Posts: 70

PostPosted: Jun 21, 2010 8:44 pm    Post subject: Reply with quote

Well you're not replacing apache... You're just adding NGINX to manage the downloads... that's all.

Apache would handle all small requests, while NGINX would handle all direct downloads requests. Both working at the same time under different ports. Apache port:80 and NGINX Port:X depending on how it's set.
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 22 Mar 2006
Posts: 1281

PostPosted: Jun 22, 2010 3:20 am    Post subject: Reply with quote

Use "Direct Links" instead of dl.cgi for downloads. dl.cgi will eat system resources as it's passing every single download through script.
Back to top
View user's profile Send private message Send e-mail
darkm4n



Joined: 24 Jan 2010
Posts: 9

PostPosted: Jun 22, 2010 8:53 pm    Post subject: Reply with quote

Excelent, thanks !
Back to top
View user's profile Send private message
PowerChaos



Joined: 19 Dec 2009
Posts: 440
Location: belguim

PostPosted: Jun 23, 2010 11:46 am    Post subject: Reply with quote

do you use 2 differend servers (website and download) or just 1 single server for both ??

so far i noticed , if i run direct downloads on my webserver then it goes up to 300% (Quadcore)

but on my download server (differend server) then i do not have a single problem , it keeps running fine all the time

and yes , i work with the .dl file Razz

anyway , i can not explain it how it comes , but so far all the above solutions will works to , this is just a other solution if your budget allows it

it will incrase atleast the website speed under heavy load (as it is serperated from download server)

but if it will help for the other stuff is not 100% sure (i cant confirm it)

Greetings From PowerChaos
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2005 phpBB Group