Not signed in (Sign In)

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorkanjigirl
    • CommentTimeMar 10th 2010 edited
     
    I have a new dedicated server, hosting several Plogger gallery sites. I get an alert about only one of them several times per day:

    Mar 10 18:36:46 ALERT - script tried to increase memory_limit to 268435456 bytes which is above the allowed value (attacker xx.xxx.xxx.xx', file '/home/mydomain/public_html/wp-admin/includes/file.php', line 501)

    What should I do to prevent this alert?

    -- sidtheduck edited to remove IP address --
    •  
      CommentAuthorsidtheduck
    • CommentTimeMar 11th 2010
     
    kanjigirl,

    By that error message, it looks like a Wordpress file (wp-admin/includes/file.php) and not a Plogger file.
    • CommentAuthorkanjigirl
    • CommentTimeMar 11th 2010
     
    I apologize I posted the wrong snippet.

    ALERT - script tried to increase memory_limit to 67108864 bytes which is above the allowed value (attacker '67.195.115.105', file '/home/ygi97ra/public_html/plogger/plog-globals.php', line 7)
    •  
      CommentAuthorsidtheduck
    • CommentTimeMar 12th 2010
     
    kanjigirl,

    It looks like you have Suhosin installed on your server that increases security. This is where the ALERT is coming from. If you want to see it stop, just comment out the ini_set for memory_limit code on plog-globals.php like so:
    //@ini_set('memory_limit', '64M');

    Bascally, Plogger is trying to set the default memory_limit to 64MB in order to keep the script from timing out before it has finished processing the uploaded image (same with Wordpress when doing a file upload). I would recommend trying to up your default memory_limit in php.ini to at least 64MB for Plogger (and probably Wordpress) to work correctly and your error messages should go away (Plogger only attempts to up the memory_limit if it's set lower than 64MB).
    • CommentAuthorkanjigirl
    • CommentTimeMar 14th 2010
     
    Thanks for your help!