Posts

Showing posts with the label ACT

How only 2 parameters of PostgreSQL reduced anomaly of Jira Data Center nodes

Image
  Hello community, Gonchik Tsymzhitov is in touch. Today, I would like to share with you a short story about postgresqltuner.pl in usage.  So from previous articles I hope you configured the PostgreSQL server and postgresqltuner.pl.  After executing command, ./postgresqltuner.pl --ssd for ssd disks server. You can see like this output: postgresqltuner.pl version 1.0.1 [OK]      I can invoke executables Connecting to /var/run/postgresql:5432 database template1 as user 'postgres'... [OK]      The user account used by me for reporting has superuser rights on this PostgreSQL instance =====  OS information  ===== [INFO]    OS: linux Version: 5.4.17-2036.102.0.2.el8uek.x86_64 Arch: x86_64-linux-thread-multi [INFO]    OS total memory: 41.03 GB [OK]      vm.overcommit_memory is adequate: no memory overcommitment [INFO]    Running under a vmware hypervisor [INFO]    Currently used I/O sc...

The story that old and reliable utilities sometimes need troubleshooting on new OS (CentOS 8)

Image
  Hello community, Gonchik Tsymzhitov is in touch. Today, I want to share with you a short story about how trustworthy tools unexpectedly break on new operating systems, and how easy they are to be repaired. So, we all know that  centos.rip , after a very period of time, so I am migrating everywhere to Oracle Linux 8. My favorite tool for setting up PostgreSQL servers is postgresqltuner.pl, which I have already covered  in this article . Setting up as usual is very simple: # dnf install -y perl-DBD-Pg # wget -O postgresqltuner.pl https://postgresqltuner.pl # chmod +x postgresqltuner.pl But this time, when I ran the script, I encountered such a problem after command, # ./postgresqltuner.pl --ssd Can't locate Memoize.pm in @INC (you may need to install the Memoize module) (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at ./postgresqltuner.pl line 262. BEGIN failed--co...

So when we need to adjust configures for RDBMS? Or DB Performance analysis tools through lazy eyes

Image
  Hi, the community! Today, I would like to speak about configuration for the RDBMS (like MySQL, PostgreSQL, MS SQL, Oracle) and I will be happy to read your feedback. That article will have 4 parts (overview, use cases, specific products, deadlock). Many times as I see into different environments, installations with Atlassian Suite, as most of the configs are defaults. Therefore I want to share with small tips and tricks, which is used by me for a long time.   Based on that maybe someone will be interested in the short links, for first the configuration before starting to go deep into ANALYZE, EXPLAIN utils. Let’s start it.    PostgreSQL   My favorite tool is  https://pgtune.leopard.in.ua/#/ Via that service, I can easy to set the first parameters. I do recommend you check the DB pool connections in dbconfig.xml ( KB of dbconfig.xml ) + add a few extra connections (typically I add +10 it depends on replication/bi/other connections), otherwise, you can’t lo...

How to easily decrease the heap size for your server product?

Image
  Hi, community!    I would like to share my experience using the String deduplication functionality in JVM.  A suggestion was based on community questions and GC logs provided by members, where I have not seen that feature on JVM parameters.  Disclaimer,   as usual, everything should be tested in the test-environment first. My use case was started from the next situation, if you have a system where you can not extend RAM easier and don't want to use as a swap file.   Well let's start, as you know that a string deduplication feature added into Java 8 update 20 (it is super old release, 2014). All technical info you can in JEP-192 -  http://openjdk.java.net/jeps/192   You can enabled in G1 GC with next parameters: -XX:+UseG1GC -XX:+UseStringDeduplication   -XX:+PrintStringDeduplicationStatistics   UseStringDeduplication   ( bool ) -  Enable string deduplication PrintStringDeduplicationStatistics   ( bool ) - ...

How do you analyze GC logs, thread dumps and head dumps?

Image
  Hi awesome community!  In this article, I would like to describe the one of the toolset (service) for the analyze some problems on different Java-based instances, of course, as Atlassian administrator, first of all, it is Atlassian applications. First, of the all, I want to say many thanks to the Atlassian Ecosystem developers for the providing  Troubleshooting and Support tools . Because a lot of users can provide easy support.zip with thread dumps and GC logs if it is enabled ( since 7.4 it is pre-populated in the configs ). By the way, you can take a thread dump yourself using the  jps  ( or old way  ps aux | grep java ) and   jstack . I hope these useful articles will help you ( 1 ,  2 ,  3 ,  4 ,  5 ). Well, let's back to our steps about GC, if you click and read the  KB about GC logging  then you will find already interesting tools  GC viewer ,  Visual GC , but it will be good if ...