Enabling log makes the pages slow

Just like the topic says: when I enable the log it makes the pages (even the folder views) slow. Takes about 5 sec for them to display. Doesn't matter if I have the cache on or off.

Any ideas?

i probably know what is the

i probably know what is the problem ... but not sure. I try there to log the ip adress of the user, but not only the numbers but also the damain name and for this i have there something like dnslookup and this is probably slow on your server ...

try to change main.php:
find there call of the function gethostbyaddr
you will find following line:

$host=gethostbyaddr($_SERVER['REMOTE_ADDR']);

change it as following:

$host=$_SERVER['REMOTE_ADDR'];

after this you will only see the ip adresses not the domain names. but hopefully it will be faster.

Great! That fixed it! Thanks

Great!

That fixed it! Thanks a lot.

Sounds like a great idea.

Sounds like a great idea.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.


style="display:inline-block;width:468px;height:60px"
data-ad-client="ca-pub-8698264690166658"
data-ad-slot="4417389723">