XFileSharing Pro - High load on index_dl.cgi

Message
Author
bbgnetwork
Posts: 18
Joined: Nov 30, 2011 1:29 pm

High load on index_dl.cgi

#1 Postby bbgnetwork » Mar 19, 2012 8:03 pm

On my main server, I am getting about 90% cpu load, mostly from index_dl.cgi.

What is this file used for? Is there anyway I could lower the load on this file?

speakerbox
Posts: 73
Joined: Aug 20, 2010 4:39 am

#2 Postby speakerbox » Mar 19, 2012 10:41 pm

As far as i know the index file is used to generate the download links - so if your this is causing high load then it's likely time for a more powerful server.

hostlife
Posts: 170
Joined: Aug 13, 2011 12:34 pm

#3 Postby hostlife » Mar 21, 2012 12:38 am

get nginx for reliability.

verzing
Posts: 141
Joined: Mar 02, 2011 7:00 pm

#4 Postby verzing » Mar 22, 2012 9:48 am

if main server high load I thinks its from sql, I hope sibsoft can reduce sql load in next version of xfs

stamos
Posts: 139
Joined: Nov 11, 2010 5:37 pm

#5 Postby stamos » Mar 22, 2012 1:38 pm

sql loads are getting way to high since to many actions are performed when a user downloads a file (logs etc)
hopefully there will be some optimization in the next version

ankurs
Posts: 1054
Joined: Mar 10, 2009 2:34 am

#6 Postby ankurs » Mar 22, 2012 1:51 pm

stamos wrote:hopefully there will be some optimization in the next version

why dont u suggest some ?

all the logging is necessary & not just added for fun ; its not mysql isssue its IO issue, get yourself a proper database server

Dulci
Posts: 112
Joined: Jun 10, 2010 6:45 am

#7 Postby Dulci » Mar 22, 2012 2:29 pm

if you Generate direct links you schould not have any problems.

stamos
Posts: 139
Joined: Nov 11, 2010 5:37 pm

#8 Postby stamos » Mar 22, 2012 8:02 pm

ankurs wrote:
stamos wrote:hopefully there will be some optimization in the next version

why dont u suggest some ?

all the logging is necessary & not just added for fun ; its not mysql isssue its IO issue, get yourself a proper database server


well, I have a dual quadcore SSD server for mysql, what do you think?!

ankurs
Posts: 1054
Joined: Mar 10, 2009 2:34 am

#9 Postby ankurs » Mar 24, 2012 7:34 am

stamos wrote:
ankurs wrote:
stamos wrote:hopefully there will be some optimization in the next version

why dont u suggest some ?

all the logging is necessary & not just added for fun ; its not mysql isssue its IO issue, get yourself a proper database server


well, I have a dual quadcore SSD server for mysql, what do you think?!


get a enterprise ssd & put it in raid10; if IO is a issue

chrda
Posts: 296
Joined: Sep 14, 2009 7:16 pm

#10 Postby chrda » Mar 24, 2012 5:21 pm

Dont need optimization really, just need to know how to scale your platform.

You need one (two if you want backup) loadbalancer, ect HAProxy.

Then you should get 2 or more of these servers.
1x CPU Intel Xeon 56xx, Single Sata disk , 8Gb ram. OR
1X Quad XeonE3 Series, Single Sata disk, 8Gb ram

And just ad as many as you need into the loadbalancer.

Just remember to have a high end Database server. Highend CPU, 12+Gb ram and SSD drives in Raid1. Also consider a backup DB.

This is a very good setup and its easy to scale.
The XFS script uses mostly CPU.

stamos
Posts: 139
Joined: Nov 11, 2010 5:37 pm

#11 Postby stamos » Mar 25, 2012 3:28 pm

finally, my loads doesn't come from mysql but from apache,
the apache server burns at peak times, mysql server load is good.

both are dual quadcore with ssd hdds.

any ideas?


Return to “XFileSharing Pro”



Who is online

Users browsing this forum: No registered users and 0 guests