A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property CI_URI::$config is deprecated
Filename: core/URI.php
Line Number: 101
Backtrace:
File: /var/www/newfarazinux/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property CI_Router::$uri is deprecated
Filename: core/Router.php
Line Number: 127
Backtrace:
File: /var/www/newfarazinux/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$benchmark is deprecated
Filename: core/Controller.php
Line Number: 75
Backtrace:
File: /var/www/newfarazinux/application/controllers/News.php
Line: 18
Function: __construct
File: /var/www/newfarazinux/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$hooks is deprecated
Filename: core/Controller.php
Line Number: 75
Backtrace:
File: /var/www/newfarazinux/application/controllers/News.php
Line: 18
Function: __construct
File: /var/www/newfarazinux/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$config is deprecated
Filename: core/Controller.php
Line Number: 75
Backtrace:
File: /var/www/newfarazinux/application/controllers/News.php
Line: 18
Function: __construct
File: /var/www/newfarazinux/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$log is deprecated
Filename: core/Controller.php
Line Number: 75
Backtrace:
File: /var/www/newfarazinux/application/controllers/News.php
Line: 18
Function: __construct
File: /var/www/newfarazinux/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$utf8 is deprecated
Filename: core/Controller.php
Line Number: 75
Backtrace:
File: /var/www/newfarazinux/application/controllers/News.php
Line: 18
Function: __construct
File: /var/www/newfarazinux/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$uri is deprecated
Filename: core/Controller.php
Line Number: 75
Backtrace:
File: /var/www/newfarazinux/application/controllers/News.php
Line: 18
Function: __construct
File: /var/www/newfarazinux/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$exceptions is deprecated
Filename: core/Controller.php
Line Number: 75
Backtrace:
File: /var/www/newfarazinux/application/controllers/News.php
Line: 18
Function: __construct
File: /var/www/newfarazinux/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$router is deprecated
Filename: core/Controller.php
Line Number: 75
Backtrace:
File: /var/www/newfarazinux/application/controllers/News.php
Line: 18
Function: __construct
File: /var/www/newfarazinux/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$output is deprecated
Filename: core/Controller.php
Line Number: 75
Backtrace:
File: /var/www/newfarazinux/application/controllers/News.php
Line: 18
Function: __construct
File: /var/www/newfarazinux/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$security is deprecated
Filename: core/Controller.php
Line Number: 75
Backtrace:
File: /var/www/newfarazinux/application/controllers/News.php
Line: 18
Function: __construct
File: /var/www/newfarazinux/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$input is deprecated
Filename: core/Controller.php
Line Number: 75
Backtrace:
File: /var/www/newfarazinux/application/controllers/News.php
Line: 18
Function: __construct
File: /var/www/newfarazinux/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$lang is deprecated
Filename: core/Controller.php
Line Number: 75
Backtrace:
File: /var/www/newfarazinux/application/controllers/News.php
Line: 18
Function: __construct
File: /var/www/newfarazinux/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$load is deprecated
Filename: core/Controller.php
Line Number: 78
Backtrace:
File: /var/www/newfarazinux/application/controllers/News.php
Line: 18
Function: __construct
File: /var/www/newfarazinux/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$db is deprecated
Filename: core/Loader.php
Line Number: 396
Backtrace:
File: /var/www/newfarazinux/application/controllers/News.php
Line: 18
Function: __construct
File: /var/www/newfarazinux/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property CI_DB_mysqli_driver::$failover is deprecated
Filename: database/DB_driver.php
Line Number: 371
Backtrace:
File: /var/www/newfarazinux/application/controllers/News.php
Line: 18
Function: __construct
File: /var/www/newfarazinux/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Return type of CI_Session_files_driver::open($save_path, $name) should either be compatible with SessionHandlerInterface::open(string $path, string $name): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: drivers/Session_files_driver.php
Line Number: 132
Backtrace:
File: /var/www/newfarazinux/application/controllers/News.php
Line: 18
Function: __construct
File: /var/www/newfarazinux/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Return type of CI_Session_files_driver::close() should either be compatible with SessionHandlerInterface::close(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: drivers/Session_files_driver.php
Line Number: 292
Backtrace:
File: /var/www/newfarazinux/application/controllers/News.php
Line: 18
Function: __construct
File: /var/www/newfarazinux/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Return type of CI_Session_files_driver::read($session_id) should either be compatible with SessionHandlerInterface::read(string $id): string|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: drivers/Session_files_driver.php
Line Number: 166
Backtrace:
File: /var/www/newfarazinux/application/controllers/News.php
Line: 18
Function: __construct
File: /var/www/newfarazinux/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Return type of CI_Session_files_driver::write($session_id, $session_data) should either be compatible with SessionHandlerInterface::write(string $id, string $data): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: drivers/Session_files_driver.php
Line Number: 235
Backtrace:
File: /var/www/newfarazinux/application/controllers/News.php
Line: 18
Function: __construct
File: /var/www/newfarazinux/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Return type of CI_Session_files_driver::destroy($session_id) should either be compatible with SessionHandlerInterface::destroy(string $id): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: drivers/Session_files_driver.php
Line Number: 315
Backtrace:
File: /var/www/newfarazinux/application/controllers/News.php
Line: 18
Function: __construct
File: /var/www/newfarazinux/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Return type of CI_Session_files_driver::gc($maxlifetime) should either be compatible with SessionHandlerInterface::gc(int $max_lifetime): int|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: drivers/Session_files_driver.php
Line Number: 356
Backtrace:
File: /var/www/newfarazinux/application/controllers/News.php
Line: 18
Function: __construct
File: /var/www/newfarazinux/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: ini_set(): Session ini settings cannot be changed after headers have already been sent
Filename: Session/Session.php
Line Number: 282
Backtrace:
File: /var/www/newfarazinux/application/controllers/News.php
Line: 18
Function: __construct
File: /var/www/newfarazinux/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: session_set_cookie_params(): Session cookie parameters cannot be changed after headers have already been sent
Filename: Session/Session.php
Line Number: 289
Backtrace:
File: /var/www/newfarazinux/application/controllers/News.php
Line: 18
Function: __construct
File: /var/www/newfarazinux/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: ini_set(): Session ini settings cannot be changed after headers have already been sent
Filename: Session/Session.php
Line Number: 304
Backtrace:
File: /var/www/newfarazinux/application/controllers/News.php
Line: 18
Function: __construct
File: /var/www/newfarazinux/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: ini_set(): Session ini settings cannot be changed after headers have already been sent
Filename: Session/Session.php
Line Number: 314
Backtrace:
File: /var/www/newfarazinux/application/controllers/News.php
Line: 18
Function: __construct
File: /var/www/newfarazinux/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: ini_set(): Session ini settings cannot be changed after headers have already been sent
Filename: Session/Session.php
Line Number: 315
Backtrace:
File: /var/www/newfarazinux/application/controllers/News.php
Line: 18
Function: __construct
File: /var/www/newfarazinux/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: ini_set(): Session ini settings cannot be changed after headers have already been sent
Filename: Session/Session.php
Line Number: 316
Backtrace:
File: /var/www/newfarazinux/application/controllers/News.php
Line: 18
Function: __construct
File: /var/www/newfarazinux/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: ini_set(): Session ini settings cannot be changed after headers have already been sent
Filename: Session/Session.php
Line Number: 317
Backtrace:
File: /var/www/newfarazinux/application/controllers/News.php
Line: 18
Function: __construct
File: /var/www/newfarazinux/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: ini_set(): Session ini settings cannot be changed after headers have already been sent
Filename: Session/Session.php
Line Number: 375
Backtrace:
File: /var/www/newfarazinux/application/controllers/News.php
Line: 18
Function: __construct
File: /var/www/newfarazinux/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: session_set_save_handler(): Session save handler cannot be changed after headers have already been sent
Filename: Session/Session.php
Line Number: 110
Backtrace:
File: /var/www/newfarazinux/application/controllers/News.php
Line: 18
Function: __construct
File: /var/www/newfarazinux/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: session_start(): Session cannot be started after headers have already been sent
Filename: Session/Session.php
Line Number: 143
Backtrace:
File: /var/www/newfarazinux/application/controllers/News.php
Line: 18
Function: __construct
File: /var/www/newfarazinux/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$session is deprecated
Filename: core/Loader.php
Line Number: 1283
Backtrace:
File: /var/www/newfarazinux/application/controllers/News.php
Line: 18
Function: __construct
File: /var/www/newfarazinux/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$mylibrary is deprecated
Filename: core/Loader.php
Line Number: 1283
Backtrace:
File: /var/www/newfarazinux/application/controllers/News.php
Line: 18
Function: __construct
File: /var/www/newfarazinux/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$pagination is deprecated
Filename: core/Loader.php
Line Number: 1283
Backtrace:
File: /var/www/newfarazinux/application/controllers/News.php
Line: 18
Function: __construct
File: /var/www/newfarazinux/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$table is deprecated
Filename: core/Loader.php
Line Number: 1283
Backtrace:
File: /var/www/newfarazinux/application/controllers/News.php
Line: 18
Function: __construct
File: /var/www/newfarazinux/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$form_validation is deprecated
Filename: core/Loader.php
Line Number: 1283
Backtrace:
File: /var/www/newfarazinux/application/controllers/News.php
Line: 18
Function: __construct
File: /var/www/newfarazinux/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$template is deprecated
Filename: core/Loader.php
Line Number: 1283
Backtrace:
File: /var/www/newfarazinux/application/controllers/News.php
Line: 18
Function: __construct
File: /var/www/newfarazinux/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$agent is deprecated
Filename: core/Loader.php
Line Number: 1283
Backtrace:
File: /var/www/newfarazinux/application/controllers/News.php
Line: 18
Function: __construct
File: /var/www/newfarazinux/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$email is deprecated
Filename: core/Loader.php
Line Number: 1283
Backtrace:
File: /var/www/newfarazinux/application/controllers/News.php
Line: 18
Function: __construct
File: /var/www/newfarazinux/index.php
Line: 294
Function: require_once
Mengatasi VPS Tiba-Tiba Penuh - User Tidak Bisa Login
Social media
Share this article
Mengatasi VPS Tiba-Tiba Penuh - User Tidak Bisa Login
Pagi-pagi ternyata dikagetkan dengan user yang chat dan mengeluhkan gagal login ke sistem yang sudah kita bangun. Padahal tidak ada pemblokiran user maupun penggantian password user. Saat cek ke database juga tidak ada masalah. Melihat ke directory upload file dan gambar juga tidak terdapat kejanggalan. Semua masih biasa biasa saja.
Alangkah terkejutnya ketika mencoba melihat resource VPS dengan perintah df -h Nampak di terminal kapasitas penyimpanan VPS telah penuh 100%. Langsung saja tancap gas ke folder backups, tetapi ternyata di folder tersebut juga tidak nampak ada masalah. ukuran file juga masih seperti biasa. Akhirnya dengan berat harus cek ukuran masing-masing folder di root. dengan perintah :
du -ch nama_folder |grep total
Baca Lainnya : Akhirnya ketemulah dengan folder /var/ yang kapasitasnya terlalu besar, yakni 15GB. Dengan cara yang sama masing-masing folder di dalam folder /var/ saya cek ukuran foldernya. Ketemulah dengan folder /var/lib/ dilanjutkan dengan cek isi folder /var/lib/ ternyata paling besar ada di /var/lib/php/sessions/
Setelah ketemu biang keroknya ternyata banyaknya file session yang mencapai lebih dari 9 GB. kemudian saya eksekusi dengan menghapus datanya dengan perintah :
cd /var/lib/php/sessions/
sudo find . -name "ci_*" -print |sudo xargs rm -vAlhamdulillah, ternyata berhasil mengurangi overload kapasitas penyimpanan dan user bisa kembali berinteraksi dengan aplikasi yang ada di VPS.
Social media
Share this article