WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] alakhnors-post-thumb (2 posts)

  1. Rami Yushuvaev
    Member
    Posted 5 years ago #

    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.

  2. Rami Yushuvaev
    Member
    Posted 5 years ago #

    mmm, what should i do?

Topic Closed

This topic has been closed to new replies.

About this Topic