Interactive program keeps timing out

We want to make a great tool, help reporting any malfunction you experience
Post Reply
artbar@mailinator.com
Posts: 4
Joined: Sat Sep 29, 2018 3:34 am

Interactive program keeps timing out

Post by artbar@mailinator.com » Fri Oct 05, 2018 3:34 am

Hi!

I have noticed that running programs get killed after around a minute (or less) of usage or idleness (both on old and new Browxy). It is quite annoying in interactive programs (using the Scanner class on Java), since interactive programs need plenty of time for the user to type and program to run.

Also, the new Browxy (Beta) is much slower in running than the old one. Some calculations that take only a few seconds on the old Browxy time out (get killed) after a minute on the new Browxy.

Do you know what is the issue behind these two problems and can they be fixed? If you need more details about the issues, I'll be glad to give them.

Kind regards

dbremmen@gmail.com
Posts: 63
Joined: Sun Jan 07, 2018 6:30 pm

Re: Interactive program keeps timing out

Post by dbremmen@gmail.com » Mon Oct 08, 2018 4:15 pm

Hi!
We've a limit of 60 seconds to run programs for resource reasons. We are thinking about adding a configuration in the project properties to extend it to 5 minutes. Do you think ithat 5 minutes is enough time for the kind of programs that you'll run?

Thanks for the feedback!
Regards
David

artbar@mailinator.com
Posts: 4
Joined: Sat Sep 29, 2018 3:34 am

Re: Interactive program keeps timing out

Post by artbar@mailinator.com » Mon Oct 15, 2018 12:48 am

Hi! Yes, 5 minutes should be enough for my interactive program in most cases. Any less would be pretty tight time wise for the user though, so if possible resource-wise, 10 minutes would plenty and safe from timing out from a user point of view. I understand your limitations though.

There is still the weird issue with timing out even before 1 minute has been up. Sometimes it times out after just a few seconds, at least after the program has been killed once due to timing out and then the program is started again, it might time out at any time between 0-60 seconds.

Thanks for the reply.

dbremmen@gmail.com
Posts: 63
Joined: Sun Jan 07, 2018 6:30 pm

Re: Interactive program keeps timing out

Post by dbremmen@gmail.com » Tue Oct 16, 2018 3:04 pm

Great, we will add this feature in the next release (to set the timeout of the program). And also check the kill before 1 minute issue you've mentioned.
Please be patient because we are working in a big release that will include a lot of new features such as
- Run programs with Maven
- Multiple Outputs: (Image, Sound, Video, etc)
- Multiple Inputs: When creating the publish UI you will be able to add (listboxes, checkboxes,files, etc)
- Code Library: Enhancement of published code searchable by category, tags, user, etc

Thank you for reporting issues!
Regards
David

artbar@mailinator.com
Posts: 4
Joined: Sat Sep 29, 2018 3:34 am

Re: Interactive program keeps timing out

Post by artbar@mailinator.com » Sun Oct 28, 2018 1:18 am

That's great. Any idea when you'll bring the update?

dbremmen@gmail.com
Posts: 63
Joined: Sun Jan 07, 2018 6:30 pm

Re: Interactive program keeps timing out

Post by dbremmen@gmail.com » Fri Jan 04, 2019 10:43 pm

Hi!

We released the new version with the timeout feature. Please check it out and if you like provide feedback

Regards!
David

Post Reply