Jump to content

dutchsnowden

Members
  • Posts

    339
  • Joined

  • Last visited

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Posts posted by dutchsnowden

  1. 7 hours ago, Marc Stridgen said:

    If you go to Members->Content Moderation->Spam Prevention->Geolocation settings, you can add countries in there that you wish to disallow.

    Nah, @Marc Stridgen this is for registration. Chinese bots never register, they just flood the server with request and do not respect robots.txt or any rules. Download all photos, everything.

    They don't care to register, they just flood it as guests.

  2. Yes, they are a plague. For the moment my forum works ok, but I am too interested in finding a proper solution to this disease. So please come back and post if you find anything.

    To be honest, my server was swamped until I did this:

    Now even they are hitting me pretty hard seems that the hardware is handling it well, so I am waiting a better solution to completely ban the chinese plague out of my server.

     

  3. I host my server with Hetzner. They have a very basic firewall and picked up from logs the bytedance ip addresses (which were not so many) and blocked them in the hetzner firewall. I am not so happy with this solution but as a temporary step it works for now. I need to really install a good firewall with ip geocoding and everything.

  4. I did not change any query string manually. What are you saying? Are you saying it is a bug in here:

    Could contain: File, Webpage, Page, Text

    And search ignores ALL or ANY setting in this search page? The ACP setting should be for general queries as default search for multiple terms, but I used THIS page, where it is clearly specified ANY or ALL (AND or OR).

     

  5. Well, seems not to be working correctly:

    I want to search with AND for both tags:

    community/forums/search/?&tags=tag1,tag2&search_and_or=and

    and it gives me back resuts with OR, either tag1, either tag2, but I wanted only if it has both.

  6. Is it possible browse the community using multiple tags?

    community/tags/tag1+tag2/

    Something like this, adding more tags to the search?

    Nevermind! Found it!

    /forums/search/?&tags=tag1,tag2&search_and_or=or&sortby=relevancy

     

  7. Just so I don't leave the situation w/o a resolution.

     

    This was in my apache2 server configuration file.

    # prefork MPM
    # StartServers: number of server processes to start
    # MinSpareServers: minimum number of server processes which are kept spare
    # MaxSpareServers: maximum number of server processes which are kept spare
    # MaxRequestWorkers: maximum number of server processes allowed to start
    # MaxConnectionsPerChild: maximum number of requests a server process serves
    
    <IfModule mpm_prefork_module>
            StartServers             5
            MinSpareServers          5
            MaxSpareServers          10
            MaxRequestWorkers        150
            MaxConnectionsPerChild   0
    </IfModule>
    
    # vim: syntax=apache ts=4 sw=4 sts=4 sr noet

    after I dramatically modified them to this:

    # prefork MPM
    # StartServers: number of server processes to start
    # MinSpareServers: minimum number of server processes which are kept spare
    # MaxSpareServers: maximum number of server processes which are kept spare
    # MaxRequestWorkers: maximum number of server processes allowed to start
    # MaxConnectionsPerChild: maximum number of requests a server process serves
    
    <IfModule mpm_prefork_module>
            StartServers            20
            MinSpareServers         20
            MaxSpareServers         40
            MaxRequestWorkers       1500
            MaxConnectionsPerChild  1000
            ServerLimit             2000
    </IfModule>
    
    # vim: syntax=apache ts=4 sw=4 sts=4 sr noet

    Server went back to blazingly fast. 

    In the end found out bytedance/bytespider chinese bots were killing the server w/o pretty much no warning or errors. In the end I have found a MaxRequestWorkers too low error.

    Then I banned from a firewall bytedance/bytespider bots. 

    And now if I could only ban yandex bots I'd be a happy camper.

     

  8. Lately I have been seeing quite a few of slow loading pages:

    Could contain: Computer Hardware, Electronics, Hardware

    Almost 18 seconds, while everything else is absolutely blazing fast.

    How to find out what is going on and what is happening?

    Should I try doing some maintenance for the SQL database, could be from there? What can I do about it?

  9. Sure, but sometimes, that feature is very useful, when an old post with personal data, from a user that does not want to login again, can send an admin report to delete personal data. 

    So most sensible way for me would be to restrict geographically or entire IP classes.

    If I ban, the respective IP, seems that it is ignored by admin reporting.

×
×
  • Create New...