Files
pgMultiMasterAgent/instructions.txt
T
george 7e2eb9ea4b feat:
--ADDED API TO INCREASE MAX CONNECTIONS TO DB
2026-09-29 17:40:29 +05:30

42 lines
836 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
|==================================================|
|FIND VENV READING LOCATION AND OTHER INFO ABT VENV|
|==================================================|
which python
which pip
python --version
pip show psycopg2
pip show psycopg2-binary
pip freeze | grep psycopg
deactivate
source /home/george/Desktop/PROJECT26/psqlDB/venv/bin/activate
INSTALL IN DB, IF NOT DONE!!!
CREATE EXTENSION IF NOT EXISTS pg_stat_statements;
psutil.cpu_percent()
psutil.virtual_memory()
psutil.disk_usage()
const token = localStorage.getItem("token");
const socket = new WebSocket(
`ws://172.16.10.178:8000/ws/node/replication-health?token=${encodeURIComponent(token)}`
);
| Server size | Reasonable starting point |
|---|---:|
| 2–4 GB RAM | 50–100 |
| 8 GB RAM | 100–300 |
| 16 GB RAM | 200–500 |
| 32+ GB RAM | 300–1000+ |