Announcement

Collapse
No announcement yet.

Sluggish servers

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Sluggish servers

    Hi,

    We run a few CL6 servers with these specs:
    4x Intel(R) Xeon(R) CPU X5675 @ 3.07GHz
    16GB MEM

    I found these servers terribly slow, at least the first time I run a command. The second time, its fast (since I assume its in cache mem)

    Now, take a simple php file with this content "<?php phpinfo();". When I run this command:

    strace -f /opt/alt/php56/usr/bin/php info.php
    real 0m33.552s
    user 0m0.086s
    sys 0m0.070s

    The second time:
    real 0m0.151s
    user 0m0.084s
    sys 0m0.052s

    During the first time, strace shows that its loading tons of files, its so slow, I have plenty of time to see what its loading.
    This server runs apache with LVE for a few thousand websites (the machines are in a LB setup).

    Everything is slow on these servers (at least the first time).

    A random "free" on one of the machines:
    total used free shared buffers cached
    Mem: 16280500 15677896 602604 2252 199476 8706344
    -/+ buffers/cache: 6772076 9508424
    Swap: 4194300 53680 4140620

    Anyone has an idea what could be the issue here?

    Kind regards,
    Mark

  • #2
    Are you running "/opt/alt/php56/usr/bin/php info.php" as a user? If so that could be io/iops limits (while next time data is taken from disk cache).

    If same for root - something is not right and we would like to check the issue in place. Better to create support ticket.

    Comment


    • #3
      Hi,

      I have the same issue when I run these commands as root.

      Ill create a support ticket.

      Thanks!

      Comment

      Working...
      X