QUEUELIBING: model error job arrived while already servicing one

45 views
Skip to first unread message

Paolo Fattoruso

unread,
Apr 8, 2015, 4:22:39 AM4/8/15
to omn...@googlegroups.com
I'm using queuelibing. I am attaching the error from the server the parameters of the file ini.
solutions???
PF
error.png
ini.png

Rudolf Hornig

unread,
Apr 8, 2015, 7:14:18 AM4/8/15
to omn...@googlegroups.com
This is definitely an error in the model (code). Please try to ZIP the whole project (sources only) that can reproduce the issue.

Paolo

unread,
Apr 8, 2015, 8:45:45 AM4/8/15
to omn...@googlegroups.com
rudolf hello thanks for the reply. 
I am attaching the file.
The problem is increasing the number of sources.
The warning is from line 70 of file server.cc (contained in queueinglib)
In the examples of Omnet (queuenet) the error does not occur because you are using an interarrival time of the sources of exponential type.
I hope for a solution.
PF
erroromnet.zip

Rudolf Hornig

unread,
Apr 9, 2015, 9:31:32 AM4/9/15
to omn...@googlegroups.com
Thanks for the example. Indeed this was a race condition. Attached a patch fixing this against omnet++ 4.6
Rudolf
queueinglib-racecondition.patch

daniel....@philips.com

unread,
May 20, 2016, 10:58:13 AM5/20/16
to OMNeT++ Users
Ran into the same problem with omnet++ 5.0
Does not seem to be patched 

Rudolf Hornig

unread,
May 23, 2016, 5:13:54 AM5/23/16
to OMNeT++ Users
Oh indeed... :(

It did not make its way into the 5.0 branch. Just added it to the master branch so it will appear in the next version. Until then I have attached a patch that applies to the 5.0 version.
queueinglib-5-racecondition.patch
Reply all
Reply to author
Forward
0 new messages