[Bug 35580] ProfilerSimpleUDP does not check for function_exists( 'socket_create' )

2012-03-29 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=35580

Sam Reed (reedy) s...@reedyboy.net changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WORKSFORME

--- Comment #1 from Sam Reed (reedy) s...@reedyboy.net 2012-03-29 12:40:13 
UTC ---
This is fixed for 1.19, and as such is fixed in 1.19wmf1

Note, using the wmf branches for other sites is generally not recommended due
to site specific hacks that go into it.


http://svn.wikimedia.org/viewvc/mediawiki/branches/REL1_18/phase3/includes/profiler/ProfilerSimpleUDP.php?view=markup#l23

http://svn.wikimedia.org/viewvc/mediawiki/branches/REL1_19/phase3/includes/profiler/ProfilerSimpleUDP.php?view=markup#l23

http://svn.wikimedia.org/viewvc/mediawiki/branches/wmf/1.18wmf1/includes/profiler/ProfilerSimpleUDP.php?view=annotate#l23

http://svn.wikimedia.org/viewvc/mediawiki/branches/wmf/1.19wmf1/includes/profiler/ProfilerSimpleUDP.php?view=annotate#l23

-- 
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 35580] ProfilerSimpleUDP does not check for function_exists( 'socket_create' )

2012-03-29 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=35580

--- Comment #2 from Dmitriy Sintsov ques...@rambler.ru 2012-03-29 18:06:14 
UTC ---
The customer is using 1.18wmf1 for their hosting that's why I am using it as
well.
Although I'd like to move my own farm from usual set of setup-generated
LocalSettings.php to nested array of $wgConf in the future.

I never compared 1.18 and 1.18wmf1, that would be interesting.

-- 
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 35580] ProfilerSimpleUDP does not check for function_exists( 'socket_create' )

2012-03-29 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=35580

--- Comment #3 from Sam Reed (reedy) s...@reedyboy.net 2012-03-29 18:11:39 
UTC ---
http://php.net/manual/en/function.socket-create.php

The function has been there for ever, pretty much.

It would seem you don't have the php_socket.dll module loaded into the
webserver config

-- 
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 35580] ProfilerSimpleUDP does not check for function_exists( 'socket_create' )

2012-03-29 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=35580

--- Comment #4 from Dmitriy Sintsov ques...@rambler.ru 2012-03-29 20:19:26 
UTC ---
Many versions of MediaWiki since 1.9.3 lived happily without that module.

That is really low-level thing, in PHP we are usually dealing with abstracts of
much higher level, streams like php:// http://; and so on. However I read
interesting article why UDP is being used by Wikimedia, under heavy load it's
the only possibility because PHP is not a daemon itself but a part of apache
process. UDP packets should not be lost too often in modern reliable networks.
And profiling seems to use sampling, because error wasn't appearing always,
just sometimes.

-- 
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