session_start seems to be very slow (but only sometimes)

前端 未结 6 1505
暗喜
暗喜 2020-12-05 10:23

For some odd reason, just today our server decided to be very slow during the starting of sessions. For every session_start, the server either times out after 30 seconds, or

6条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-05 10:31

    Each session is stored by apache as a text file.

    When session start is use to resume an existing session (via cookie identifier for example) maybe a big session file (a Session with a lot of content inside) can be slow to be started?

    If this is the case probably you application is putting to much data into sessions.

提交回复
热议问题