Hi Team,
We have Multiple Gateway (approx. 8 to 10 ) gateway managed by an SMS server.
SMS server Hosted on VM with R80.40 Take 197.
Initially Log delay on smartconsole was around 2 to 3 hours in the beginning. Post performing "Instal Database" on SMS, the issue resolved.
Now, we again observe this issue intermediately . But this time it is 15 to 20 min delay during peak hours.
-Connectivity from Gateway to SMS server is fine.
-CPU and Memory utilization was fine during peak hours.
-CPWD_Admin list was all Established.
-Logs increasing on $FWDIR/log
-df -kh was having ample amount of space.
-lvm manager also had around 400 GB free space for logs.
We are observing this issue observed 15 to 20 days back. I have check the Indexing logs and found the below errors. Please let me know if this points to anything ?
Logs
Below logs , i see from Aug 8 from when the issue is observed.
[Expert@]# cat log_indexer.elg.1 | grep error
[4069522240][28 Aug 15:42:55] CMappedBinaryFile::[01;31m[Kerror[m[K opening file /opt/CPsuite-R80.40/fw1/log/pg_gaia_dump.log
[4069522240][28 Aug 15:42:55] CLogFile::Open2: [01;31m[Kerror[m[K: open (/opt/CPsuite-R80.40/fw1/log/pg_gaia_dump.log) for reading failed
[4080003904][28 Aug 16:07:39] CMappedBinaryFile::[01;31m[Kerror[m[K opening file /opt/CPsuite-R80.40/fw1/log/pg_gaia_dump.log
[4080003904][28 Aug 16:07:39] CLogFile::Open2: [01;31m[Kerror[m[K: open (/opt/CPsuite-R80.40/fw1/log/pg_gaia_dump.log) for reading failed
[4100971328][28 Aug 16:27:36] CMappedBinaryFile::[01;31m[Kerror[m[K opening file /opt/CPsuite-R80.40/fw1/log/pg_gaia_dump.log
[4100971328][28 Aug 16:27:36] CLogFile::Open2: [01;31m[Kerror[m[K: open (/opt/CPsuite-R80.40/fw1/log/pg_gaia_dump.log) for reading failed
[4109364032][28 Aug 17:06:14] CMappedBinaryFile::[01;31m[Kerror[m[K opening file /opt/CPsuite-R80.40/fw1/log/pg_gaia_dump.log
[4109364032][28 Aug 17:06:14] CLogFile::Open2: [01;31m[Kerror[m[K: open (/opt/CPsuite-R80.40/fw1/log/pg_gaia_dump.log) for reading failed
[4069522240][28 Aug 17:31:25] CMappedBinaryFile::[01;31m[Kerror[m[K opening file /opt/CPsuite-R80.40/fw1/log/pg_gaia_dump.log
[4069522240][28 Aug 17:31:25] CLogFile::Open2: [01;31m[Kerror[m[K: open (/opt/CPsuite-R80.40/fw1/log/pg_gaia_dump.log) for reading failed
[4069522240][28 Aug 18:07:22] CMappedBinaryFile::[01;31m[Kerror[m[K opening file /opt/CPsuite-R80.40/fw1/log/pg_gaia_dump.log
[4069522240][28 Aug 18:07:22] CLogFile::Open2: [01;31m[Kerror[m[K: open (/opt/CPsuite-R80.40/fw1/log/pg_gaia_dump.log) for reading failed
[4080003904][28 Aug 18:34:53] CMappedBinaryFile::[01;31m[Kerror[m[K opening file /opt/CPsuite-R80.40/fw1/log/pg_gaia_dump.log
======================================================================================================
[Expert@]# cat pg_gaia_dump.log
Thu Jan 19 14:10:59 IST 2023 Initiating psql_dumpall_client
Thu Jan 19 14:10:59 IST 2023 PID of psql_dumpall_client is 44430
Thu Jan 19 14:10:59 IST 2023 Noticed change in file size of dump file
Thu Jan 19 14:10:59 IST 2023 Previous recorded dump file size is -1
Thu Jan 19 14:10:59 IST 2023 Sleeping for 1 minute
Thu Jan 19 14:10:59 IST 2023
Thu Jan 19 14:11:59 IST 2023 Current size of dump file is 135036928
Thu Jan 19 14:11:59 IST 2023 Noticed change in file size of dump file
Thu Jan 19 14:11:59 IST 2023 Previous recorded dump file size is 0
Thu Jan 19 14:11:59 IST 2023 Sleeping for 1 minute
Thu Jan 19 14:11:59 IST 2023
Thu Jan 19 14:12:59 IST 2023 Current size of dump file is 330268672
Thu Jan 19 14:12:59 IST 2023 Noticed change in file size of dump file
Thu Jan 19 14:12:59 IST 2023 Previous recorded dump file size is 135036928
Thu Jan 19 14:12:59 IST 2023 Sleeping for 1 minute
Thu Jan 19 14:12:59 IST 2023
Thu Jan 19 14:13:59 IST 2023 Current size of dump file is 671607745
Thu Jan 19 14:13:59 IST 2023 Noticed change in file size of dump file
Thu Jan 19 14:13:59 IST 2023 Previous recorded dump file size is 330268672
Thu Jan 19 14:13:59 IST 2023 Sleeping for 1 minute
Thu Jan 19 14:13:59 IST 2023
Thu Jan 19 14:14:59 IST 2023 Current size of dump file is 671607745
Thu Jan 19 14:14:59 IST 2023 Dumpall client has exited with status 0
Thu Jan 19 14:14:59 IST 2023 PID of psql_dumpall_client is 44430
Thu Jan 19 14:14:59 IST 2023 psql_dumpall_client has completed and located in /opt/CPsuite-R80.40/fw1/tmp/migrate//ren_db.gz
Tue Aug 8 15:43:00 IST 2023 Initiating psql_dumpall_client
Tue Aug 8 15:43:00 IST 2023 PID of psql_dumpall_client is 19608
Tue Aug 8 15:43:00 IST 2023 Noticed change in file size of dump file
Tue Aug 8 15:43:00 IST 2023 Previous recorded dump file size is -1
Tue Aug 8 15:43:00 IST 2023 Sleeping for 1 minute
Tue Aug 8 15:43:00 IST 2023
pg_dump: Dumping the contents of table "dbindexnetworkobject_data" failed: PQgetResult() failed.
pg_dump: Error message from server: FATAL: terminating connection due to administrator command
pg_dump: The command was: COPY public.dbindexnetworkobject_data (objid, abacusserver, appliancetype, checkpointobjid, clustermember, cpproductsinstalled, cpmitype, dag, dlesession, domainid, external, firewall, floodgate, folder, internal, ipaddr, ipaddr6, ipsblade, isbridge, junction, logserver, management, mediaip, netmask, netmask6, objfromxaddr, permissionprimitivepresetid, primarymanagement, profiletype, readprimitiveid, realtimemonitor, sicname, slimfwhardwaretype, sofawaredag, sofawaremode, sofawareoriginated, sofawarevpn, svnversionname, usedglobally, vendor, versionmajor, versionminor, versionoptionpack, vsclustermember, vsclusternetobj, vsnetobj, vsxclustermember, vsxclusternetobj, vsxnetobj, opid, fromversion, toversion, editingsession, deleted) TO stdout;
pg_dumpall: pg_dump failed on database "cpm", exiting
Tue Aug 8 15:44:00 IST 2023 Current size of dump file is 61849346
Tue Aug 8 15:44:00 IST 2023 Noticed change in file size of dump file
Tue Aug 8 15:44:00 IST 2023 Previous recorded dump file size is 0
Tue Aug 8 15:44:00 IST 2023 Sleeping for 1 minute
Tue Aug 8 15:44:00 IST 2023
Tue Aug 8 15:45:00 IST 2023 Current size of dump file is 61849346
Tue Aug 8 15:45:00 IST 2023 Dumpall client has exited with status 1
Tue Aug 8 15:45:00 IST 2023 Postgres Dump failed! Please check postgres logs for more information
=========================================================================================================[Expert@]# psql_client cpm postgres -c "SELECT pg_size_pretty(pg_database_size('cpm'));"
pg_size_pretty
----------------
12 GB
(1 row)
=======================================================================================================
1) View LVM storage overview
2) Resize lv_current/lv_log Logical Volume
3) Quit
Select action: 1
LVM overview
============
Size(GB) Used(GB) Configurable Description
lv_current 150 54 yes Check Point OS and products
lv_log 1500 1201 yes Logs volume
lv_snapshot 53 53 no Snapshot volume
upgrade 165 N/A no Reserved for version upgrade
swap 64 N/A no Swap volume size
free 115 N/A no Unused space
------- ----
total 2047 N/A no Total size
press ENTER to continue.
==========================================================================================================
df -kh
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_splat-lv_current 150G 54G 97G 36% /
/dev/sda1 291M 43M 233M 16% /boot
tmpfs 63G 4.5M 63G 1% /dev/shm
/dev/mapper/vg_splat-lv_log 1.5T 1.2T 301G 80% /var/log