Discussion:
[graylog2] PHP-FPM latency when Graylog is running
j***@gmail.com
2016-11-18 12:55:12 UTC
Permalink
Hello,

We have a server on which graylog-server is installed. This server is also
used to host other websites and we use Apache (2.2.15) and PHP-FPM (5.6.5)
for those sites.
When I start graylog-server, even though there is no log at all configured
for graylog-server to read (I deleted all the inputs), my PHP files (a.php)
all take more time to be loaded (around 30sec more on response time), but
my HTML files (b.html) are not affected.

Example :

When graylog is not running :

time curl -Lk "http://mysite/joel.html"

joel

*real 0m 1.34s*

user 0m 0.04s

sys 0m 0.01s

time curl -Lk "http://mysite/joel.php"

joel

*real 0m 2.09s*

user 0m 0.03s

sys 0m 0.04s

When graylog is running :

time curl -Lk "http://mysite/joel.html"

joel

*real 0m 1.57s*

user 0m 0.03s

sys 0m 0.04s

time curl -Lk "http://mysite/joel.php"

*joel*

real 0m 32.62s

user 0m 0.00s

sys 0m 0.04s

Has this issue already been sighted ?
If yes, is there a specific configuration that need to be implemented in
Apache or PHP or graylog to solve this ?

- Graylog Version: 2.0.3-1
- Elasticsearch Version: 2.3.3-1
- MongoDB Version: 3.0.12
- Operating System: CentOS 6.7

Thank you in advance,
Joël
--
You received this message because you are subscribed to the Google Groups "Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to graylog2+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/graylog2/13758676-42ba-407c-87c0-c93b0c5fe0d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jochen Schalanda
2016-11-18 13:15:28 UTC
Permalink
Hi Joël,

I'm not sure what you expect to get as an answer.

Yes, Graylog and its dependencies require some hardware resources and if
your machine isn't that powerful, other parts of the system might suffer,
e. g. because the system needs to swap.

Cheers,
Jochen
Post by j***@gmail.com
Hello,
We have a server on which graylog-server is installed. This server is also
used to host other websites and we use Apache (2.2.15) and PHP-FPM (5.6.5)
for those sites.
When I start graylog-server, even though there is no log at all configured
for graylog-server to read (I deleted all the inputs), my PHP files (a.php)
all take more time to be loaded (around 30sec more on response time), but
my HTML files (b.html) are not affected.
time curl -Lk "http://mysite/joel.html"
joel
*real 0m 1.34s*
user 0m 0.04s
sys 0m 0.01s
time curl -Lk "http://mysite/joel.php"
joel
*real 0m 2.09s*
user 0m 0.03s
sys 0m 0.04s
time curl -Lk "http://mysite/joel.html"
joel
*real 0m 1.57s*
user 0m 0.03s
sys 0m 0.04s
time curl -Lk "http://mysite/joel.php"
*joel*
real 0m 32.62s
user 0m 0.00s
sys 0m 0.04s
Has this issue already been sighted ?
If yes, is there a specific configuration that need to be implemented in
Apache or PHP or graylog to solve this ?
- Graylog Version: 2.0.3-1
- Elasticsearch Version: 2.3.3-1
- MongoDB Version: 3.0.12
- Operating System: CentOS 6.7
Thank you in advance,
Joël
--
You received this message because you are subscribed to the Google Groups "Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to graylog2+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/graylog2/204314c1-1c73-414c-b139-111fe590b8d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...