5. Tutorial Tune Up Akses GUI Pfsense Lebih Responsif
Assalamualaikum wr. wb.
Setelah beberapa waktu memakai Pfsense, dirasakan akses ke webgui nya Pfsense terasa lambat a.k.a loading lelet, yang sudah pk pfsense, bener gak kerasa lambat webguinya ?, apalagi ketika banyak service berjalan di dalamnya.
Akhirnya mencari sedikit pencerahan di mbah google, menemukan bahwa Pfsense utk akses webgui di setting default untuk hardware yg terbatas resourcenya a.k.a embedded.
Diperlukan sedikit tuning untuk bisa optimal di hardware x86. Memang terasa lebih responsif hasilnya setelah di tune. Mungkin hanya perasaan saja, mungkin saja ... kenapa tidak dicoba, gak ada ruginya toh ...
Sebaiknya backup dulu file2 yang akan di edit.
mumpung masih belum ngantuk berat
langsung saja
Peralatan tempur :
- mesin Pfsense yang sudah terinstall
- silakan aktifkan ssh di menu sistem -> advance
- winscp
untuk mengedit file2 berikut menggunakan winscp
setelah dirubah jangan lupa di save yah. terus di reboot mesin pfsense nya.
setelah done semua, gimana ... ada perubahan gak responsifitas akses web gui nya ?
1. edit manual file2 berikut
/var/etc
- lighty-CaptivePortal.conf
- lighty-webConfigurator.conf
======================
lighty-CaptivePortal.conf (aslinya)
#### fastcgi module
## read fastcgi.txt for more info
fastcgi.server = ( ".php" =>
( "localhost" =>
(
"socket" => "/tmp/php-fastcgi.socket",
"min-procs" => 1,
"max-procs" => 3,
"bin-environment" => (
"PHP_FCGI_CHILDREN" => "16",
"PHP_FCGI_MAX_REQUESTS" => "10"
),
"bin-path" => "/usr/local/bin/php"
)
)
)
menjadi :
#### fastcgi module
## read fastcgi.txt for more info
fastcgi.server = ( ".php" =>
( "localhost" =>
(
"socket" => "/tmp/php-fastcgi.socket",
"min-procs" => 1,
"max-procs" => 3,
"bin-environment" => (
"PHP_FCGI_CHILDREN" => "16",
"PHP_FCGI_MAX_REQUESTS" => "300"
),
"bin-path" => "/usr/local/bin/php"
)
)
)
==========================
lighty-webConfigurator.conf (aslinya)
#### fastcgi module
## read fastcgi.txt for more info
fastcgi.server = ( ".php" =>
( "localhost" =>
(
"socket" => "/tmp/php-fastcgi.socket",
"min-procs" => 1,
"max-procs" => 3,
"bin-path" => "/usr/local/bin/php"
)
)
)
menjadi :
#### fastcgi module
## read fastcgi.txt for more info
fastcgi.server = ( ".php" =>
( "localhost" =>
(
"socket" => "/tmp/php-fastcgi.socket",
"min-procs" => 1,
"max-procs" => 3,
#
"bin-environment" => (
"PHP_FCGI_CHILDREN" => "16",
"PHP_FCGI_MAX_REQUESTS" => "300"
),
"bin-path" => "/usr/local/bin/php"
)
)
)
=========================
2. edit juga file berikut :
/etc/inc
- system.inc
menjadi :
#### fastcgi module
## read fastcgi.txt for more info
fastcgi.server = ( ".php" =>
( "localhost" =>
(
"socket" => "/tmp/php-fastcgi.socket",
"min-procs" => 1,
"max-procs" => 3,
"bin-environment" => (
"PHP_FCGI_CHILDREN" => "16",
"PHP_FCGI_MAX_REQUESTS" => "300"
),
"bin-path" => "/usr/local/bin/php"
)
)
)
========================
Jangan ragu2 kalau ada yang salah atau perlu di koreksi
biar sama2 sharingnya yah
istirahat dulu yah ... sudah jam 1.30 AM, kena insomnia lagi deh 
resource :
DISINI
DISINI
DISINI
=================================================
Bersahabat dengan PfSense dan KIOSer