Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6050855
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T07:44:13+00:00 2026-05-23T07:44:13+00:00

This is my first question here so please don’t be tough on me… :P

  • 0

This is my first question here so please don’t be tough on me… 😛
I usually tend to google my way to a solution but now I’m in a hurry and have used up all the resources I had…

because my website is a commercial one, it would be fair to go ahead and pay someone to help me but… I have some financial problems myself, this was the 3rd month of payment to my dedicated server, still it was only the first month since my site was actually up… I have made it all by myself because I cannot afford paying anyone, and have no ads on it because I don’t think I would be getting anything now and the ads would just be useless…although I intend in using ads later in my site’s life, i don’t get a dime from the (at least for my budget) expensive server rent… 🙁

This is my problem:
I have a dedicated server which has been going great until a few days ago when my traffic started going up…for a few days, i keep getting emails from my cpu status monitor from my server…
it’s like stuck at full throttle and I’m trying to find out why and repair the problem!…

I’m really desperate so please help me!

here are my latest stats (though they’ve been like this for like 4 days…)
08:02:35 up 12 days, 14:39, 0 users, load average: 25.82, 25.98, 25.92

I use stat counter, I think they are pretty accurate (the code is on every page so these are my website’s global results)…
My stats are:

Page Loads  Unique Visits   
10,367              1,843   

My main pages are index.php and videos.php (i run a video site btw)

the index and videos.php pages are always using around 140-150-160% of the cpu
i mean huh?
they’re using more than 100%? like loaning or what?

what they both do is:
(mainly the videos page, the index is just a simplified version of it)

check -and take if passed- a query and a page number.
query a database, take results from a table and show them

I use mysql_connect for everything i take from mysql.
I heard of permanent connections in mysql as being a possible solution to a large number of queries, but also read about a lot of cons to this method caused by security issues…
please advise?

my database is myisam engined
I have 2 main tables: games and videos.
Along them are around 5-6000 tables used for storing comments…

 games table:    9   columns    
 id - primary   
 name - fulltext - used by my search    

 videos table:    17 columns    
 indexes:   
 id-primary     
 title,tags-fulltext-used by search     

the rest of the tables are used for comments but they dont have any index except the id field.
they only keep the comment and the date in themselves.
when i load a search page, all data is taken from the db:
search for keywords, take the most relative and then echo all data related to the matched items.
when opening a video page, all comments from a certain db are loaded and displayed in a box.

what is the best thing I can do to reduce processing power use?

also, my support team just emailed me:

we have increased the table-cache to 12000 , please check now how it goes .And also it is better to get a my.cnf file which is most suitable to your working environment , here the mysql variables are set to the default values .

I just read something about the my.cnf file on google but nothing related to my case…
Could someone please indicate me what should my my.cnf file contain? related to my sittuation?

I have my server information here, but it takes some space… how can I close it somehow and you only open if you want to read? without using links?

should i just post it here like this?
Please, if a moderator reads this and can collapse it somehow, please do so!

Server Information:
-------------------------------------------------------

Processor Information
Total processors: 6

Processor #1

Vendor
    AuthenticAMD

Name
    AMD Phenom(tm) II X6 1055T Processor

Speed
    2800.000 MHz

Cache
    512 KB

Processor #2

Vendor
    AuthenticAMD

Name
    AMD Phenom(tm) II X6 1055T Processor

Speed
    2800.000 MHz

Cache
    512 KB

Processor #3

Vendor
    AuthenticAMD

Name
    AMD Phenom(tm) II X6 1055T Processor

Speed
    2800.000 MHz

Cache
    512 KB

Processor #4

Vendor
    AuthenticAMD

Name
    AMD Phenom(tm) II X6 1055T Processor

Speed
    2800.000 MHz

Cache
    512 KB

Processor #5

Vendor
    AuthenticAMD

Name
    AMD Phenom(tm) II X6 1055T Processor

Speed
    2800.000 MHz

Cache
    512 KB

Processor #6

Vendor
    AuthenticAMD

Name
    AMD Phenom(tm) II X6 1055T Processor

Speed
    2800.000 MHz

Cache
    512 KB


Memory Information

Memory for crash kernel (0x0 to 0x0) notwithin permissible range
Memory: 7917400k/8912896k available (2575k kernel code, 208164k reserved, 1304k data, 212k init)



System Information

Linux nrgysrv1.hostrprv1.com 2.6.18-194.32.1.el5 #1 SMP Wed Jan 5 17:52:25 EST 2011 x86_64 x86_64 x86_64 GNU/Linux


Physical Disks

SCSI device sda: 2930277168 512-byte hdwr sectors (1500302 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
SCSI device sda: 2930277168 512-byte hdwr sectors (1500302 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
sd 0:0:0:0: Attached scsi disk sda
SCSI device sdb: 2930277168 512-byte hdwr sectors (1500302 MB)
sdb: Write Protect is off
sdb: Mode Sense: 00 3a 00 00
SCSI device sdb: drive cache: write back
SCSI device sdb: 2930277168 512-byte hdwr sectors (1500302 MB)
sdb: Write Protect is off
sdb: Mode Sense: 00 3a 00 00
SCSI device sdb: drive cache: write back
sd 3:0:0:0: Attached scsi disk sdb
sd 0:0:0:0: Attached scsi generic sg0 type 0
sd 3:0:0:0: Attached scsi generic sg1 type 0



Current Memory Usage

             total       used       free     shared    buffers     cached
Mem:       7920256    7873744      46512          0      61148    6980096
-/+ buffers/cache:     832500    7087756
Swap:      4192956        184    4192772
Total:    12113212    7873928    4239284


Current Disk Usage

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda3             1.4T  636G  645G  50% /
/dev/sda1              99M   18M   77M  19% /boot
tmpfs                 3.8G     0  3.8G   0% /dev/shm
/dev/sdb1             1.4T  291G 1016G  23% /backup
/usr/tmpDSK           485M   11M  449M   3% /tmp


----------------------------------------------------

I think this is all the information I have.

If you have mercy on me, please help!…
thanks a million billion times!hot

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T07:44:14+00:00Added an answer on May 23, 2026 at 7:44 am

    the index and videos.php pages are always using around 140-150-160% of the cpu i mean huh? they’re using more than 100%? like loaning or what?

    No, the load is expressed as one unit per CPU, so if your server has four CPUs, a load of 1.00 (or 100%) means that one CPU is at full load and the other three are idling (or two are at 50% load and the other two at 0%, or any similar combination) and a load of 4.00 (or 400%) would mean that all the CPUs are at full capacity.

    I use mysql_connect for everything i take from mysql. I heard of permanent connections in mysql as being a possible solution to a large number of queries, but also read about a lot of cons to this method caused by security issues… please advise?

    Why should it be a security issue? Maybe it can be a performance issue if misused, but definitely not a security issue.

    From what you’re writing it seems you’re quite a novice on relational database and perhaps web development, the first step I suggest is to buy a database book and learn how they work and how to use them, then a good book on PHP. Otherwise, you will be programming by coincidence and will never resolve your issues.

    By the way, if you’re new (and you know it) you should give a read to the FAQs, How to ask and Editing help.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Sorry, this's my first time to ask a question here. So, I don't have
First of all I don't know if it this question belongs here if not
Note 1: This is my first question here. Please be gentle. Note 2: Yes,
i don't know if some body asked this question before or not, but here
this is my first question here so I hope I can articulate it well
this is my first question here :) I know that I should not check
Greetings to all! This is my first question here on stackoverflow. I have a
Ok, I need help. This is my first question here. Background: I am working
this is my first question to stackoverflow so here it goes... I use cruise
this is my first question.. so, here we go. i have a site, 100%

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.