之前以为是有个did_you_path_math插件的问题,可是停止这个插件后,发现还是会有这些文件出来。

-rw-------    1 nobody   4294967295        0 Jun 20 16:01 sess_l12chvh9bjik2a7ms152ggnu36
-rw------- 1 nobody 4294967295 0 Jun 20 16:00 sess_r6gml3pbcfaribnctamiq9rk53
-rw------- 1 nobody 4294967295 0 Jun 20 16:00 sess_lnvhsb928701qq1kgf1fiiuem5
-rw------- 1 nobody 4294967295 0 Jun 20 16:00 sess_bhlk360m7jqh1c8khku000gte4
-rw------- 1 nobody 4294967295 0 Jun 20 15:58 sess_uuflltlj4c81pk116qtegr15q2
-rw------- 1 nobody 4294967295 0 Jun 20 15:57 sess_6fbdvd4fmq49pp9kvi0g68ihr5
-rw------- 1 nobody 4294967295 0 Jun 20 15:55 sess_s4o0c5untrfj2rpdqemp06lk65
-rw------- 1 nobody 4294967295 0 Jun 20 15:51 sess_9cir4ug259se527d01pcgr63j0
-rw------- 1 nobody 4294967295 0 Jun 20 15:50 sess_kj973ei5sudldg3n9bfq0cgb23
-rw------- 1 nobody 4294967295 0 Jun 20 15:49 sess_7j8h39red2jak1upe1k80c1tt7
-rw------- 1 nobody 4294967295 0 Jun 20 15:45 sess_tnhhikhc2hgui3e9ugh835i0s0
-rw------- 1 nobody 4294967295 0 Jun 20 15:44 sess_mgpr813dtuil5m6u765kbov503
-rw------- 1 nobody 4294967295 0 Jun 20 15:41 sess_8vcse5004pvd2icntct9jgt5m4
-rw------- 1 nobody 4294967295 0 Jun 20 15:39 sess_g2r1hkg2u4o9v0c919nem61724
-rw------- 1 nobody 4294967295 0 Jun 20 15:39 sess_60qoqf65giur2ulj01ce2snal0
-rw------- 1 nobody 4294967295 0 Jun 20 15:38 sess_vier69ckh0dmp9613k0gfm05m3
-rw------- 1 nobody 4294967295 0 Jun 20 15:38 sess_m57eveg1oarv2hheem2nkv45i4
-rw------- 1 nobody 4294967295 0 Jun 20 15:38 sess_hgtktf6eeeghdfm1e7blb1v4a7
-rw------- 1 nobody 4294967295 0 Jun 20 15:38 sess_qko77d166lmadk3gcn4lop7qe1
-rw------- 1 nobody 4294967295 0 Jun 20 15:36 sess_en9v49gnlbmtma56s8tkqpqbc5
-rw------- 1 nobody 4294967295 0 Jun 20 15:32 sess_aeu3nad39iljqr6kahaq7ceih5
-rw------- 1 nobody 4294967295 0 Jun 20 15:31 sess_ulboab1mt4ov930fkllrc6rlt3
-rw------- 1 nobody 4294967295 0 Jun 20 15:31 sess_47on5eflfdfnupdov6a59soui3
-rw------- 1 nobody 4294967295 0 Jun 20 15:31 sess_o98ss7kbp31jce5d2jt133n183
-rw------- 1 nobody 4294967295 0 Jun 20 15:31 sess_p97q0t0qlmtalkbpism7aa7gb6
-rw------- 1 nobody 4294967295 0 Jun 20 15:30 sess_le35e8bodjrlp4ufk33c2k6h62
-rw------- 1 nobody 4294967295 0 Jun 20 15:29 sess_9dlskkqqas3nu7t2asu4ok8ec2
-rw------- 1 nobody 4294967295 0 Jun 20 15:29 sess_a56sha53hr1737nt9rahh2nn02
-rw------- 1 nobody 4294967295 0 Jun 20 15:29 sess_2g2r8j02h4al5rmbb0mnpuu865


 见鬼了,也不知道是怎么回事。google了一下,说修改php.ini的下面几个参数。


; Define the probability that the 'garbage collection' process is started
; on every session initialization.
; The probability is calculated by using gc_probability/gc_divisor,
; e.g. 1/100 means there is a 1% chance that the GC process starts
; on each request.
session.gc_probability = 1
session.gc_divisor = 1000
; After this number of seconds, stored data will be seen as 'garbage' and
; cleaned up by the garbage collection process.
session.gc_maxlifetime = 1440

修改好像也是治标不治本,不知道有没有办法查出来这些文件是怎么会出来的,有时候会一分钟出来好几个这个文件,很烦。