Jump to content

xvids

Members
  • Posts

    126
  • Joined

  • Days Won

    5

Posts posted by xvids

  1. 3 hours ago, Tech Support said:

    Do you mean email address? This is typically verified by signup process

    Yes email address! 

    3 hours ago, Tech Support said:

    This is typically verified by signup process.

    Yes I know that, but,

     

    I want to ask user verify email address only when user try to upload video. If the user don't try to upload video/albums, then it not required verify their email.

     

    xhamster,Xvideos doing like this way, user create account without verify email address, and then if the user want to upload video then they ask for verify email,

    you can check both  website,

     

     

  2. On 7/31/2022 at 2:37 PM, hbarnetworks said:

    For anyone wondering. Changing the engine of the database to InnoDB still seems that everything works nothing is broken. It has reduced the overall CPU usage from 80% overall to 10% spreading it over 3 servers using galera and using proxySQL to loadbalance between these 3 servers. So far this has speed up the website 5x 

     

    Before I did 900 queries a second now It pulls over 3000 using a stress test. And thats not close to its limits. If anyone is interested in how I did this let me know.

    Hello,

    I interested, please tell me

  3. Hello,

     

    Its also missing a Plugin for Channels & Content Source that automatically select "Channels & Content Source" based on the title, description and tags fields.

    1. automatically select Channels For Videos

    2. automatically select Content Source For Albums

     

    Thank you! 💗

  4. 1 hour ago, Tech Support said:

    The whole project was started with the new admin panel design that will also look nicely on mobile devices. There are new colors, icons and same control look and feel across different browsers:

    desktop.thumb.png.e21de8d89b49fc28c67c734db923bb01.png

     

     

    Hello,

     

    Thank you for posting updates,

     

    for me colors don't looks better, because Its not full Black/White or not full White/Black design. 

    like todays website design Dark skin and White Skin,

     

    Also I still can't see KVS-6 on demo site.

  5. On 11/10/2021 at 10:40 AM, Tech Support said:

    Another reason is that this year we started nextgen implementation, and we don't want to add new features using the old code, test them, then again spend time to move these features to nextgen and test them again.

    Hello,

     

    as you are working on nextgen, and you maybe modify admin CSS, please consider Dark theme for admin Panel, If possible

     

  6. On 7/30/2021 at 11:46 AM, Tech Support said:

    14) Text search in list_videos and list_albums blocks will now also load query info from database if exists. This data can be used to disallow indexing of search result pages for queries that do not exist in your database.

    Please tell me how to use this feature, I have delete a query but Its still allow search on the same query

  7.  

    On 7/30/2021 at 11:46 AM, Tech Support said:

    13) If embedding option is allowed in video_edit block, it will also support grabbers and can be used to automatically grab embed codes from the supported sites. Thus it will be possible to simply specify video URL from youtube.com for example, and have KVS automatically grab its embed code, screenshot and duration within few seconds.

    I think similar feature should enable for download mode as well.

     

    Some time user want to import their uploaded from websites

     

    Screenshot_13.thumb.png.84eb8342fd9145de8d1fdff0a1fe73fd.png

  8. On 7/4/2021 at 11:07 PM, elpadre said:

    what mpm php are you using? prefork? event? worker? 

    prefork PHP7.4

     

    On 7/5/2021 at 10:30 AM, phseven said:

    On the server where you have the database the top process should be mysql followed by nginx or apache.

    https://prnt.sc/194h874

     

    On 7/5/2021 at 10:30 AM, phseven said:

    Server running script should be nginx or apache (httpd) whatever you have installed.

    Both Installed Nginx & Apache.

    On 7/5/2021 at 10:30 AM, phseven said:

    My wild guess is that you have a clog somewhere in the I/O process that spikes the server load.

    Yes This maybe, in RAID, I think raid not configure well.

  9. On 6/23/2021 at 8:51 AM, phseven said:

    Do you have any panel or installed a Graphical server management ?

    Yes I have Installed HestiaCP with Nginx Apache, but not PHP-FPM, because If enable PHP-FPM then some errors with .htaccess, I don't remmeber that,

    maybe the issue is "Folder allows PHP execution"

     

    On 6/23/2021 at 8:51 AM, phseven said:

    Did you run "top" and check what process is creating the load?

    Yes by run TOP Its displaying, Nginx, youtube-dl, Apache,

     

    On 6/23/2021 at 8:51 AM, phseven said:

    Did you check the SSD health ?

    Yes looks normal,

  10. 5 hours ago, Tech Support said:

    The only possible way to do that is to use AJAX and pull some videos via Javascript from any existing page, or create a new page

    AJAX will take time as I tested, 

    <script src="/static/js/main.js"></script>
    <script>
    window.onload=function(){
    $("#result").load('/related_videos_html.php');
      };
     </script>

     

     

    This Option is not Possible. 

     

    kVtM0Dw9SvSwjqYUqwf0AQ.thumb.jpeg.ad4ad094f7a030f6aba494f8247153e4.jpeg

  11. 4 hours ago, Tech Support said:

    mark as deleted

    This feature I requested long time ago, and you added it. many thanks, the request was for SEO purpose, but when my tube was not popular in market, now I learn a new thing related to this feature, and the thing is that If some copyright holder requesting to remove their contents, they are also wanted to remove metadata and HTTP-410 for SEO,
    or they will submit their report to Google for remove from search,
    *This is just suggestion*

    Now in KVS should have two option, 

    Mark delete + Real Deletion, is same, I think, because If I delete a video, and video_ID is 12345, then KVS is not gonna generate again this ID for video in future, am I right?

    Real deletion = means Its should not render 404 page, It just keep the URL, because 410 is better than 404 for SEO and L.A etc...,

    And Mark delete means Its should delete everything related to the video and header HTTP-410, just keep URL,

     

    I'm just trying to make fast the 404.php page, because I know, Its load last day on my website, me and user delete total 15 videos which is popular after that server L.A goes to 100-180, and I try to add same videos IDs but couldn't find any method.

    Currently I'm Using JavaScript and PHP for metadata and HTTP-410 Instead remove to hide,

    in Video View block

    <script type="text/javascript">
    	document.addEventListener("DOMContentLoaded", function(event) {
    	document.getElementsByClassName("video-info")[0].style.visibility = "hidden";
    	document.getElementsByClassName("video-info")[0].style.height = "1px";
    	//document.getElementsByClassName("related-videos")[0].style.display = "none";
    	document.getElementsByClassName("social")[0].style.display = "none";
    	document.getElementsByTagName('h1')[0].style.display = 'none';
    	document.getElementsByTagName('title')[0].innerHTML = 'This Video was deleted';
    	});
    </script>

     

    And in Header

     

    {{if $storage.video_view_video_view.status_id==5}}
    {{php}}header( "HTTP/1.1 410 Gone" );{{/php}}
    {{/if}}

     

    5 hours ago, Tech Support said:

    What is "related videos" to a 404 error?

    Sorry not Related video, just display some Videos list in player(embed player), when Video marked delete,

    Example: "domain.com/embed/12345/" someone embed a video from my website to their website, and the video I deleted from my website,

    then KVS just displaying a error page, here is the template code. so I just want to display some other Videos in Player, If the video is not visible then User can any other video from player:

     

     

    0K4bclrmRjmP21_Xo6dIqw.thumb.jpeg.35bf1aa5ee1bc95299157744439b250c.jpeg

     

  12. Just one feature request in this update, If possible please add,

    User Deleted video/album should stay at same URL , because If It was Popular then Its render 404 page which taking time, increase server load,

    All tube website don't show 404 page for all king of delete video. metadata should delete, but not URL.

    You can try at YouTube by changing IDs: https://www.youtube.com/watch?v=2fuowcx

     

    2. How I can Display related video in embed Player, when 404 video not found.

     

    <html>
    <head>
    	<title>{{$lang.error_404.title}}</title>
    	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    </head>
    <body style="margin: 0; padding: 0; background: #000; color: #fff">
    <div style="width: 100%; text-align: center; position: absolute; top: 49%">{{$lang.error_404.title}}</div>
    </body>
    </html>

     

    • Like 1
  13. I have Ubuntu 20.04:

    I edited some Nginx and Apache config. Now L.A 5-6 because All time background task in process,

    But now Database on MariaDB is working Slow, Please suggest me some info for DB, I have seen many answer on Stackweb that convert MyIsam to Innodb,

    Intel Xeon-D 2141I - 8c/ 16t - 2.2GHz/ 3GHz

    Memory : 64GB

    Ubuntu: 20.04

    [client]
    port=3306
    socket=/var/run/mysqld/mysqld.sock
    
    [mysqld_safe]
    socket=/var/run/mysqld/mysqld.sock
    open_files_limit=4294967295
    
    [mysqld]
    user=mysql
    pid-file=/var/run/mysqld/mysqld.pid
    socket=/var/run/mysqld/mysqld.sock
    port=3306
    basedir=/usr
    datadir=/var/lib/mysql
    tmpdir=/tmp
    lc-messages-dir=/usr/share/mysql
    log_error=/var/log/mysql/error.log
    
    symbolic-links=0
    local-infile=0
    
    skip-name-resolve
    skip-external-locking
    key_buffer_size = 1024M
    max_allowed_packet = 1G
    thread_stack = 384K
    table_open_cache = 512
    sort_buffer_size = 11M
    read_buffer_size = 21M
    read_rnd_buffer_size = 24M
    myisam_sort_buffer_size = 512M
    myisam_block_size = 5120
    myisam_data_pointer_size = 7
    
    key_cache_block_size = 8192
    key_cache_division_limit = 60
    key_cache_file_hash_size = 8192
    key_cache_segments = 0
    
    thread_cache_size = 256
    query_cache_size= 300M
    query_cache_type = 1
    query_cache_limit = 256K
    query_cache_min_res_unit = 2k
    
    tmp_table_size= 256M
    max_heap_table_size= 256M
    
    #innodb_use_native_aio = 0
    innodb_file_per_table
    
    max_connections=2000
    max_user_connections=500
    wait_timeout=10
    interactive_timeout=50
    long_query_time=5
    
    !includedir /etc/mysql/conf.d/
    !includedir /etc/mysql/mariadb.conf.d/

    Apache config:

     

    # Global configuration
    PidFile ${APACHE_PID_FILE}
    Timeout 40
    KeepAlive On
    MaxKeepAliveRequests 3000
    KeepAliveTimeout 5
    
    <IfModule mpm_prefork_module>
        ServerLimit         256
        StartServers        10
        MinSpareServers     75
        MaxSpareServers     256
        MaxRequestWorkers   4500
        MaxConnectionsPerChild 10000
    </IfModule>
    
    <IfModule mpm_worker_module>
        ServerLimit            256
        StartServers           10
        MinSpareThreads        75
        MaxSpareThreads        256
        ThreadLimit            64
        ThreadsPerChild        32
        MaxRequestWorkers      4500
        MaxConnectionsPerChild 10000
    </IfModule>
    
    <IfModule mpm_event_module>
        StartServers        10
        MinSpareThreads     75
        MaxSpareThreads     256
        ThreadLimit         64
        ThreadsPerChild     32
        MaxRequestWorkers   4500
        MaxConnectionsPerChild 10000
    </IfModule>

     

     

    Nginx config:

     

     

    # Server globals
    user                    www-data;
    worker_processes        24;
    worker_rlimit_nofile    65535;
    error_log               /var/log/nginx/error.log;
    pid                     /var/run/nginx.pid;
    
    include /etc/nginx/modules-enabled/*.conf;
    
    # Worker config
    events {
            worker_connections  4096;
            use                 epoll;
            multi_accept        off;
            accept_mutex        off;
    }
    
    http {
        # Main settings
        sendfile                        on;
            aio                             threads;
            directio                        8m;
        tcp_nopush                      on;
        tcp_nodelay                     on;
        client_header_timeout           180s;
        client_body_timeout             180s;
        client_header_buffer_size       2k;
        client_body_buffer_size         256k;
        client_max_body_size            256m;
        large_client_header_buffers     4 8k;
        send_timeout                    60s;
        keepalive_timeout               60s;
        keepalive_requests              20000;
        reset_timedout_connection       on;
        server_tokens                   off;
        server_name_in_redirect         off;
        server_names_hash_max_size      512;
        server_names_hash_bucket_size   512;
        charset                         utf-8;
    
        # FastCGI settings
        fastcgi_buffers                 4 256k;
        fastcgi_buffer_size             256k;
        fastcgi_busy_buffers_size       256k;
        fastcgi_temp_file_write_size    256k;
        fastcgi_connect_timeout         30s;
        fastcgi_read_timeout            300s;
        fastcgi_send_timeout            180s;
        fastcgi_cache_lock              on;
        fastcgi_cache_lock_timeout      5s;
        fastcgi_cache_background_update on;
        fastcgi_cache_revalidate        on;
    
        # Proxy settings
        proxy_redirect                  off;
        proxy_set_header                Host $host;
        proxy_set_header                X-Real-IP $remote_addr;
        proxy_set_header                X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_http_version              1.1;
        proxy_pass_header               Set-Cookie;
        proxy_buffers                   32 4k;
        proxy_connect_timeout           30s;
        proxy_read_timeout              300s;
        proxy_send_timeout              180s;
    
        # Log format
        log_format  main    '$remote_addr - $remote_user [$time_local] $request '
                            '"$status" $body_bytes_sent "$http_referer" '
                            '"$http_user_agent" "$http_x_forwarded_for"';
        log_format  bytes   '$body_bytes_sent';
        log_not_found off;
        access_log off;
    
        # Mime settings
        include             /etc/nginx/mime.types;
        default_type        application/octet-stream;
    
        # Compression
        gzip                on;
        gzip_static         on;
        gzip_vary           on;
        gzip_comp_level     6;
        gzip_min_length     1024;
        gzip_buffers        16 8k;
        gzip_http_version   1.1;
        gzip_types          text/plain text/css text/javascript text/js text/xml application/json application/javascript application/x-javascript application/xml application/xml+rss applicatio>
        gzip_proxied        any;
        gzip_disable        "MSIE [1-6]\.";
    
        # Cloudflare https://www.cloudflare.com/ips
        set_real_ip_from 103.21.244.0/22;
        # SSL PCI compliance
        ssl_session_cache   shared:SSL:20m;
        ssl_session_timeout 60m;
        ssl_buffer_size     1400;
        ssl_protocols       TLSv1.2 TLSv1.3;
        ssl_prefer_server_ciphers on;
        ssl_ciphers         
        ssl_dhparam         /etc/ssl/dhparam.pem;
        ssl_ecdh_curve      secp384r1;
        ssl_session_tickets off;
        resolver 213.186.33.99  valid=300s ipv6=off;
        resolver_timeout    5s;
    
        # Error pages
        error_page 403 /error/404.html;
        error_page 404 /error/404.html;
        error_page 410 /error/410.html;
        error_page 500 501 502 503 504 505 /error/50x.html;
    
        # Proxy cache
        proxy_cache_path /var/cache/nginx levels=2 keys_zone=cache:10m inactive=60m max_size=1024m;
        proxy_cache_key "$host$request_uri $cookie_user";
        proxy_temp_path  /var/cache/nginx/temp;
        proxy_ignore_headers Expires Cache-Control;
        proxy_cache_use_stale error timeout invalid_header http_502;
        proxy_cache_valid any 1d;
    
        # FastCGI cache
        fastcgi_cache_path /var/cache/nginx/micro levels=1:2 keys_zone=microcache:10m max_size=1024m inactive=30m;
        fastcgi_cache_key "$scheme$request_method$host$request_uri";
        fastcgi_cache_methods GET HEAD;
        fastcgi_cache_use_stale updating error timeout invalid_header http_500 http_503;
        fastcgi_ignore_headers Cache-Control Expires Set-Cookie;
        add_header X-FastCGI-Cache $upstream_cache_status;
    
        # Cache bypass
        map $http_cookie $no_cache {
            default 0;
            ~SESS 1;
            ~wordpress_logged_in 1;
            ~*remote_control.php 1;
        }
    
        # File cache (static assets)
        open_file_cache          max=10000 inactive=30s;
        open_file_cache_valid    60s;
        open_file_cache_min_uses 2;
        open_file_cache_errors   off;
    
        # Wildcard include
        include /etc/nginx/conf.d/*.conf;
        include /etc/nginx/conf.d/domains/*.conf;
    }

     

  14. Hi team,

     

    Any hope for the 2 missing features from Community,

    1.) Private video Privacy for only me for only friends,

    spacer.png

    2.) Block access to a video for review no one can't watch until hear from Uploader that He has the right to upload, when received a copyright Flag,

     

     

    • Like 1
×
×
  • Create New...