Re: sessions on gluster volume

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx> 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@xxxxxxxxxx
http://lists.nongnu.org/mailman/listinfo/gluster-devel



_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxx
http://lists.nongnu.org/mailman/listinfo/gluster-devel







[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux