[Toolserver-l] php scripts timing out after 2 minutes

2010-11-22 Thread Ryan Kaldari
My PHP scripts for the contests tool seem to be consistently timing
out after 2 minutes now. I have max_execution_time set to 7 minutes in
both the scripts themselves and in .htaccess. The contests tool is
pretty much unusable with a 2 minute timeout since average batch
upload time for a team is about 3-4 minutes.

Any suggestions?

Ryan Kaldari

___
Toolserver-l mailing list (Toolserver-l@lists.wikimedia.org)
https://lists.wikimedia.org/mailman/listinfo/toolserver-l
Posting guidelines for this list: 
https://wiki.toolserver.org/view/Mailing_list_etiquette


Re: [Toolserver-l] Default Python will change to 2.7

2010-11-22 Thread River Tarnell
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Daniel Kinzler:
> This might actually be a reason to not roll out 2.7 and wait for a fixed
> version. Is there a statement from the python people on this?

It's quite simple to patch our version of 2.7 to revert the change, since it 
seems like the introduced bug is worse than the problem it tries to fix.

- river.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.16 (FreeBSD)

iEYEARECAAYFAkzqT9QACgkQIXd7fCuc5vL4fgCeNfNdMciLUN5KLhP62EicyXo6
0ZsAn2kWMb8cC7JMJM3iOg+XLyGwtvG+
=BTqh
-END PGP SIGNATURE-

___
Toolserver-l mailing list (Toolserver-l@lists.wikimedia.org)
https://lists.wikimedia.org/mailman/listinfo/toolserver-l
Posting guidelines for this list: 
https://wiki.toolserver.org/view/Mailing_list_etiquette


Re: [Toolserver-l] Default Python will change to 2.7

2010-11-22 Thread Daniel Kinzler
This might actually be a reason to not roll out 2.7 and wait for a fixed
version. Is there a statement from the python people on this?

-- daniel

On 22.11.2010 11:59, Merlijn van Deen wrote:
> Hello all,
> 
> This is especially relevant for all interwiki bots on the toolserver.
> Do *not* use python 2.7 for those bots.
> 
> There is a bug [1] in the unicode normalization that causes page
> titles to become mangled [2]. This, in turn, results in botwars [3].
> As such, interwiki bots on wikipedia should use a python version that
> does not have this bug, which means using a version before 2.6.5.
> 
> Although you will get a warning message when using a python version
> that exhibits this bug, the bot will still work. As such, you may very
> well cause bot wars if you start using py2.7.
> 
> Best regards,
> Merlijn van Deen
> 
> 
> [1] http://bugs.python.org/issue10254
> [2] 
> http://sourceforge.net/tracker/?func=detail&atid=603138&aid=3081100&group_id=93107
> [3] 
> http://de.wikipedia.org/w/index.php?title=GNU-Lizenz_f%C3%BCr_freie_Dokumentation&action=history
> 
> On 22 November 2010 11:22, River Tarnell  wrote:
>>
> Hi,
> 
> During the general maintenance on Dec 6th, we will change the default Python
> version (/usr/bin/python) on the Solaris user servers from 2.6 to 2.7.  You 
> may
> wish to test your tools with /usr/bin/python2.7 before then.
> 
>- river.
>>
___
Toolserver-l mailing list (Toolserver-l@lists.wikimedia.org)
https://lists.wikimedia.org/mailman/listinfo/toolserver-l
Posting guidelines for this list:
https://wiki.toolserver.org/view/Mailing_list_etiquette

> ___
> Toolserver-l mailing list (Toolserver-l@lists.wikimedia.org)
> https://lists.wikimedia.org/mailman/listinfo/toolserver-l
> Posting guidelines for this list: 
> https://wiki.toolserver.org/view/Mailing_list_etiquette


___
Toolserver-l mailing list (Toolserver-l@lists.wikimedia.org)
https://lists.wikimedia.org/mailman/listinfo/toolserver-l
Posting guidelines for this list: 
https://wiki.toolserver.org/view/Mailing_list_etiquette


Re: [Toolserver-l] Default Python will change to 2.7

2010-11-22 Thread Merlijn van Deen
Hello all,

This is especially relevant for all interwiki bots on the toolserver.
Do *not* use python 2.7 for those bots.

There is a bug [1] in the unicode normalization that causes page
titles to become mangled [2]. This, in turn, results in botwars [3].
As such, interwiki bots on wikipedia should use a python version that
does not have this bug, which means using a version before 2.6.5.

Although you will get a warning message when using a python version
that exhibits this bug, the bot will still work. As such, you may very
well cause bot wars if you start using py2.7.

Best regards,
Merlijn van Deen


[1] http://bugs.python.org/issue10254
[2] 
http://sourceforge.net/tracker/?func=detail&atid=603138&aid=3081100&group_id=93107
[3] 
http://de.wikipedia.org/w/index.php?title=GNU-Lizenz_f%C3%BCr_freie_Dokumentation&action=history

On 22 November 2010 11:22, River Tarnell  wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hi,
>
> During the general maintenance on Dec 6th, we will change the default Python
> version (/usr/bin/python) on the Solaris user servers from 2.6 to 2.7.  You 
> may
> wish to test your tools with /usr/bin/python2.7 before then.
>
>        - river.
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v2.0.16 (FreeBSD)
>
> iEYEARECAAYFAkzqREgACgkQIXd7fCuc5vIhFQCgpX20z0B9xHikuwl+yiEUDzFH
> WjYAn1wqm21wZjP1uQhsEO7RkxlTyE/N
> =CqUE
> -END PGP SIGNATURE-
>
> ___
> Toolserver-l mailing list (Toolserver-l@lists.wikimedia.org)
> https://lists.wikimedia.org/mailman/listinfo/toolserver-l
> Posting guidelines for this list: 
> https://wiki.toolserver.org/view/Mailing_list_etiquette

___
Toolserver-l mailing list (Toolserver-l@lists.wikimedia.org)
https://lists.wikimedia.org/mailman/listinfo/toolserver-l
Posting guidelines for this list: 
https://wiki.toolserver.org/view/Mailing_list_etiquette


[Toolserver-l] Default Python will change to 2.7

2010-11-22 Thread River Tarnell
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

During the general maintenance on Dec 6th, we will change the default Python 
version (/usr/bin/python) on the Solaris user servers from 2.6 to 2.7.  You may 
wish to test your tools with /usr/bin/python2.7 before then.

- river.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.16 (FreeBSD)

iEYEARECAAYFAkzqREgACgkQIXd7fCuc5vIhFQCgpX20z0B9xHikuwl+yiEUDzFH
WjYAn1wqm21wZjP1uQhsEO7RkxlTyE/N
=CqUE
-END PGP SIGNATURE-

___
Toolserver-l mailing list (Toolserver-l@lists.wikimedia.org)
https://lists.wikimedia.org/mailman/listinfo/toolserver-l
Posting guidelines for this list: 
https://wiki.toolserver.org/view/Mailing_list_etiquette