We're updating the issue view to help you get more done. 

Web content disappears after 10 days (of inactivity?)

Description

Openfire uses an embedded Jetty web server (version 9.2.14 at the time of writing). In its operation, Jetty places some files in the designated 'tmp' folder of the operating system. Expanded war files appear to go here, for example.

Some operating systems periodically purge their 'tmp' folder, which can remove the files needed by Jetty.

We've observed that an Openfire Meetings instance becomes unreachable after 10 days on a specific Amazon AMI based server (which used tmpwatch to remove files after 10 days of inactivity).

A way should be found in which resources served by Jetty remain available indefinitely.

Environment

None

Acceptance Test - Entry

None

Activity

Show:
Guus der Kinderen
October 5, 2018, 8:50 AM

This issue was tracked down to a Linux utility called tmpwatch, that is active by default in some Linux distributions. In its default configuration, it deletes content from the temporary directory 10 days after it was accessed last.

We've discussed two solutions:

  1. Configure Jetty to use a different directory to store its temporary files.

  2. Periodically iterate over all Jetty-generated temporary files, and reset they last modification date (mimicking the 'touch' command).

Assignee

Dave Cridland

Reporter

Guus der Kinderen

Labels

None

Expected Effort

None

Ignite Forum URL

None

Fix versions

Priority

Minor
Configure