[Bug 26360] Disabling sessions in memcached produces open() error
https://bugzilla.wikimedia.org/show_bug.cgi?id=26360 Brion Vibber changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #8 from Brion Vibber 2011-07-16 18:02:43 UTC --- Chad's r92124 should resolve this for trunk/1.19, so going ahead and closing as fixed. Note that r49370 didn't actually cause the issue; it just maintained the same behavior we previously had as the default case, while allowing it to be overridden. Changing the behavior to leave the site's existing PHP config as-is by default does seem like the right thing, and I don't think we had a _really_ good reason for overriding it in the first place (IIRC there were originally reports of things getting left with another app's 'user' setting in place or something, which is probably super-obsolete). -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 26360] Disabling sessions in memcached produces open() error
https://bugzilla.wikimedia.org/show_bug.cgi?id=26360 --- Comment #7 from Chad H. 2011-01-29 15:50:30 UTC --- I hadn't touched it since my comment above taking blame :) -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 26360] Disabling sessions in memcached produces open() error
https://bugzilla.wikimedia.org/show_bug.cgi?id=26360 Mark A. Hershberger changed: What|Removed |Added CC||m...@everybody.org --- Comment #6 from Mark A. Hershberger 2011-01-29 14:17:23 UTC --- Chad, is this fixed now? -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 26360] Disabling sessions in memcached produces open() error
https://bugzilla.wikimedia.org/show_bug.cgi?id=26360 --- Comment #5 from Chad H. 2010-12-27 13:46:02 UTC --- Looks like my fault from bug 11613 / bug 11381 (r49370). -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 26360] Disabling sessions in memcached produces open() error
https://bugzilla.wikimedia.org/show_bug.cgi?id=26360 --- Comment #4 from Brion Vibber 2010-12-27 02:03:48 UTC --- It kind of looks to me like this error might be coming from PHP's memcached module's session handler, not from MediaWiki's: http://www.php.net/manual/en/memcached.sessions.php When using the session handler provided by PHP's memcached module, you basically set a few settings in your php.ini: session.handler = memcache session.save_path = tcp://127.0.0.1:11211 With $wgSessionsInMemcached *enabled*, MediaWiki takes over the session handler settings completely, overriding whatever's configured. But with it *disabled* (as default), MediaWiki will override session.save_handler to whatever's set in $wgSessionHandler unless it's null. By default, $wgSessionHandler is set to "files" -- which is normally the default session handler on most PHP setups. As a result, MediaWiki is changing your session settings *FROM* the PHP memcached module *TO* files, which gets very confused with a session path that's set to "tcp://blah". :) Really we probably should *not* be messing with the session handler settings unless we're taking them over entirely. I think we initialized it to files back in the day because there were a lot of bizarrely broken shared hosting systems out there that basically just had totally broken session stuff, but that might have just been a voodoo fix. There are probably a few other old bug reports on the subject of the session handlers being overridden. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 26360] Disabling sessions in memcached produces open() error
https://bugzilla.wikimedia.org/show_bug.cgi?id=26360 --- Comment #3 from EugeneKay 2010-12-21 00:43:26 UTC --- I think this is because $wgMainCacheType is set to CACHE_MEMCACHED, so session data is attempted to be stored there, but with $wgSessionsInMemcached set to false, it is prevented from doing so. Why this produces a Warning from open(), I haven't a clue. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 26360] Disabling sessions in memcached produces open() error
https://bugzilla.wikimedia.org/show_bug.cgi?id=26360 Roan Kattouw changed: What|Removed |Added CC||roan.katt...@gmail.com Component|Installation|General/Unknown Version|wikimedia-deployment|1.18-svn Summary|Installer does not |Disabling sessions in |configure Memcached |memcached produces open() |correctly |error --- Comment #2 from Roan Kattouw 2010-12-21 00:39:14 UTC --- (In reply to comment #1) > The installer should be made to set > $wgSessionsInMemcached=true; by default, No it shouldn't, because most people don't want sessions in memcached. > or the variable eliminated > entirely(and the code for Session storage location reworked). > Nor that, because we want people to be able to put their sessions someplace other than memcached. It's also very strange that /disabling/ sessions in memcached should result in the warning you mention; it looks like that's what you'd get after /enabling/ it. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l