Archive: Namaste PHP AMQP framework v1.0 (2017-2020)

952 days continuous production uptime, 40k+ tp/s single node.
Original corpo Bitbucket history not included — clean archive commit.
This commit is contained in:
2026-04-05 09:49:30 -07:00
commit 373ebc8c93
1284 changed files with 409372 additions and 0 deletions

24
scripts/stopBrokers.sh Normal file
View File

@@ -0,0 +1,24 @@
#!/usr/bin/env bash
#
# brokerStop.sh
#
# quick and dirty shell script to stop broker processes by sending the TERM kill signal.
# Brutal yet effective.
#
# HISTORY:
# --------
# 06-15-17 mks original coding
#
SCRIPT=$(readlink -f $0)
SCRIPTPATH=$(dirname ${SCRIPT})
PIDDIR="/../pids/"
PDIR=${SCRIPTPATH}${PIDDIR}
for pid in `ps -ef | awk '/\/brokers\// && !/awk/ {print $2}'`
do
kill $pid
done
rm ${PDIR}/* 2>/dev/null