Hello,
I wish to limit the bandwidth like this
1) Limit 64000 by user for objects more big than 30 ko
2) Limit global bandwidth to 1625000 - 13MB -
I tried this configuration
acl myusers src 10.0.0.0/8
acl proto-pool port 80 81 21
delay_pools 2
delay_class 1 2
delay_parameters 1 -1/-1 64000/30000
delay_class 2 1
delay_parameters 2 1625000/1625000
delay_access 1 deny CONNECT
delay_access 1 allow myusers
delay_access 1 deny all
delay_access 2 allow proto-pool
delay_access 2 deny all
squidclient
Class: 2
Aggregate:
Disabled.
Individual:
Max: 30000
Restore: 64000
Current: 52:30000 146:30000 168:30000 196:21312 172:30000 113:24270 86:30000 104:30000 120:30000 23:30000 157:30000 213:30000 77:30000 60:30000 124:30000 8:30000 21:-44294 80:30000 15:30000 20:30000 17:30000 3:30000 198:30000 30:25129 59:7438 32:30000 101:30000 117:30000 47:30000 76:30000 209:30000 82:30000 103:30000 24:30000 41:30000 62:30000 173:30000 167:30000 39:30000 108:30000 68:30000 116:30000 31:29246 14:30000 178:30000 226:30000 137:30000 10:30000 144:30000 13:-25051 93:30000 73:30000 12:30000 6:-119089 151:30000 129:5325 230:30000 87:30000 44:30000 11:30000 194:30000 106:30000 161:30000 64:30000 239:30000 36:-1857520 126:30000 112:30000 141:30000 133:30000 181:30000 96:30000 34:30000 45:30000 22:30000 92:30000 247:30000 123:-89885 38:-42914 169:30000 132:30000 237:30000 9:30000 4:-4685 35:30000 131:30000 149:30000 98:30000 197:30000 140:30000 102:30000 223:30000 142:30000 37:28521 233:30000 202:30000 231:30000 122:30000 147:30000 99:30000 208:30000 69:30000 48:30000 79:-142270 71:30000 241:30000 7:30000 174:30000 100:-31920 188:30000 159:29608 54:30000 29:30000 16:30000 43:30000 70:30000 78:30000 166:30000 134:30000 250:30000 125:30000 191:30000 114:30000 183:30000 50:30000 28:30000 57:30000 155:30000 217:30000 207:30000 49:30000 46:30000 26:29750 51:30000 109:30000 162:30000 199:30000 160:30000 224:30000 1:30000 85:30000 229:8202 246:30000 18:30000 203:30000 193:30000 89:30000 81:30000 153:30000 221:30000 150:30000 228:30000 111:30000 135:30000 145:-5247 220:30000 110:30000 27:30000 33:30000 234:30000 192:30000 152:30000 225:30000 25:30000 171:-37271 88:30000 107:30000 219:30000 185:30000 156:30000 90:30000 97:30000 165:30000 84:-457233 5:29203 40:30000 186:30000 19:30000 67:30000 72:30000 83:30000 143:30000 121:30000 163:30000 200:30000 65:30000 55:30000 95:30000 94:30000 227:30000 248:30000 154:30000 187:30000 139:30000 245:30000 53:30000 189:30000 75:30000 58:30000 211:30000 130:-15247 204:30000 138:30000 205:30000 136:30000 242:30000 105:30000 42:30000 164:30000 119:30000 214:7549 118:28257 254:30000 56:30000 2:30000 232:30000 170:30000 216:30000 235:30000 128:30000 61:30000 148:30000 127:30000 176:30000 74:13645 177:30000 115:30000 180:30000 190:30000 206:30000 222:30000 63:30000 255:30000 91:29785 175:30000 184:30000 201:25313
Memory Used: 80928 bytes
First problem, as you can see class 2 doesn't works - Aggregate Disabled -
And second problem
When I tried with only class 2 -> no problem
when I tried with only class 1 -> Surf is very very slow, even with a light page like google
Have you any ideas ?
Thanks,
Received on Tue Dec 13 2011 - 13:13:00 MST
This archive was generated by hypermail 2.2.0 : Wed Dec 14 2011 - 12:00:03 MST