Increase the Web session timeout (MMC / XMLRPC)
Applies to: Medulla – Server
Version: Medulla ≥ 5.2.2
Environment: On-Premise
Category: Web Interface
Issue
Certain time-consuming actions in Medulla may cause:
- MMC disconnections,
- XMLRPC timeout errors,
- session terminations during deployments or remote operations.
In such cases, it is necessary to increase the ` sessiontimeout` values.
1. PHP MMC session timeout
File to modify
On the Medulla server:
/etc/mmc/mmc.ini.local
Parameter to add or modify
[global]
sessiontimeout = 3600
This setting corresponds to the PHP/MMC session timeout.
Values are expressed in seconds.
| Value | Duration |
|---|---|
900 |
15 minutes |
3600 |
1 hour |
7,200 |
2 hours |
2. XMLRPC Session Timeout / Agent
File to modify
On the Medulla server:
/etc/mmc/agent/config.ini.local
Setting to add or modify
[main]
sessiontimeout = 3600
This setting corresponds to the timeout for XMLRPC sessions used by MMC ↔ Agent communications.
Values are expressed in seconds.
| Value | Duration |
|---|---|
900 |
15 minutes |
3600 |
1 hour |
7,200 |
2 hours |
3. Important point
The two values must be consistent with each other:
| Component | File | Session type |
|---|---|---|
| MMC / PHP | /etc/mmc/mmc.ini.local |
PHP Session |
| Agent / XMLRPC | /etc/mmc/agent/config.ini.local |
XMLRPC Session |
4. Default Values
The original files generally use the following values:
sessiontimeout = 7200
or:
sessiontimeout = 900
These values may be insufficient for:
- large deployments,
- long VNC sessions,
- synchronizations,
- prolonged remote operations.