Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: HELP: view_video.php - 97% CPU Usage?

  1. #1
    Join Date
    Apr 2008
    Posts
    7

    Default HELP: view_video.php - 97% CPU Usage?

    Hello,

    My site is facing suspension because my new host is telling that the file called

    /usr/bin/php /home/account/myadultdomain.com/view_video.php

    is using about LARGE amounts of cpu resources "Top Process %CPU 92.7"

    What could be causing this? Could I have corrupted some files while moved across hosts?

    Traffic atm is roughly 1500 uniques per day.

    version 2.7

    Regards,
    DK
    Last edited by OzzyWeb; 12-03-2009 at 07:50 AM.

  2. #2
    Join Date
    Apr 2008
    Posts
    7

    Default

    please help.

    EDIT: i've just added version and traffic in first post.
    vShare Version 2.7

  3. #3
    Join Date
    Sep 2007
    Posts
    906

    Default

    It won't use much cpu, it may be server is already overloaded causing the problem. How much bandwidth you use per month ?

    Try enabling cache in admin area, so cpu usage will be reduced. Again it is upto the web host, some offer too much for nothing, that type of hosts can't host large sites. Bandwidth and cpu usage always cost... even if your host offer you unlimited everything, that is just to get customers, not every customer have video sites, so they can keep 99% of customers with out problem.
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

  4. #4
    Join Date
    Apr 2008
    Posts
    7

    Default

    Thanks for that.

    i use roughly 20gigs every 2-4 days

    any host recommendations which can handle this?

    Regards,
    DK
    vShare Version 2.7

  5. #5
    Join Date
    Sep 2007
    Posts
    906

    Default

    We provide vshare hosting, it will be $20 per month for 20 GB web space + 400 GB monthly bandwidth.

    You can see our hosting plans at

    YouTube Clone Hosting
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

  6. #6
    Join Date
    Apr 2008
    Posts
    7

    Default

    i'm just wondering why my site would be overheating on CPU usage?

    i have cron job clearing guest info every 5 mins and temporarily blocked view_video.php and video.php and the server is still overheating

    what else can I change to remedy this?

    better still what is going on here?
    vShare Version 2.7

  7. #7
    Join Date
    Sep 2007
    Posts
    906

    Default

    Set guest limit to 0, there will no guest_info. Then most cpu usage will be in showing related video.
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

  8. #8
    Join Date
    Apr 2008
    Posts
    7

    Default

    hi thanks for your reply.

    1/ currently guests have to register/log in to view.
    2/ I have removed "currently being watched" carousel from index. Is "showing related video" the same thing?
    vShare Version 2.7

  9. #9
    Join Date
    Sep 2007
    Posts
    906

    Default

    Related video is on view_video page, right side of the video. Other than this, there is nothing that can use more cpu. Still more is depends on the server. We do host many vshare sites, no sites have such problems.
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

  10. #10
    Join Date
    Apr 2008
    Posts
    7

    Default

    hmm...

    i'm wondering if something became corrupt during host move?

    i did re-upload all my v2.7 files again. but maybe it's database related?
    vShare Version 2.7

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •