رفتن به مطلب

همکاری در حذف query و css


پست های پیشنهاد شده

سلام دوستان متاسفانه سایتم از منابع سرور زیاد داره استفاده میکنه و اررور میده.

به پشتیبانی گفتم در جواب بهم داد :

=====================

Hi,

The following are the LVE logs showing the status of the Entry Processes for your account "flymumqu".

---

lveinfo -u flymumqu

From To aCPU mCPU lCPU aEP mEP lEP aVMem mVMem lVMem EPf VMemF

01-21 07:20 01-21 07:25 0 4 6 6 18 20 73.4M 111.8M 1.0G 0 0

01-21 07:25 01-21 07:30 0 3 6 2 11 20 69.9M 123.7M 1.0G 0 0

01-21 07:29 01-21 07:30 1 2 6 10 18 20 91.4M 109.7M 1.0G 0 0

---

Once a request comes in into apache, a specific module intercepts it and places apache process that will handle that request into LVE. That process is called an "entry process". Once this request is done, the particular process is taken out of LVE. If there are already "max" entry processes in LVE the new process is rejected, and the module returns 503 error via apache. This helps to make sure that slow sites wouldn't take up all the apache connections. Now, this entry processes are not limited to apache, as any process that "enters" into LVE is considered entry processes. And such processes includes cron jobs for that users, and depending on the settings, shell access. Also, note that if any of the entry processes forks, creates children processes, runs another program -- it is not counted as an entry process. This also helps in preventing DoS attacks against web server.

So, whenever, the number of entry processes is lesser than 20, the site will load fine and if this limit is exceeded, the site will throw the resource usage error.

In order to correct this issue, you need to optimize the scripts and queries being used by your account. Furthermore, as your website is having a lot of static contents (images, css, etc) you can also use cloudfare to avoid such issues. CloudFlare acts as a proxy between your visitors and our server. By acting as a proxy, CloudFlare caches static content for your site, which lowers the number of requests to our servers, but still allows visitors to access your site. Another solution would be to upgrade to one of our VPS packages which will be available shortly.

A VPS would provide a virtual dedicated environment for your website, where the available resources will not be shared with any other domains.

Please verify this from your end and let me know if you ave any further queries.

===========

Cloudflare رو اوکی کردم این query و css مونده که متاسفانه بنده هیچ آشنایی باش ندارم.

کسی از دوستان میتونه کمکم کنه که انقدر به سرورم فشار نیاد؟

لینک به ارسال

به phpmyadmin برید جداول دیتابیس را سلکت آل کنید و از منوی کشویی optimize و یکبار دیگر هم replace را انتخاب کنید

در مورد css من چیز خاصی نمی بینم فقط سفارش کرده از سرویس Cloudflare استفاده کنید که می گید انجامش دادید البته من سرسری نگاه کردم اگر چیز خاصی است جدا کپی کنید

لینک به ارسال

ممنون ایمان جان انجام شد.

هم افزونه wp-optimize رو نصب کردم هم افزونه W3 Total Cache و هم از clodflare دارم استاده میکنم اما مشکل همچنان هست ...

لینک به ارسال

اینم یه جوا دیگشون:

Hello Alireza,

Thank you for your update.

I could understand your concern. But I suggest you to please check the script and optimize it with your developers. They will be in a better position to help you in this regard.

Let me know if you need any further assistance.

لینک به ارسال

لیست افزونه هاتون را بگذارید این پاسخ سرورتون هم که ظاهرا گفته منظورتون رو متوجه نشده و راهکار متداول بهینه سازی سایت را براتون شرح داده

به صفحه تنظیمات افزونه توتال کش برید و چک کنید Minify تیکدار باشد و اگر بود از بالای همان صفحه وارد شاخه اش بشوید و در انتهای صفحه Update external files every و Garbage collection interval را 86400 مقدار دهید و کش ها را پاک کنید و افزونه کش در ابتدای به ساکن فشار را بالا می برد چون در حال ذخیره صفحات است اما بعد از ذخیره آرامش به سایت بر می گردد

لینک به ارسال

انجام شد ایمان جان

دوباره پرسیدم ازشون مشکل دقیق از کجاس و من همه کارهیی که گفتنو انجام دادم اما باز مشکل دارم تو جواب دادن :

===

Hello Alireza,

I've again checked the server logs and could find the below messages:

===

[Mon Jan 21 01:13:25 2013] [error] mod_hostinglimits:Error on LVE enter: LVE(860) HANDLER(fcgid-script) HOSTNAME(flymusic.biz) URL(/index.php) TID(625578) errno (7) Read more: http://e.cloudlinux.com/MHL-E2BIG

[Mon Jan 21 04:23:32 2013] [error] mod_hostinglimits:Error on LVE enter: LVE(860) HANDLER(fcgid-script) HOSTNAME(www.flymusic.biz) URL(/index.php) TID(1044515) errno (7) Read more: http://e.cloudlinux.com/MHL-E2BIG

[Mon Jan 21 07:08:51 2013] [warn] [client 31.3.237.70] mod_fcgid: can't apply process slot for /usr/local/cpanel/cgi-sys/php-fcgi

===

As already updated earlier, the first error occurs when customer hits entry process limits.

The second error message is mainly occurs due to the number of fcgi processes that your site seems to be running simultaneously.

We allow 3 child process and for each child process, 256 worker processes. Once that limit is breached, you see that kind of error. However, those errors are auto-fixed once the number of processes reduce.

Regarding the optimization, you need to contact your web developer in order to optimize your code as well as database queries.

On checking, I could find that there are several sleep queries running for the database flymumqu_db.

Do check the below result:

===

# mysqladmin proc stat | grep flymumqu

| 19592856 | flymumqu_db | localhost | flymumqu_db | Sleep | 0 | | |

| 19592857 | flymumqu_db | localhost | flymumqu_db | Sleep | 1 | | |

=====

You can also refer the below links for optimizing mysql queries:

===

http://dev.mysql.com...timization.html

http://dev.mysql.com...ng-explain.html

===

Do refer the below links for more information about optimizing wordpress:

==

http://codex.wordpre...ss_Optimization

http://codex.wordpre...ess_Performance

==

Also, I would suggest you to delete unnecessary plugins and themes if any. Sometimes themes may cause issues. Some of the queries may be unoptimized. Examine your themes and replace dynamic code with static code.

Please note that we do not have proficiency in coding. Do contact your web developer and get the code optimized.

Feel free to revert back in case you need any further assistance.

Regards,

Arundhati R

===

کسی هست با هم بشینیم دیتابیس رو اوکی کنم؟

به خدا خسته شدم انقدر این سرور اون سرور کردم، امیدارم دوستان درک کنن و اگه آشنایی دارن کمکم کنن...

ویرایش شده توسط konjkav
لینک به ارسال

منظور از اینو نفهمیدم :

# mysqladmin proc stat | grep flymumqu

| 19592856 | flymumqu_db | localhost | flymumqu_db | Sleep | 0 | | |

| 19592857 | flymumqu_db | localhost | flymumqu_db | Sleep | 1 | | |

دوستان اگه کسی میتونه مشکلمو حل کنه دریغ نکنه خواهشا...

هزینه هم داشته باشه تقدیم میکنم.

لینک به ارسال

سلام دوست عزیز

آدرس سایتتونو بذارین یا پیام خصوص کنین تا چک بشه.

لینک به ارسال

به گفتگو بپیوندید

هم اکنون می توانید مطلب خود را ارسال نمایید و بعداً ثبت نام کنید. اگر حساب کاربری دارید، برای ارسال با حساب کاربری خود اکنون وارد شوید .

مهمان
ارسال پاسخ به این موضوع ...

×   شما در حال چسباندن محتوایی با قالب بندی هستید.   حذف قالب بندی

  تنها استفاده از 75 اموجی مجاز می باشد.

×   لینک شما به صورت اتوماتیک جای گذاری شد.   نمایش به صورت لینک

×   محتوای قبلی شما بازگردانی شد.   پاک کردن محتوای ویرایشگر

×   شما مستقیما نمی توانید تصویر خود را قرار دهید. یا آن را اینجا بارگذاری کنید یا از یک URL قرار دهید.

×
×
  • اضافه کردن...