[Gluster-devel] sessions on gluster volume
Matt Paine
matt at mattsoftware.com
Mon Apr 23 23:34:53 UTC 2007
> Hi Pooya,
>
> I am not able to guess what might be happening..
> Can you give us the spec files. Did you try to do any
> debugging, at what point the glusterfs hangs etc?
> Putting debug/trace translator at right points will
> give you clues.
>
> Thanks
> Krishna
I might be able to guess at locking issues - PHP locks session files
during access, and removes the lock once the request has finished. How
well does gluster handle locking ?
Matt.
>
> On 4/21/07, Pooya Woodcock <pooya at packetcloud.net> wrote:
>
>> In my php.ini, session.save_path is set to /GLUSTER/php_sessions . /
>> GLUSTER is a unified, afr'ed mount point.
>>
>> The app worked fine using the glusterfsd-1.3-pre2.3 release. After
>> upgrading to the latest mainline tla as of 15 minutes ago, everytime
>> we run a php script that tries to save a session, the script hangs.
>> If we set the save path to /tmp, the code runs fine. I understand I
>> can use a DB for sessions, but do you have any ideas on this one?
>>
>> for example, this hangs:
>> # cat test2.php
>> <?
>> session_start();
>> print "hello world";
>> ?>
>>
>>
>> but with session.save_path=/tmp , the above succeeds without hanging.
>> Other than this, the gluster volume looks healthy to me.
>>
>> -Pooya
>>
>>
>>
>>
>> _______________________________________________
>> Gluster-devel mailing list
>> Gluster-devel at nongnu.org
>> http://lists.nongnu.org/mailman/listinfo/gluster-devel
>>
>
>
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at nongnu.org
> http://lists.nongnu.org/mailman/listinfo/gluster-devel
>
More information about the Gluster-devel
mailing list