php-randomly appearing PHP warning:mysql_connect ()

Source: Internet
Author: User
Keywords PHP Connect
Tags types of tables
Phpconnect

After re-refresh the page can be opened normally again, after a while it may occur again, the website average 20 data per second in the Insert (insert Update) data.

This problem occurs during peak site visit, do not know which aspects of optimization can solve the problem?

"Introduction to the Environment"
system:server2003
Mysql:mysql-5.1.51-win32
php:5.4.37 NTS
webserver:iis6.0+fastcgi1.5

"Hardware Environment"
Cpu:xeon L5520 @ 2.27GHz
Memory: 8GB

"I tried the following, but I couldn't fix it."
1, InnoDB types and MyISAM types of tables have been tried.
2, modify the Max_connections to 2048.

May I ask whether you have encountered a similar situation? Please do not hesitate to enlighten me.

  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.