I recently took over hosting and administrating a rather large mediawiki (1.27) installation and it's set up on new hardware and a freshly installed CentOS 7.3.11.
We are running an nginx / php-fpm setup with a MariaDB-Galera database (3 node multi-master-cluster).
Everything works as intended, but our users are complaining about getting logged out every now and then. I can't seem to conclude on how often it happens, but according to some users it happens multiple times during a 30minute timeframe.
Our nginx / php installation is:
I have set session.gc_maxlifetime = 28800 (8 hrs) but that doesn't seem to affect anything.
Our sessions dir is /var/lib/php/session, but MW doesn't create any session files in that folder.
I have run a mockup session creater to see if sessions are working, and they are, but MW doesn't use that folder for some reason.
I've been scratching my head about this and I can't figure out how MW handles sessions and why users keep getting logged out.
The MW installation itself is an rsync-copy of a previous installation that didn't have this issue so I'm guessing it's due to our configuration, but I can't figure out where we've done anything wrong.
Any help would be greatly appreciated!