Portal Home > Knowledgebase > Articles Database > how limit user the number of connection


how limit user the number of connection




Posted by mixmox, 08-09-2013, 03:04 AM
hello there are near 40 GB file store on our server on .zip format and 12 website hosted on server centos + cpanel 8GB ram some of our visitor try to download several files at the same time, some of them use IDM ORBIT and other download manager software so the heavy load near 30-40 occurred several times per day server stop working and then apache start how can i limit the visitor to download 1 file or 2 on same time

Posted by QuickClickHosting, 08-09-2013, 03:30 AM
We use CSF, but other options are available like CloudLinux.

Posted by mixmox, 08-09-2013, 04:49 AM
CSF? which option can limit connection ?

Posted by QuickClickHosting, 08-09-2013, 04:52 AM
Top of my head CONNLIMIT. Let me find out exactly..

Posted by QuickClickHosting, 08-09-2013, 04:54 AM
Yep, we have it set to: CONNLIMIT = "80;20"

Posted by QuickClickHosting, 08-09-2013, 04:54 AM
That equates to a limit of 20 connections per IP for port 80.

Posted by mixmox, 08-09-2013, 06:33 AM
thi is for web page ? how about download with idm? download software has been break files to several part and then download them when i set that value to 20, it means only 20 part can download ?

Posted by QuickClickHosting, 08-09-2013, 06:37 AM
That setting would limit port 80. So yes, Even if they are using IDM to download, they would be limited to 20 connections. Not sure sure how user friendly that would be, you would have to test that for yourself..



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Reseller of a Reseller (Views: 656)
Promoting Site (Views: 625)
Calhost.com? (Views: 645)

Language: