WordPress.org

Support

Support » Plugins and Hacks » [Resolved] alakhnors-post-thumb

[Resolved] alakhnors-post-thumb

  • a mail i recieved from my host:

    please forward to your sysadmin.
    thanks,
    Justin

    There’s slow log entries that look like this when the load goes high:

    # Time: 080907 10:49:03
    # User@Host: hayadan_press[hayadan_press] @ localhost []
    # Query_time: 7 Lock_time: 0 Rows_sent: 1693 Rows_examined: 3386
    SELECT * FROM wp_pt_post ORDER BY post_id DESC;
    # User@Host: hayadan_press[hayadan_press] @ localhost []
    # Query_time: 8 Lock_time: 1 Rows_sent: 1693 Rows_examined: 3386
    SELECT * FROM wp_pt_post ORDER BY post_id DESC;

    Many more of this in a very short time. Probably an attack that wouldn’t
    work without a specific code.

    The code is in /wp/wp-content/plugins/alakhnors-post-thumb/post-thumb.php
    at line 114:
    $select = ” SELECT * FROM “.$this->table_pt_post.” ORDER BY post_id DESC”;

    I uncommented the follow line just below that code
    // To limit memory usage, uncomment the following line.
    $select .= ” LIMIT “.$this->LoadPostLimit;

    and change the value of LoadPostLimit from 200 to 20.

    If this plugin is causing such problem, maybe it needs to be removed
    or upgraded.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] alakhnors-post-thumb’ is closed to new replies.
Skip to toolbar