از اینجا
/scripts/upcp --force
از اینجا
/scripts/upcp --force
برای پیش رفت در علم آسانسوری وجود ندارد پله ها را باید پیاده رفت /./ همیشه این یادتان باشد که دست بالای دست بسیار است.
يادمان باشد براي يك بار ايستادن صد ها بار افتاده ايم /./ بک آپ مهمترین رمز موفقیت هاستینگ /./ امنیت مطلق نیست.ارتباط مستقیم با من :
Admin -{(@)}- WebHostingTalk . ir
میشه بگید مصرفش چقده ؟
چه کامندی در حال اجراس که مصرفش زیاده؟
/usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/.pid --skip-external-locking --socket=/var/lib/mysql/mysql.sock
این دستور هست!
خوب به سلامتی این مال همه هست
مصرفش درسته یکم بالاس.
باید یه راه حلی داشت باشه.....
سلام اگه سی پنل سرور هستش
اینو بزن :
mysqladmin proc
پراسس های مای اس کیو ال رو ببین !
در ضمن اگه فشارت خیلی بالا باشه کلا رم سرور ! SWAP نداشته باشی
روی همه چیزت تاثیر میزاره.
در ضمن برای اینکه بتونی کوری هایی که کند هستند رو شناسایی کنی این کاری که میگم انجام بده
کد:1. Login to your server as root 2. Open my.cnf with your favorite editor. Example: pico /etc/my.cnf 3. Into the [mysqld] section add the fallowing lines log-slow-queries = /var/log/mysql-slow.log long_query_time = 3 This is just an example. You can use any file name that you want and you can modify the long_query_time to any value. In this example I will be logging to /var/log/mysql-slow.log any queries that are taking longer then 3 seconds. 4. Go ahead and save the configuration. For pico: CTRL+X and YES 5. Now we have to actually create the log file. touch /var/log/mysql-slow.log 6. Now we are changing the owner of the file so that mysql and actually write to it. chown mysql.root /var/log/mysql-slow.log 7. Now we restart mysql service mysql restart It should restart successfully. If it doesn’t check that you didn’t brake my.cnf 8. Wait a few minutes and then examine the slow queries log A few examples on how to do it: cat /var/log/mysql-slow.log tail /var/log/mysql-slow.log tail -50 /var/log/mysql-slow.log After you have identified the offending query go ahead and optimize or remove it. Again test the results by looking at your server load and the mysql slow queries log. After you fixed all the problems go ahead and comment the slow queries logging as it will slow your server a bit if you let it on. my.cnf should now look similar to this: #log-slow-queries = /var/log/mysql-slow.log #long_query_time = 3 And don’t forget to restart MySQL after this. service mysql restart
ویرایش توسط novinvps.com : September 2nd, 2009 در ساعت 17:53
دیدم
خوب چرا مشکلش رو حل نمی کنی؟
الان این کیوری رو ها رو که آموزشش رو دادی دارم انجام میدم ...
ممنونم از لطفت دوست عزیز
در حال حاضر 1 کاربر در حال مشاهده این موضوع است. (0 کاربران و 1 مهمان ها)