WordPress.org

Ready to get started?Download WordPress

Forums

ms-files.php cause high cpu load (18 posts)

  1. kandombe
    Member
    Posted 2 years ago #

    hello, i have a server whit a single procesor 4 core 2.5ghz and 4gb ram

    the load is usually between 3 and 7%, but sometimes has peaks of 100%

    http://kandombe.com/load.png

    i have a mulsite install with buddypress

    when the load has peaks you can see many processes ms-files.php

    http://kandombe.com/cpu.png

    what can be the problem, would i have to return to simple installation?

  2. You also have a problem with forcing www in your blog.

    http://kandombe.com/load.png doesn't work.

    http://www.kandombe.com/load.png does.

    That's a different issue.

    Read http://thethemefoundry.com/blog/optimize-apache-wordpress/

    You'll get a lot of milage out of optomizing your server, as well as applying some caching. Plugins like wp Super Cache and W3 Total Cache will help.

  3. kandombe
    Member
    Posted 2 years ago #

    hi ipstenu, i'm using W3 Total Cache now

    Page Caching using disk: enhanced
    Database Caching disk: basic
    Object Caching disk: basic

    i disable buddypress but the problem still persist

  4. kandombe
    Member
    Posted 2 years ago #

    11678 (Trace) (Kill) 	kandom 	4 	
    
     23.0 	
    
     0.8 	/usr/bin/php /home/kandom/public_html/index.php
    11698 (Trace) (Kill) 	kandom 	4 	
    
     17.0 	0.4 	/usr/bin/php /home/kandom/public_html/wp-includes/ms-files.php
    11696 (Trace) (Kill) 	kandom 	4 	
    
     17.0 	0.0 	[php] <defunct>
    11713 (Trace) (Kill) 	kandom 	4 	
    
     17.0 	0.0 	[php]
    11699 (Trace) (Kill) 	kandom 	4 	
    
     16.0 	0.4 	/usr/bin/php /home/kandom/public_html/wp-includes/ms-files.php
    11708 (Trace) (Kill) 	kandom 	4 	
    
     16.0 	0.4 	/usr/bin/php /home/kandom/public_html/index.php
    11711 (Trace) (Kill) 	kandom 	4 	
    
     16.0 	0.4 	/usr/bin/php /home/kandom/public_html/wp-includes/ms-files.php
    11714 (Trace) (Kill) 	kandom 	4 	
    
     16.0 	0.3 	/usr/bin/php /home/kandom/public_html/wp-includes/ms-files.php
    11679 (Trace) (Kill) 	kandom 	4 	
    
     16.0 	0.0 	[php] <defunct>
    11684 (Trace) (Kill) 	kandom 	4 	
    
     16.0 	0.0 	[php] <defunct>
    11710 (Trace) (Kill) 	kandom 	4 	
    
     16.0 	0.0 	[php] <defunct>
    11715 (Trace) (Kill) 	kandom 	4 	
    
     16.0 	0.0 	[php] <defunct>
    11709 (Trace) (Kill) 	kandom 	4 	
    
     15.0 	0.4 	/usr/bin/php /home/kandom/public_html/wp-includes/ms-files.php
    11706 (Trace) (Kill) 	kandom 	4 	
    
     15.0 	0.3 	/usr/bin/php /home/kandom/public_html/wp-includes/ms-files.php
    11707 (Trace) (Kill) 	kandom 	4 	
    
     15.0 	0.3 	/usr/bin/php /home/kandom/public_html/wp-includes/ms-files.php
    11717 (Trace) (Kill) 	kandom 	4 	
    
     15.0 	0.3 	/usr/bin/php /home/kandom/public_html/wp-includes/ms-files.php
    11720 (Trace) (Kill) 	kandom 	4 	
    
     13.0 	0.2 	/usr/bin/php /home/kandom/public_html/wp-includes/ms-files.php
    11719 (Trace) (Kill) 	kandom 	4 	
    
     12.0 	0.2 	/usr/bin/php /home/kandom/public_html/wp-includes/ms-files.php
    11722 (Trace) (Kill) 	kandom 	4 	
    
     12.0 	0.2 	/usr/bin/php /home/kandom/public_html/wp-includes/ms-files.php
    11721 (Trace) (Kill) 	kandom 	4 	
    
     11.0 	0.2 	/usr/bin/php /home/kandom/public_html/wp-includes/ms-files.php
    11725 (Trace) (Kill) 	kandom 	4 	
    
     9.0 	0.2 	/usr/bin/php /home/kandom/public_html/wp-includes/ms-files.php
    11727 (Trace) (Kill) 	kandom 	4 	
    
     8.0 	0.2 	/usr/bin/php /home/kandom/public_html/wp-includes/ms-files.php
    11732 (Trace) (Kill) 	kandom 	4 	
    
     8.0 	0.2 	/usr/bin/php /home/kandom/public_html/wp-includes/ms-files.php
    11733 (Trace) (Kill) 	kandom 	4 	
    
     6.0 	0.2 	/usr/bin/php /home/kandom/public_html/wp-includes/ms-files.php
    11735 (Trace) (Kill) 	kandom 	4 	
    
     6.0 	0.2 	/usr/bin/php /home/kandom/public_html/wp-cron.php
    11457 (Trace) (Kill) 	kandom 	4 	
    
     2.2 	0.0 	[php] <defunct>
    11481 (Trace) (Kill) 	kandom 	4 	
    
     2.1 	0.0 	[php] <defunct>
    11362 (Trace) (Kill) 	kandom 	4 	
    
     1.3 	0.0 	[php] <defunct>
  5. You need to optomize your server too. Change the min/max settings etc. Install APC or something similar to cache on the server side.

    I'm using a server with 1G memory, a multisite with 4 sites, and three other heavily visited sites. Nary an issue.

  6. kandombe
    Member
    Posted 2 years ago #

    thanks for your update

    how many visits do you have? i have like 50.000 whit 2 or 3 views per user

  7. Per day, per month...?

  8. kandombe
    Member
    Posted 2 years ago #

    50.000 unique users per day

  9. Added up, yes, the sites total about that. (Wow, when did that happen?)

    Averages of 4-5 pages per visitor.

  10. Per your other post, no you can't turn it off. It's required to handle your images right now. When that trac ticket you found is completed we can.

    You need to do some server optimization.

    (Bear in mind, wordpress.COM uses the same setup so it can support that much traffic. You just may need a better built server)

  11. kandombe
    Member
    Posted 2 years ago #

    thanks!

    can you tell me what are the w3 total cache settings you're using? and which version of APC?

  12. Page Cache is Disk Enhanced, Minify is Disk (and manually selected), Object Cache uses APC, Browser Cache is on.

    APC is 3.1.9

  13. kandombe
    Member
    Posted 2 years ago #

    great, i will try with your configuration

  14. kandombe
    Member
    Posted 2 years ago #

    hello, my support has installed the APC, and i config the w3 total cache as you said

    the things, goes really wrong now :S

    http://androidzone.org/apache.png

    maybe is my server, can you tell me whats your provider ?

  15. Like I said before, there's a lot of server stuff you can optomize.

    Read http://thethemefoundry.com/blog/optimize-apache-wordpress/

    I played a LOT with my min/max and other settings to tune my server. And my host (Liquidweb) helped a lot.

  16. kandombe
    Member
    Posted 2 years ago #

    ok, i will have to learn
    if you know some other useful tutorials please let me know
    thanks you!

  17. kandombe
    Member
    Posted 1 year ago #

    hello ipstenu

    in in liquidweb right now, and the pic loads problems are still remain

    can recomendme a service for optimize wordpress?

    thanks

    this are the log

    [ Moderator Note: Please post logs, code or markup snippets between backticks or use the code button. ]

    Pid 	Owner 	Priority 	CPU % 	Memory % 	Command
    15442 (Trace) (Kill) 	nobody 	0 	
    
     2.0 	0.2 	/usr/local/bin/perl /etc/munin/plugins/apache_volume config
    15440 (Trace) (Kill) 	kandombe 	0 	
    
     1.0 	
    
     0.6 	/usr/bin/php /home/kandombe/public_html/wp-includes/ms-files.php
    15430 (Trace) (Kill) 	kandombe 	0 	
    
     1.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/wp-includes/ms-files.php
    15431 (Trace) (Kill) 	kandombe 	0 	
    
     1.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/wp-includes/ms-files.php
    15435 (Trace) (Kill) 	kandombe 	0 	
    
     1.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/wp-includes/ms-files.php
    15437 (Trace) (Kill) 	kandombe 	0 	
    
     1.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/wp-includes/ms-files.php
    15438 (Trace) (Kill) 	kandombe 	0 	
    
     1.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/wp-includes/ms-files.php
    15441 (Trace) (Kill) 	kandombe 	0 	
    
     1.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/index.php
    15418 (Trace) (Kill) 	root 	0 	0.3 	
    
     2.5 	whostmgr2 - top ./top
    15427 (Trace) (Kill) 	kandombe 	0 	0.3 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/index.php
    15179 (Trace) (Kill) 	munin 	0 	0.2 	
    
     0.8 	/usr/bin/perl /usr/share/munin/munin-update
    15420 (Trace) (Kill) 	kandombe 	0 	0.2 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/index.php
    15425 (Trace) (Kill) 	kandombe 	0 	0.2 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/index.php
    10591 (Trace) (Kill) 	mysql 	0 	0.1 	
    
     1.4 	/usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/server.kandombe.com.pid --skip-external-locking
    14206 (Trace) (Kill) 	kandombe 	0 	0.1 	
    
     1.4 	/usr/bin/php /home/kandombe/public_html/index.php
    14324 (Trace) (Kill) 	kandombe 	0 	0.1 	
    
     1.3 	/usr/bin/php /home/kandombe/public_html/index.php
    14292 (Trace) (Kill) 	kandombe 	0 	0.1 	
    
     1.2 	/usr/bin/php /home/kandombe/public_html/index.php
    15416 (Trace) (Kill) 	kandombe 	0 	0.1 	
    
     0.6 	/usr/bin/php /home/kandombe/public_html/wp-includes/ms-files.php
    15415 (Trace) (Kill) 	kandombe 	0 	0.1 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/index.php
    15421 (Trace) (Kill) 	kandombe 	0 	0.1 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/index.php
    15422 (Trace) (Kill) 	kandombe 	0 	0.1 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/index.php
    15424 (Trace) (Kill) 	kandombe 	0 	0.1 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/wp-includes/ms-files.php
    14163 (Trace) (Kill) 	kandombe 	0 	0.1 	0.0 	[php] <defunct>
    14288 (Trace) (Kill) 	kandombe 	0 	0.1 	0.0 	[php] <defunct>
    14194 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     1.4 	/usr/bin/php /home/kandombe/public_html/index.php
    15419 (Trace) (Kill) 	munin 	0 	0.0 	
    
     0.7 	/usr/share/munin/munin-update [Munin::Master::UpdateWorker<kandombe.com;server.kandombe.com>]
    1246 (Trace) (Kill) 	systuser 	0 	0.0 	
    
     0.6 	SonarPush 0.4.0 [sleeping]
    15029 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/wp-includes/ms-files.php
    15155 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/wp-includes/ms-files.php
    15166 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/index.php
    15194 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/wp-includes/ms-files.php
    15197 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/wp-includes/ms-files.php
    15198 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/wp-includes/ms-files.php
    15199 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/wp-includes/ms-files.php
    15200 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/index.php
    15201 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/index.php
    15202 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/index.php
    15203 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/index.php
    15204 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/index.php
    15205 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/index.php
    15206 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/index.php
    15208 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/wp-includes/ms-files.php
    15209 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/wp-includes/ms-files.php
    15211 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/index.php
    15353 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/wp-includes/ms-files.php
    15354 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/wp-includes/ms-files.php
    15355 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/wp-includes/ms-files.php
    15356 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/wp-includes/ms-files.php
    15357 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/wp-includes/ms-files.php
    15358 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/index.php
    15359 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/index.php
    15361 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/index.php
    15362 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/wp-includes/ms-files.php
    15363 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/index.php
    15364 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/index.php
    15365 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/index.php
    15374 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/index.php
    15375 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/index.php
    15376 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/wp-includes/ms-files.php
    15377 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/index.php
    15379 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/wp-includes/ms-files.php
    15380 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/wp-includes/ms-files.php
    15381 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/wp-includes/ms-files.php
    15382 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/wp-cron.php
    15383 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/wp-cron.php
    15384 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/wp-cron.php
    15385 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/wp-cron.php
    15386 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/wp-cron.php
    15387 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/wp-cron.php
    15388 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/index.php
    15389 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/index.php
    15390 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/wp-includes/ms-files.php
    15392 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/wp-includes/ms-files.php
    15393 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/index.php
    15397 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/index.php
    15398 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/wp-includes/ms-files.php
    15399 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/wp-includes/ms-files.php
    15402 (Trace) (Kill) 	root 	0 	0.0 	
    
     0.5 	whostmgrd - serving 190.188.103.23
    15403 (Trace) (Kill) 	root 	0 	0.0 	
    
     0.5 	whostmgrd - serving 190.188.103.23
    15413 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/wp-includes/ms-files.php
    15414 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/wp-includes/ms-files.php
    15417 (Trace) (Kill) 	kandombe 	0 	0.0 	
    
     0.5 	/usr/bin/php /home/kandombe/public_html/index.php
    14161 (Trace) (Kill) 	kandombe 	0 	0.0 	0.4 	/usr/bin/php /home/kandombe/public_html/index.php
  18. Ask liquidweb. You're paying them, they'll help :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags