WebSphere

 

Portal Express, Version 6.0
Operating systems: i5/OS, Linux, Windows

 

Increasing the inbound buffer size

Because importing large files into IBM® Workplace Web Content Management™ can have a negative impact on performance, you can set a limit on the size of the inbound buffer used when importing files.

  1. Update the WCMConfigService.properties file to specify the maximum file size. File location:

    1. Ensure that the resource.maxUploadSize property is uncommented, and specify a value in megabytes corresponding to the size of the largest file that you want to allow to be imported. For example, if you do not want to allow files larger than 34 MB to be imported, you would specify this.

      resource.maxUploadSize=34

    2. Save your changes.

  2. Log in to the administrative console for IBM WebSphere® Application Server, and click Servers > Application Servers > portal_server->Server infrastructure -> Administration -> Custom Properties.

  3. Add the protocol_http_large_data_inbound_buffer property.

    1. Click New.

    2. Enter protocol_http_large_data_inbound_buffer in the Name field.

    3. In the Value field, specify the maximum file size in bytes. This value should correspond to the value you set for the resource.maxUploadSize property in the WCMConfigService.properties file.

      Note that the protocol_http_large_data_inbound_buffer property uses bytes. So if you specified a value of 34 MB for the resource.maxUploadSize property, you would specify a value of 34000 bytes for the protocol_http_large_data_inbound_buffer property.

  4. Click Save to save your configuration changes.

  5. Restart the portal for the new buffer size setting to take effect.

 

Parent topic:

Configuring Web Content Management