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
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
Comment