{"id":21810680,"url":"https://github.com/samdark/php-fpm_tuner","last_synced_at":"2026-03-17T18:05:38.786Z","repository":{"id":234731394,"uuid":"735641499","full_name":"samdark/php-fpm_tuner","owner":"samdark","description":"A script to tune PHP-FPM","archived":false,"fork":false,"pushed_at":"2024-06-11T05:54:44.000Z","size":5,"stargazers_count":181,"open_issues_count":0,"forks_count":6,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-08-20T03:53:15.269Z","etag":null,"topics":["perform","php","php-fpm","tuning"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samdark.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"samdark","patreon":"samdark"}},"created_at":"2023-12-25T16:45:03.000Z","updated_at":"2025-06-13T15:50:45.000Z","dependencies_parsed_at":"2024-04-20T15:58:26.008Z","dependency_job_id":"940071a6-6509-4814-ba56-e7ca4faa8798","html_url":"https://github.com/samdark/php-fpm_tuner","commit_stats":null,"previous_names":["samdark/php-fpm_tuner"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/samdark/php-fpm_tuner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samdark%2Fphp-fpm_tuner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samdark%2Fphp-fpm_tuner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samdark%2Fphp-fpm_tuner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samdark%2Fphp-fpm_tuner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samdark","download_url":"https://codeload.github.com/samdark/php-fpm_tuner/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samdark%2Fphp-fpm_tuner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30628405,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-17T17:32:55.572Z","status":"ssl_error","status_checked_at":"2026-03-17T17:32:38.732Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["perform","php","php-fpm","tuning"],"created_at":"2024-11-27T13:37:09.120Z","updated_at":"2026-03-17T18:05:38.752Z","avatar_url":"https://github.com/samdark.png","language":"PHP","funding_links":["https://github.com/sponsors/samdark","https://patreon.com/samdark"],"categories":[],"sub_categories":[],"readme":"# PHP-FPM tuner\n\nSimple script that helps tuning PHP-FPM.\n\n```\n❯ php php-fpm-tuner.php\n\npm.max_children = 11\nstart_servers = 3\nmin_spare_servers = 3\nmax_spare_servers = 8\n```\n\nThe script calculates `pm.max_children` based on available free memory and memory used for each worker (it is either determined from currently running workers or php.ini memory limit). `start_servers`, `min_spare_servers`, and `max_spare_servers` are taking both memory limits and CPU cores available into account.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamdark%2Fphp-fpm_tuner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamdark%2Fphp-fpm_tuner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamdark%2Fphp-fpm_tuner/lists"}