How to resolve an "Internal Server Error XDMP-LEXVAL: ss:request-rate" exception
06 July 2016 06:48 PM
For hosts that don't use a standard US locale (en_US) there are instances where some lower level calls will return data that cannot be parsed by MarkLogic Server. An example of this is shown with a host configured with a different locale when making a call to the Cluster Status page (cluster-status.xqy):
The problem you have encountered is a known issue: MarkLogic Server uses a call to strtof() to parse the values as floats:
Unfortunately, this uses a locale-specific decimal point. The issue in this environment is likely due to the Operating System using a numeric locale where the decimal point is a comma, rather then a period.
Resolving the issue
The workaround for this is as follows:
1. Create a file called /etc/marklogic.conf (unless one already exists)
2. Add the following line to /etc/marklogic.conf:
After this is done, you can restart the MarkLogic process so the change is detected and try to access the cluster status again.