Bug 761779 (GLUSTER-47)

Summary: glusterfs-2.0.0_rc4 + php session files = frozen apache
Product: [Community] GlusterFS Reporter: Basavanagowda Kanur <gowda>
Component: coreAssignee: Anand Avati <aavati>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: mainlineCC: chrisw, gluster-bugs, gowda
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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.