Sluggish servers
Forum
  1. Forums
  2. General
  3. General Discussion
  1. Mark
  2. Wednesday, 22 February 2017
  3.  Subscribe via email
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, it's fast (since I assume it's 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 it's loading tons of files, it's so slow, I have plenty of time to see what it's 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
Rate this post:
  1. 22.02.2017 18:02:38
  2. # 1
Bogdan Accepted Answer
Posts: 709
Joined: 26.06.2013
0
Votes
Undo
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.
  1. 16.03.2017 11:03:29
  2. # 2
Mark Accepted Answer
Posts: 0
Joined: 18.10.2019
0
Votes
Undo
Hi,

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

I'll create a support ticket.

Thanks!
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.