Ticket #240 (closed enhancement: fixed)

Opened 4 years ago

Last modified 12 months ago

Make gethostbyaddr() configurable

Reported by: DarTar Owned by: DarTar
Priority: high Milestone: 1.2
Component: core Version: 1.1.6.2
Severity: major Keywords: extreme slowness trunk-ported
Cc:

Description

On some servers, host lookup can dramatically slow down page generation times. We should make this option configurable and change the GetUserName() method accordingly for users experiencing this problem.

Refs

Change History

Changed 4 years ago by DarTar

  • owner changed from unassigned to DarTar
  • status changed from new to assigned

Changed 4 years ago by DarTar

  • status changed from assigned to closed
  • resolution set to fixed

code committed in [134]

Changed 18 months ago by DarTar

  • milestone changed from 1.2 to 1.3

Retargeting to 1.3, this ticket has already been closed in trunk, from which 1.3 will be branched. Consider backporting urgent issues to 1.2.X

Changed 16 months ago by DarTar

  • keywords trunk-ported added
  • milestone changed from 1.3 to 1.2

Moving this back to 1.2 as it has consequences on the stability of the engine and it has been already patched in trunk.

Changed 13 months ago by DarTar

  • status changed from closed to reopened
  • resolution fixed deleted

This has not been backported to 1.2 yet

Changed 13 months ago by DarTar

(In [1445]) backporting [134] from trunk: adds new config option "enable_user_host_lookup" to fix extreme slowness issue when looking up hostnames (thanks J_Rey for spotting this) refs #240 and #575

Changed 13 months ago by DarTar

  • status changed from reopened to assigned

Changed 13 months ago by DarTar

  • status changed from assigned to testing

Changed 12 months ago by BrianKoontz

  • status changed from testing to commit

Tested both states to confirm whoami menulet returned either the hostname or IP address.

Changed 12 months ago by BrianKoontz

  • status changed from commit to closed
  • resolution set to fixed

Changed 12 months ago by BrianKoontz

Added config option to  Docs:ConfigurationOptions.

Note: See TracTickets for help on using tickets.