Moodle

NFS mounted moodledata breaks Search Engine indexer (clustered moodles)

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 2.0
  • Fix Version/s: None
  • Component/s: Global search
  • Labels:
    None
  • Database:
    Any
  • Affected Branches:
    MOODLE_20_STABLE

Description

When using moodle on a clustered system that shares moodledata repositories on an NFS mounted volume, the Global Search indexer cannot run because invoking the system level flock() primitive in Lucene.

flock() is known not running on NFS distributed file systems.

We need a turn around for this, as Global Search becomes really usefull on large scale systems that are likely to use a remote shared filesystem.

Fixing this is somewhat tricky as :

  • fixing it from at underlying file system level seems not being affordable
  • fixing it at PHP level seems not being affordable either, because would need a php library fix or turnaround.
  • fixing it in Lucene seems being the only way to have a turnaround, but this will break the standardization of the distribution.

An advice would be welcome to determine the nicest strategy here.

Thanks.

Activity

Hide
Phil Hart added a comment -

Also seems to affect version 1.9.7. (My web host reports seeing this issue on my Moodle processes in his servers.) As I write, I just got this:

The server encountered an internal error and was unable to complete your request.

Error message:
Premature end of script headers: settings.php

Show
Phil Hart added a comment - Also seems to affect version 1.9.7. (My web host reports seeing this issue on my Moodle processes in his servers.) As I write, I just got this:
The server encountered an internal error and was unable to complete your request. Error message: Premature end of script headers: settings.php

People

Vote (1)
Watch (1)

Dates

  • Created:
    Updated: