Hello,
At the moment we are having some problem when links are being generated after uploads are completed. On occasion the it will take 8 to ten seconds to generate links when the upload finishes.
We have several quad-core servers with 8GB of ram and 4x2TB HW raid 10. All the servers are around 30 percent capacity and the network is only 20 percent used. We thought that the problem is with disk IO but I'm not sure as disk IO seems alright. It disks read speed seems to max out at 20mbps during peaks times.
Anyhow, we have tweaked nginx aswell as apache but we still have this same problem. It's very frustrating and we'd like to resolve it.
Can anyone recommend anything hat may help? Ankurs?
XFileSharing Pro - Taking long to generate links after upload?
I am guessing this happens only with big files and not small tiny files.
Is your temp folder on same partition as uploads folder ? If not try that, because after upload files are moved from temp folder to uploads folder.
When your moving 1gb file from temp to upload folder, if its on same partition its just a move; but if its not then the file is written to uploads folder which is limited by your write speed.
Also make sure your raid is optimized.
http://www.computerweekly.com/RAID-chun ... erformance
Is your temp folder on same partition as uploads folder ? If not try that, because after upload files are moved from temp folder to uploads folder.
When your moving 1gb file from temp to upload folder, if its on same partition its just a move; but if its not then the file is written to uploads folder which is limited by your write speed.
Also make sure your raid is optimized.
http://www.computerweekly.com/RAID-chun ... erformance
-
- Posts: 73
- Joined: Aug 20, 2010 4:39 am
-
- Posts: 73
- Joined: Aug 20, 2010 4:39 am
-
- Posts: 73
- Joined: Aug 20, 2010 4:39 am
Perhaps nginx isn't configured properly?
In the past we've had less powerful boxes that had no problem with disk IO on raid 10.
We also have some raid 1 servers with two hard-drives and the performance is identical to that of the servers with four disk raid 10. That shouldn't be the case especially since the raid 1 servers are at 90 percent capacity.
Any suggestions on how to proceed?
Thanks
In the past we've had less powerful boxes that had no problem with disk IO on raid 10.
We also have some raid 1 servers with two hard-drives and the performance is identical to that of the servers with four disk raid 10. That shouldn't be the case especially since the raid 1 servers are at 90 percent capacity.
Any suggestions on how to proceed?
Thanks