Hi all,

we have come across an issue which we believe might be related to locking when storing PHP session data on an NFS share. To test the problem we have written a very simple PHP script which basically just calls session_start() with session.save_path set to the mounted NFS share. Running this script from multiple tabs in firefox we find that the first two sessions start fine but subsequent sessions start 30 seconds apart. If we run the same test on a RHEL 4 box with the same NFS share mounted then all sessions start simultaneously. This only happens when the session.save_path is on an NFS share - local file system works fine.

We are mounting the NFS share using exactly the same parameters on both RHEL 5 and RHEL 4 clients, i.e. rw,hard,intr,noatime,nodiratime

We believe that this might be due to the NFS client somehow missing the notification that a locked file has been released - this would fit the 30 second delays that we are seeing. Are there some subtle differences between RHEL 4 and RHEL 5 NFS clients that could be causing this?

Thanks in advance,

--
Mike Zanker

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to