0

Tips & Tricks : Elasticsearch and Java insufficient memory

-

By default elasticsearch has 2GB of RAM set for JVM. In case you run it on VM with less memory you need to change:

  • Xms2g to –Xms512m
  • Xmx2g to –Xmx512m

in /etc/elasticsearch/jvm.options configuration file.

0

Tips & Tricks : Disable Microsoft Compatibility Telemetry Service

-

In case Microsoft Compatibility Telemetry process takes a lot of your processor, you can easily remove it:

  1. Run Command Prompt as Administrator.
  2. Execute following commands in Command Prompt:
  • sc delete DiagTrack
  • sc delete dmwappushservice
  • echo “” > C:\ProgramData\Microsoft\Diagnosis\ETLLogs\AutoLogger\AutoLogger-Diagtrack-Listener.etl
  • reg add “HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection” /v AllowTelemetry /t REG_DWORD /d 0 /f
0

How-to : Windows Event Collector: DNS Event Log Forwarding

-

Tomasz Jagiello strikes back as guest writer 🙂 This time on Windows Event Collector configuration for DNS Event Log forwarding. Very good how-to with detailed configuration.

Design where via Group Policy a Domain Controller group will be configured to forward DNS Server events to a single collector.

To test and demonstrate Event Log Forwarding I built simple Lab environment:

  • 2x Domain Controllers (DC1, DC2)
  • 1x Event Collector (SRV1).

win-event-collector-dns-01

(more…)

0

Tips & Tricks : Windows 10 & Windows Server 2016 reset on VMware ESX 6

-

Here is one from friend of mine, very skilled Senior IT Engineer, Tomasz Jagiello. Some bugs he identified while working with VMware ESX 6.

Symptoms

VM running Windows 10 (x64) as the Guest OS is automatically reset after some hours (roughly a day). Reoccurs daily.

The thread said it also applied to Windows Server 2016 VMs.

There is an unrecoverable error that cause the VMkernel to shut down / restart / crash the virtual machine.

VMware ESX unrecoverable error: (vcpu-0) NOT_REACHED bora/devices/ahci/ahci_user.c:1530

Check if you’re using a para-virtual SATA adapter in the settings of the VM.

 

Cause

There is a VMware bug where if the SATA adapter receives SMART communications on a non-SMART device the CPU bus locks up and ESX reboots the VM.

I was using SCSI for the VM disks and SATA for the VM CD-ROM.

 

Workaround

  1. Edit VM Hardware settings
    • Remove CD/ROM
    • OK
  2. Edit VM Hardware settings
    • Remove SATA Controller
    • OK
  3. Edit VM Hardware settings
    • Add CD/ROM
    • Change to IDE
    • Remove SATA Controller
    • OK
0

Tips & Tricks : Installing PHP Xdebug on openSUSE with pecl

-

If you need to install Xdebug on openSUSE and don’t want ot use existing binary repo easiest way is to use pecl to do that and here is how…

First install all required packages

dev-lnx-02:~ # zypper --non-interactive install gcc autoconf automake php5 php5-pear php5-devel

Now we can download and install Xdebug itself:

(more…)

Page 2 of 3412345...102030...Last »