Cause Analysis of Works During the Linux Server of Linux During the Logging User

xiaoxiao2021-03-06  51

When the Works program is running on my machine, I have never been kicked out, but the same program is passed to the company's Linux server.

It will not take long before it will be kicked out (about 20 minutes).

This seems not to be a procedure, should have a relationship with the system setting (PHP), and then I covered the servers on my own machine, and the problem is still.

This should be inferred that there is no relationship with the php.ini setting. Where is the problem?

Later, I saw the configuration of the session in php.ini.

I found a session.gc_maxlifetime = 1440 (24min), I tried it to be 86400 (24Hours), and the company's Works actually did not kicked out one day.

It seems that the problem is here, but why didn't I change it in this machine?

The reason should be: The GC function of the session above Windows is not easy to use, that is, the expiration file below the session_tmp folder is not recycled. This function is available in Linux, so there is a strange phenomenon.

(Note: 1. Problem is purely guess, if there is a mistake, it should not be responsible

2. Works is the internal management system of the B / S architecture written by our company

)

转载请注明原文地址:https://www.9cbs.com/read-91142.html

New Post(0)