Skip to content

Commit 0ad0cae

Browse files
committed
cleanups
1 parent f5fc8a5 commit 0ad0cae

File tree

2 files changed

+9
-16
lines changed

2 files changed

+9
-16
lines changed

README.md

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,6 @@ testing. All common tasks are managed via the Makefile.
55

66
## Setup
77

8-
Before running this project, ensure you have the following dependencies installed:
9-
10-
Check missing dependencies.
11-
12-
```bash
13-
./test-system.sh
14-
```
15-
168
### Required Dependencies
179

1810
1. **Docker & Docker Compose**
@@ -92,10 +84,14 @@ https://www.php.net/manual/en/opcache.configuration.php#:~:text=on%20all%20archi
9284
9385
```
9486
find . -type f -name "*.php" | wc -l
87+
```
9588
89+
```
9690
opcache.max_accelerated_files=16087
9791
```
9892
93+
Prime Number: 10000 -> 10007 (nearest prime)
94+
9995
### show fpm and opcache dashboard GUI
10096
10197
show fpm status page - http://localhost:8088/fpm-status
@@ -299,13 +295,6 @@ ps -C php-fpm -o %cpu,pid,cmd --no-headers
299295
ps --no-headers -o "rss,pid,cmd" -C php-fpm | sort -rn | head -5
300296
```
301297

302-
**Count processes by state:**
303-
```bash
304-
# Requires status page to be enabled
305-
curl -s http://localhost:8088/fpm-status?full | grep -c "state: Idle"
306-
curl -s http://localhost:8088/fpm-status?full | grep -c "state: Running"
307-
```
308-
309298
### Understanding the Output
310299

311300
**RSS (Resident Set Size):**
@@ -394,4 +383,7 @@ A detailed PHP-FPM and OPcache monitoring dashboard is available in Grafana. It
394383
- JIT and interned strings monitoring
395384
- Alerts and color-coded panels for quick health checks
396385

397-
**See [`grafana-dashboard.md`](grafana-dashboard.md) for a full description of all panels and dashboard features.**
386+
**See [`grafana-dashboard.md`](grafana-dashboard.md) for a full description of all panels and dashboard features.**
387+
388+
389+
## Show symfony.prod.ini file

docker/symfony.prod.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ pm.start_servers = 3
2828
pm.min_spare_servers = 3
2929
pm.max_spare_servers = 10
3030

31+
# Using APIs only, no sessions?
3132
session.auto_start=Off
3233

3334
opcache.preload_user=www-data

0 commit comments

Comments
 (0)