Community discussions

MikroTik App
 
User avatar
ViREnG
Member Candidate
Member Candidate
Topic Author
Posts: 229
Joined: Tue Aug 11, 2009 4:01 pm
Location: Boryspil

Queue problem on data-rate of local servers

Wed Oct 01, 2014 10:37 pm

hello friends

What I have : :)
I have a web-server on our local office , with a simple queue on 20Mb max limit .
I have a user named as test with a 4.5Mb max-limit .
other users may have different max-limit .

I want my users can download/upload with their max-limit and web-server can service with maximum 20Mbps .

What's the problem:
If simple queue is disabled for web-server , all is ok , users can download with their max-limit speed and web-server can provide as self 20Mbps max-limit .
BUT :
If I enable the simple queue on web-server , users can download more than their max-limit and mikrotik don't show traffic on queue or web-server .

What I want ? :
I want web-server have a queue that have a max-limit and can collect traffic/graph as queue and users can download/upload with their max-limit .

Image for more info :
queue.jpg
Configurations :
Webserver queue :
name="queue1" target=159.239.30.21/32 parent=none packet-marks="" priority=8/8 queue=default/default limit-at=0/0 max-limit=20M/20M 
      burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s 
PPPoE clients queue :
name="<pppoe-test2>" target=<pppoe-test2> parent=none packet-marks="" priority=7/7 
      queue=default-small/default-small limit-at=160k/640k max-limit=4500k/4500k burst-limit=0/5M burst-threshold=0/5120k 
      burst-time=0s/16s 
Queue types :
[admin@CORE] /queue type> print detail
Flags: * - default 
* name="default" kind=pfifo pfifo-limit=50 
* name="default-small" kind=pfifo pfifo-limit=20 
how can I fix it ?
You do not have the required permissions to view the files attached to this post.
Last edited by ViREnG on Sun Oct 19, 2014 11:32 am, edited 1 time in total.
 
User avatar
ViREnG
Member Candidate
Member Candidate
Topic Author
Posts: 229
Joined: Tue Aug 11, 2009 4:01 pm
Location: Boryspil

Re: Queue problem on data-rate of local servers

Thu Oct 02, 2014 7:46 am

My Router : CCR1016
RouterOS : 6.19
 
User avatar
ViREnG
Member Candidate
Member Candidate
Topic Author
Posts: 229
Joined: Tue Aug 11, 2009 4:01 pm
Location: Boryspil

Re: Queue problem on data-rate of local servers

Thu Oct 02, 2014 5:41 pm

anybody know ?
 
User avatar
ViREnG
Member Candidate
Member Candidate
Topic Author
Posts: 229
Joined: Tue Aug 11, 2009 4:01 pm
Location: Boryspil

Re: Queue problem on data-rate of local servers

Wed Oct 08, 2014 10:37 am

no anyone know ? :shock:
 
User avatar
ViREnG
Member Candidate
Member Candidate
Topic Author
Posts: 229
Joined: Tue Aug 11, 2009 4:01 pm
Location: Boryspil

Re: Queue problem on data-rate of local servers

Sun Oct 12, 2014 8:16 am

#BUMP ... :wink:
 
User avatar
ViREnG
Member Candidate
Member Candidate
Topic Author
Posts: 229
Joined: Tue Aug 11, 2009 4:01 pm
Location: Boryspil

Re: Queue problem on data-rate of local servers

Wed Oct 15, 2014 9:21 am

8) I found a hard question :wink: , no one know !!
 
User avatar
ViREnG
Member Candidate
Member Candidate
Topic Author
Posts: 229
Joined: Tue Aug 11, 2009 4:01 pm
Location: Boryspil

Re: Queue problem on data-rate of local servers

Sat Oct 18, 2014 7:58 am

I make a invisible question :)
 
User avatar
Caci99
Forum Guru
Forum Guru
Posts: 1075
Joined: Wed Feb 21, 2007 2:26 pm
Location: Tirane
Contact:

Re: Queue problem on data-rate of local servers

Sat Oct 18, 2014 2:23 pm

You better post your simple queues, to see how are those configured. I don't think any one can understand what is going on without having a look at the configuration involved.
 
User avatar
ViREnG
Member Candidate
Member Candidate
Topic Author
Posts: 229
Joined: Tue Aug 11, 2009 4:01 pm
Location: Boryspil

Re: Queue problem on data-rate of local servers

Sun Oct 19, 2014 8:15 am

Oh :o I forget . (thank you caci9)
Configurations added to first post .
 
User avatar
bajodel
Long time Member
Long time Member
Posts: 551
Joined: Sun Nov 24, 2013 8:30 am
Location: Italy

Re: Queue problem on data-rate of local servers

Mon Oct 20, 2014 9:51 am

Looks like your users are using your web server (if it's on other subnet), but probably this is not your scenario.
Wich is the queue order, ppoe user than web srv ?
 
User avatar
Caci99
Forum Guru
Forum Guru
Posts: 1075
Joined: Wed Feb 21, 2007 2:26 pm
Location: Tirane
Contact:

Re: Queue problem on data-rate of local servers

Mon Oct 20, 2014 1:45 pm

It is still a bit of guess as the picture is not full yet, but if the client is downloading more than its queue, it means that part of traffic from the client is captured by the queue of the webserver which is first in order.
Simple queues are executed in their order, once the traffic is captured by the first queue it matches, then that queue is applied and no further actions are taken by the coming queues in order.
For example, if I want to limit IP=192.168.1.2 with 4Mbps, but I have these simple queues:
/queue simple
name="queue4" target=192.168.1.0/24 parent=none packet-marks="" priority=8/8 
      queue=default-small/default-small limit-at=0/0 max-limit=10M/10M burst-limit=0/0 
      burst-threshold=0/0 burst-time=0s/0s 
name="queue5" target=192.168.1.2/32 parent=none packet-marks="" priority=8/8 
      queue=default-small/default-small limit-at=0/0 max-limit=4M/4M burst-limit=0/0 
      burst-threshold=0/0 burst-time=0s/0s 
the router will apply the queue with 10Mbps because traffic from 192.168.1.2 matches the criteria specified in target=192.168.1.0/24, and will not proceed it any further to the next queue.

Who is online

Users browsing this forum: No registered users and 36 guests