Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Major DB server load issue


asapcustoms

Recommended Posts

We have been told by our host to shut our OS system down after over 2 years and 7500 hours of work due to server load over 80%.

 

Does anyone know why the following errors happen, this is what the host keeps sending but not sure where to start to fix it?

 

Any help would be great for this stressed team over here.

 

with mysql high load mysql and whole system:

 

root@server [/]# uptime

17:45:59 up 22 min, 0 users, load average: 11.57, 9.09, 5.50

root@server [/]# mysqladmin processlist

+-----+---------------+-----------+---------------+---------+------+----------------------+------------------------------------------------------------------------------------------------------+

| Id | User | Host | db | Command | Time | State | Info |

+-----+---------------+-----------+---------------+---------+------+----------------------+------------------------------------------------------------------------------------------------------+

| 60 | asapcust_asap | localhost | asapcust_cart | Query | 445 | Copying to tmp table | select distinct p.products_id, p.products_image, p.products_tax_class_id, if(s.status, s.specials_ne |

| 69 | asapcust_asap | localhost | asapcust_cart | Query | 407 | Copying to tmp table | select distinct p.products_id, p.products_image, p.products_tax_class_id, if(s.status, s.specials_ne |

| 72 | asapcust_asap | localhost | asapcust_cart | Query | 399 | Copying to tmp table | select distinct p.products_id, p.products_image, p.products_tax_class_id, if(s.status, s.specials_ne |

| 77 | asapcust_asap | localhost | asapcust_cart | Query | 262 | Copying to tmp table | select distinct p.products_image, p.products_model, m.manufacturers_name, m.manufacturers_id, p.pro |

| 79 | asapcust_asap | localhost | asapcust_cart | Query | 261 | Copying to tmp table | select distinct p.products_image, p.products_model, m.manufacturers_name, m.manufacturers_id, p.pro |

| 80 | asapcust_asap | localhost | asapcust_cart | Query | 241 | Copying to tmp table | select p.products_image, p.products_model, m.manufacturers_name, pd.products_name, p.products_id, p |

| 82 | asapcust_asap | localhost | asapcust_cart | Query | 343 | Copying to tmp table | select distinct p.products_id, p.products_image, p.products_tax_class_id, if(s.status, s.specials_ne |

| 83 | asapcust_asap | localhost | asapcust_cart | Query | 255 | Copying to tmp table | select p.products_image, p.products_model, m.manufacturers_name, pd.products_name, p.products_id, p |

| 84 | asapcust_asap | localhost | asapcust_cart | Query | 340 | Copying to tmp table | select distinct p.products_id, p.products_image, p.products_tax_class_id, if(s.status, s.specials_ne |

| 86 | asapcust_asap | localhost | asapcust_cart | Query | 294 | Sending data | select count(p.products_id) as total from products p, products_description pd, manufacturers m left |

| 91 | asapcust_asap | localhost | asapcust_cart | Query | 12 | Locked | select p.products_id, pd.products_name, pd.products_description, pd.products_spec, pd.products_musth |

| 93 | asapcust_asap | localhost | asapcust_cart | Query | 11 | Locked | select p.products_id, pd.products_name, pd.products_description, p.products_model, p.products_quanti |

| 94 | asapcust_asap | localhost | asapcust_cart | Query | 10 | Locked | select p.products_id, pd.products_name, pd.products_description, pd.products_spec, pd.products_musth |

| 99 | asapcust_asap | localhost | asapcust_cart | Query | 9 | Locked | select count(p.products_id) as total from products_description pd, products p left join manufacture |

| 102 | asapcust_asap | localhost | asapcust_cart | Query | 10 | Locked | select p.products_id, pd.products_name, pd.products_description, pd.products_spec, pd.products_musth |

| 106 | asapcust_asap | localhost | asapcust_cart | Query | 10 | Locked | select p.products_id, pd.products_name, pd.products_description, pd.products_spec, pd.products_musth |

| 108 | asapcust_asap | localhost | asapcust_cart | Sleep | 8 | | |

| 123 | asapcust_asap | localhost | asapcust_cart | Query | 9 | Locked | select p.products_id, pd.products_name, pd.products_description, pd.products_spec, pd.products_musth |

| 126 | asapcust_asap | localhost | asapcust_cart | Query | 11 | Locked | select p.products_id, pd.products_name, pd.products_description, pd.products_spec, pd.products_musth |

| 127 | asapcust_asap | localhost | asapcust_cart | Query | 12 | Locked | update products_description set products_viewed = products_viewed+1 where products_id = '7449' and l |

| 129 | asapcust_asap | localhost | asapcust_cart | Query | 10 | Locked | select p.products_id, pd.products_name, pd.products_description, pd.products_spec, pd.products_musth |

| 130 | asapcust_asap | localhost | asapcust_cart | Query | 45 | Copying to tmp table | select distinct p.products_id, p.products_image, p.products_tax_class_id, if(s.status, s.specials_ne |

| 131 | asapcust_asap | localhost | asapcust_cart | Query | 11 | Locked | select p.products_id, pd.products_name, pd.products_description, pd.products_spec, pd.products_musth |

| 132 | asapcust_asap | localhost | asapcust_cart | Query | 11 | Locked | select p.products_id, pd.products_name, pd.products_description, pd.products_spec, pd.products_musth |

| 133 | asapcust_asap | localhost | asapcust_cart | Query | 41 | Copying to tmp table | select distinct p.products_id, p.products_image, p.products_tax_class_id, if(s.status, s.specials_ne |

| 136 | asapcust_asap | localhost | asapcust_cart | Query | 11 | Locked | select p.products_id, pd.products_name, pd.products_description, pd.products_spec, pd.products_musth |

| 137 | asapcust_asap | localhost | asapcust_cart | Query | 8 | Locked | select count(p.products_id) as total from products_description pd, products p left join manufacture |

| 138 | asapcust_asap | localhost | asapcust_cart | Query | 10 | Locked | select count(p.products_id) as total from products_description pd, products p left join manufacture |

| 140 | asapcust_asap | localhost | asapcust_cart | Query | 10 | Locked | select p.products_id, pd.products_name, pd.products_description, pd.products_spec, pd.products_musth |

| 141 | asapcust_asap | localhost | asapcust_cart | Query | 10 | Locked | select p.products_id, pd.products_name, pd.products_description, pd.products_spec, pd.products_musth |

| 143 | asapcust_asap | localhost | asapcust_cart | Query | 9 | Copying to tmp table | select distinct p.products_id, p.products_image, p.products_tax_class_id, if(s.status, s.specials_ne |

| 144 | root | localhost | | Query | 0 | | show processlist |

+-----+---------------+-----------+---------------+---------+------+----------------------+------------------------------------------------------------------------------------------------------+

root@server [/]#

 

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

 

 

Thank you for any info you may provide.

Link to comment
Share on other sites

  • 2 years later...

Hi Asapcustoms,

Can you kindly advise what was the solution to the "Copying to tmp table" problem? We have experienced the same issue, we have even upgrade to a 4-core CPU 4GB RAM linux server, but the problem still exist.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...