Bug 761779 (GLUSTER-47) - glusterfs-2.0.0_rc4 + php session files = frozen apache
Summary: glusterfs-2.0.0_rc4 + php session files = frozen apache
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-47
Product: GlusterFS
Classification: Community
Component: core
Version: mainline
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Anand Avati
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-06-24 09:54 UTC by Basavanagowda Kanur
Modified: 2015-09-01 23:04 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

Description Basavanagowda Kanur 2009-06-24 09:54:32 UTC
[Migrated from savannah BTS] - bug 25873 [https://savannah.nongnu.org/bugs/?25873]

Sun 15 Mar 2009 09:06:37 AM GMT, original submission:

I recently upgraded from glusterfs-2.0.0_rc2 to glusterfs-2.0.0_rc4 and found a bug with session files being shared on the glusterfs filesystem. It seems to be a locking issue as the apache process that is running php becomes a zombie process even after shutting down apache completely and does not die until glusterfs is stopped. My setup is a simple 2 node replicated share. The problem is easily duplicated. Steps to produce:

1. Configure your php.ini file to save sessions to a glusterfs file system.

2. Make a simple script that starts a session: e.g.: <?php session_start(); ?>

3. Run the script. The first time it will succeed and create the session file. Any future attempts will cause the process to hang.

I've reverted back to glusterfs-2.0.0_rc2 and am running shared sessions without issues, so it must've been a change between rc2 and rc4 that is causing this to occur.


Note You need to log in before you can comment on or make changes to this bug.