XFileSharing Pro - Generate Link process

Message
Author
pandusetiawan
Posts: 15
Joined: May 11, 2009 8:57 am

Generate Link process

#1 Postby pandusetiawan » Apr 21, 2011 3:04 pm

Hi..how is exactly the 'generate link' process?why the generate link process are so heavy?I said that because almost 80% of error hapenned on my site is during the generate link process.If I now knoww the process details..maybe I can tune up my site better.thank you.

ufkabakan
Posts: 332
Joined: Apr 13, 2011 9:37 pm

#2 Postby ufkabakan » Apr 21, 2011 3:28 pm

Do u have Nginx mod?

pandusetiawan
Posts: 15
Joined: May 11, 2009 8:57 am

#3 Postby pandusetiawan » Apr 21, 2011 4:23 pm

ufkabakan wrote:Do u have Nginx mod?
Nope..not yet at this moment...still got 2-3 months until I buy nginx mod.that's why I'm searching the best way to keep my server running well...for at least 2 or 3 months :D

komi
Posts: 161
Joined: Nov 27, 2009 12:41 pm

#4 Postby komi » Apr 21, 2011 5:00 pm

That process should not be heavy. It creates a virtual and temporary directory link to desired file. Since there is no script used to download, CPU usage is perspicuously lower than without that option.

Only disadvantage is that you cannot limit speeds through the script, unless you get nginx mod.

pandusetiawan
Posts: 15
Joined: May 11, 2009 8:57 am

#5 Postby pandusetiawan » Apr 22, 2011 12:12 am

komi wrote:That process should not be heavy. It creates a virtual and temporary directory link to desired file.
That's what I've though.that's why I'm so curious why the error are mostly hapened when user generate link.but the error are seems because of high load,when user click 'generate link',it keeps process about 2 minutes before this error message appears.

Code: Select all

Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator,  [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log.
[/code]

komi
Posts: 161
Joined: Nov 27, 2009 12:41 pm

#6 Postby komi » Apr 22, 2011 7:27 am

This might be due to high load indeed. Your website is incredibly hard to reach right now.

nyan
Posts: 163
Joined: Oct 28, 2010 8:01 pm

#7 Postby nyan » Apr 22, 2011 10:03 am

It's because your main server can't reach your fileserver (fileserver's apache not responding due to too many downloads)
Solution: configure it properly (put maxclients/serverlimit on 512 or something) or get nginx(you can also just install nginx without the nginx mod, just takes some script modifications)

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#8 Postby PilgrimX182 » Apr 22, 2011 12:08 pm

Check apache error_log for exact details.