I noticed my log files were really, really large lately.  I have about 20GB
of the same errors showing up in the user and syslog files:

May 18 06:23:49 debian2 suhosin[9247]: ALERT - script tried to increase
memory_limit to 268435456 bytes which is above the allowed value (attacker
'46.105.102.130', file '/home/boincadm/projects/collatz/html/inc/util.inc',
line 33)

Line 33 of util.inc contains:
ini_set("memory_limit", "256M");

Having never changed the default settings in /etc/php5/apache2/php.ini the
memory_limit was set to 128M.  It seems that BOINCs attempt to increase the
query size to 256M was seen as an attack.  Has the value always been 256M
or was it increased recently?  Or, is the 128M a change in a recent PHP
version? I am using PHP 5.3.3-7+squeeze14 with Suhosin-Patch (cli) (built:
Aug  6 2012 14:18:06)

If BOINC needs to be 256M, then maybe something should be added to the
server install documentation that explains how the PHP settings need to be
edited to allow 256M to avoid every client visit being considered an
error.  If not and the default is 128M for PHP installs, maybe BOINC can
use 128M as well or omit the ini_set line and use the server default. (I
assume that 256M was a conscious choice but one never knows unless one
asks.)

Jon Sonntag
_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to