NYCPHP Meetup

NYPHP.org

[nycphp-talk] Failure to write session data

Jeff Siegel jsiegel1 at optonline.net
Thu Nov 20 23:26:13 EST 2003


Just thought a brief follow-up may be of some interest.
Well, as a result of my brilliant programming skills, the problem has 
been solved! What did I do? I did nothing! The problem, being 
intermittent, has decided - on its own - to go away. This happened 
despite the still high number of daily transactions. Go figure.

Jeff

Hans Zaunere wrote:
> 
> 
> Jeff Siegel wrote:
> 
>> Plenty of disk space and all permissions are set correctly.
>> Let me also add that this seems to be an intermittent problem and not 
>> one that is tied to, say, a browser version issue. It can happen if 
>> someone is using a very old browser version or a new one but it is 
>> *not* easily reproducible in either case.
>>
>> One of the Googled solutions mentioned setting up a new tmp directory. 
>> However, my guess is that the directory would not accomplish anything 
>> (I would think) since all permissions are already set correctly on the 
>> server and there is a lot of disk space.
>>
>> Someone did write (again, this comes from my Googling) that this seems 
>> to happen "under load" though the writer was not particularly helpful 
>> in defining "under load." It should be noted, however, that the server 
>> has DEFINITELY experienced an increase in hits since the average 
>> number of transactions through the site has nearly doubled in the past 
>> two days from approximately 500 per day to a bit over 900 per day. 
>> So...that translates to 900 or so session files per day with the bulk 
>> of them happening between the hours of 6am and 10pm. Just seems like a 
>> lot of session files in a short period of time.
> 
> 
> What's the general number of files in /tmp ?  Are we talking thousands?  
> Might be time to increase the garbage collector frequency; or, upgrade 
> PHP as we had talked about :)
> 
> H
> 
> _______________________________________________
> talk mailing list
> talk at lists.nyphp.org
> http://lists.nyphp.org/mailman/listinfo/talk
> 




More information about the talk mailing list