Hi
I have a problem with litespeed and that is not letting my users upload large file (I paid a lot of people but no one could solve the problem), I also have a problem with apache as well which is not being able to handle all of the connections, so i was wondering is there a way to use apache for remote uploading but using litespeed on another port (let's say 8080) for downloading the files, if yes how can i do that in server settings.
Thanks in advance
XFileSharing Pro - using two webservers (Apache for Up and Litespeed for DL)
Can you post your ATOP SS?
http://sibsoft.net/forum/share-your-atop-ss-t5049.html
How much connection do you have on apache?
QuadCore CPU, 16GB Ram and good optimization can handle 2K connection easly. My old server can handle 3,5K-4K with high loads on Apache.
http://sibsoft.net/forum/share-your-atop-ss-t5049.html
How much connection do you have on apache?
QuadCore CPU, 16GB Ram and good optimization can handle 2K connection easly. My old server can handle 3,5K-4K with high loads on Apache.
Here is my server configurationufkabakan wrote:Can you post your ATOP SS?
http://sibsoft.net/forum/share-your-atop-ss-t5049.html
How much connection do you have on apache?
QuadCore CPU, 16GB Ram and good optimization can handle 2K connection easly. My old server can handle 3,5K-4K with high loads on Apache.
Dell PowerEdge D6-650 Carbon-Neutral Server
CentOS Linux 6.x
Control Panel: Cpanel
CPU: 2 x Intel(R) Xeon(R) CPU X5650 @ 2.67GHz
Memory: 64GB DDR3 ECC Memory
Hard Disk Configuration: 8 x 2TB SAS 7,200 RPM
Raid: H700 Raid Controller with BBU - Raid 10
Dedicated Bandwidth: 10Gbps
And here is what you were looking for
http://i46.tinypic.com/5xls9s.jpg
I'm currently using litespeed BUT if i switch to apache it would only work for about 10 minute and then server would be un-accessible!
Is it possible to download the files from port 8080 and use apache as default?? if yes can you send me a picture of the settings i would have to do in server configuration in XFS??nyan wrote:In Edit File Server menu
Just put cgi-bin on port 8080 with apache and files url on port 80 with nginx or litespeed
Be sure to block cgi-bin on litespeed!
PS - Looking at hipfile.com it seems like it is possible, i just dont know how
ye sure, that's how i run my stuff (apache on port 80 for premium dls and uploads and higher priority packets via iptables, nginx on port 81 for regular downloads)
http://snag.gy/KFiFs.jpg
I run an older version, but it's probably the same.
http://snag.gy/KFiFs.jpg
I run an older version, but it's probably the same.
Can you paste/share your nginx.conf file in here?nyan wrote:ye sure, that's how i run my stuff (apache on port 80 for premium dls and uploads and higher priority packets via iptables, nginx on port 81 for regular downloads)
http://snag.gy/KFiFs.jpg
I run an older version, but it's probably the same.
This is for 100mbit server nginx 1.3ufkabakan wrote:Can you paste/share your nginx.conf file in here?nyan wrote:ye sure, that's how i run my stuff (apache on port 80 for premium dls and uploads and higher priority packets via iptables, nginx on port 81 for regular downloads)
http://snag.gy/KFiFs.jpg
I run an older version, but it's probably the same.
Code: Select all
user www-data;
worker_processes 4;
#number of cpu cores
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
#pid logs/nginx.pid;
events {
worker_connections 512;
#you can go up to 1500 per worker probably
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 35;
limit_conn_zone $binary_remote_addr zone=zone_name:10m;
limit_rate_after 66m;
limit_rate 777k;
#limit free users to 777 kbyte/sec
server {
listen 81;
server_name localhost;
access_log off;
error_log off crit; #doesn't actually work
location /cgi-bin/ {
deny all;
# return 404; (<nginx 1.0)
}
#premium stuff
location /files2/ {
deny all;
# return 404;
}
location / {
limit_conn zone_name 2;
root /path/to/www;
index index.html index.htm;
}
}
}
-
- Posts: 521
- Joined: Dec 19, 2009 5:12 pm
if you like , i want to take a look at the apache and configure it to handle the needes requests you like to have
but i can not work with nginx so i can not install the mutli part ( i can install apache on port 8080 or any port you like )
i first like to make a deal
if i fail to get it working then you dint lose anyhting
Greetings From PowerChaos
but i can not work with nginx so i can not install the mutli part ( i can install apache on port 8080 or any port you like )
i first like to make a deal
if i fail to get it working then you dint lose anyhting
Greetings From PowerChaos