Page tree
Skip to end of metadata
Go to start of metadata

Question

How can I optimize my On Premise Unanet system to plan/assign many projects and people in one grid?

Solution

Unanet allows you to plan/assign multiple people against multiple projects in one grid display. If you are using many projects and many people in one grid display, you may experience less than optimal browser and system performance. This can be addressed: There is a threshold of projects/tasks available in the planning / assigning functionality. To increase the threshold you will want to change the maximum parameter count which would allow you to use a larger grid. This is done by editing the Tomcat server.xml file located at \tomcatX\conf; X being the version of tomcat.


On the Unanet server, in the Tomcat home directory there is a conf (config) folder, backup then edit the server.xml file. You may have a statement there that contains ‘maxParameterCount’; if it is not there, then the default is 10000. Note that by default the “maxParameterCount” line is not included in the Tomcat server.xml file. You will need to manually add it to the file in between (see below). You can increase that number, but it is designed to prevent DDOS attacks on the website – so increasing it reduces the ‘protection’. We have set it to 40000 on our hosted Unanet websites. Restart your Tomcat as a Windows service after making the change. If you have a test instance of Unanet set up, it would be best to test this change there first.

Also note that this value does not correspond directly to the number of rows or cells on the grid – the fact is that there are many fields that must be included for each visible cell on a grid. This is not a constant number and depends on the criteria as well as system configurations. 

The line in the server.xml will look similar to this:


<!— commented out lines -->

<Connector port="8080" protocol="HTTP/1.1"

connectionTimeout="20000"

maxParameterCount="40000"

redirectPort="8443" />

<!—commented out lines -->


Note that by default the “maxParameterCount” line is not included in the Tomcat server.xml file. You will need to manually add it to the file in between the following lines:


<Connector port="8080" protocol="HTTP/1.1"

connectionTimeout="20000"


and

 redirectPort="8443" />


  • No labels