How to configure the VPL 1.0 module

General configuration

The general configuration setting of the module is at "Site administration -> Modules -> Activities." like any other activity. This configuration provides three types of characteristics: resource limits, servers jail and submission discard period.

Resource limits

The limits set here are applied as a maximum for any VPL. Although an instance of VPL had set a higher threshold applies if the minor. The limits should be chosen in the light of the most extreme case of resource consumption. The limits can be set are:

  • Maximum size of each file upload in submission.
  • Maximum execution time. Applicable to the compilation and execution.
  • Maximum size of an individual file in compilation or execution.
  • Maximum usable memory during compilation or execution.
  • Maximum number of concurrent processes in compilation or execution.


Servers jail

There are two aspects in this section to configure: the list of servers and the proxy ports range. The list of servers is in a text entry with a line for every server. If the line starts with "#" is a comment. The servers are represented by the URL of the XMLRPC service. URLs have the form "http://server_name:port/path. The proxy provides a link between the jail server and the console for the execution of interactive programs in the browser. To establish the link the proxy needs to be able to open two ports. The two ports are selected from the range set. It is necessary that the firewall server allows access to ports in that range.

Discard Period

The system stores all submissions. Submissions are uploaded files or when you click the Save button in the editor. To remove submissions too close in time you can set a discard period. The system will keep the last one and at least one submission in every discard period.