Difference between revisions of "PHP logs: /var/log/php*"

From wikieduonline
Jump to navigation Jump to search
 
(32 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
 +
* <code>cat /var/log/php7.2-fpm.log | egrep "WARNING|NOTICE|ERROR"</code>
 
* <code>[[zcat -f]] [[/var/log/]]php*</code>
 
* <code>[[zcat -f]] [[/var/log/]]php*</code>
 +
* <code>[[zcat -f]] [[/var/log/]]php* | egrep "WARNING|NOTICE|ERROR"</code>
 +
* <code>[[zcat -f]] [[/var/log/]]php* | grep [[WARNING]]</code>
 +
* <code>[[zcat -f]] [[/var/log/]]php* | grep [[NOTICE]]</code>
 +
* <code>tail -f /var/log/php*-fpm.log</code>
  
 +
== ERROR ==
 +
[18-Dec-2024 05:01:47] ERROR: fork() failed: [[Cannot allocate memory]] (12)
 +
 +
== NOTICE ==
 
  [11-Apr-2021 00:00:05] NOTICE: error log file re-opened
 
  [11-Apr-2021 00:00:05] NOTICE: error log file re-opened
  
  06-Apr-2020 10:02:47] WARNING: [pool www] server reached [[pm.max_children]] setting (5), consider raising it
+
  [02-Oct-2024 09:40:38] NOTICE: [pool www] child 14789 [[exited with code 0]] after 616.451269 [[seconds from start]]
 +
 
 +
[21-Jan-2025 12:54:30] NOTICE: [pool www] child 6949 started
 +
 
 +
[21-Jan-2025 13:55:15] NOTICE: [pool www] child 10741 [[exited with code 0]] after 675.612592 [[seconds from start]]
  
 
  [04-Apr-2021 00:00:01] NOTICE: error log file re-opened
 
  [04-Apr-2021 00:00:01] NOTICE: error log file re-opened
Line 12: Line 26:
 
  [06-Apr-2021 12:58:33] NOTICE: systemd monitor interval set to 10000ms
 
  [06-Apr-2021 12:58:33] NOTICE: systemd monitor interval set to 10000ms
  
 +
== WARNING ==
 +
[06-Apr-2020 10:02:47] WARNING: [pool www] server reached [[pm.max_children]] setting (5), [[consider raising it]]
 +
[22-Sep-2022 05:00:10] WARNING: [pool www] server reached [[pm.max_children]] setting (8), consider raising it
 +
 +
[02-Jan-2025 17:08:54] WARNING: [pool www] seems busy (you may need to increase [[pm.start_servers]], or pm.min/[[max_spare_servers]]), spawning 32 children, [[there are 0 idle]], and 9 total children
 +
 +
[30-Jul-2022 23:52:09] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/[[max_spare_servers]]), spawning 16 children, [[there are 0 idle]], and 7 total children
  
 
== Related terms ==
 
== Related terms ==
* [[Nginx logs]]
+
* [[Nginx logs]]: <code>[[zcat -f /var/log/nginx/error.log*]]</code>
 +
* <code>[[error_log]]</code>: <code>[[/var/log/php7.2-fpm.log]]</code>
 +
* [[504 Gateway Time-out]]
 +
* [[LEMP]]
  
 
== See also ==
 
== See also ==

Latest revision as of 15:19, 21 January 2025

ERROR[edit]

[18-Dec-2024 05:01:47] ERROR: fork() failed: Cannot allocate memory (12)

NOTICE[edit]

[11-Apr-2021 00:00:05] NOTICE: error log file re-opened
[02-Oct-2024 09:40:38] NOTICE: [pool www] child 14789 exited with code 0 after 616.451269 seconds from start
[21-Jan-2025 12:54:30] NOTICE: [pool www] child 6949 started
[21-Jan-2025 13:55:15] NOTICE: [pool www] child 10741 exited with code 0 after 675.612592 seconds from start
[04-Apr-2021 00:00:01] NOTICE: error log file re-opened
[06-Apr-2021 12:57:12] NOTICE: Terminating ...
[06-Apr-2021 12:57:12] NOTICE: exiting, bye-bye!
[06-Apr-2021 12:58:33] NOTICE: fpm is running, pid 730
[06-Apr-2021 12:58:33] NOTICE: ready to handle connections
[06-Apr-2021 12:58:33] NOTICE: systemd monitor interval set to 10000ms

WARNING[edit]

[06-Apr-2020 10:02:47] WARNING: [pool www] server reached pm.max_children setting (5), consider raising it
[22-Sep-2022 05:00:10] WARNING: [pool www] server reached pm.max_children setting (8), consider raising it
[02-Jan-2025 17:08:54] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 9 total children
[30-Jul-2022 23:52:09] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 16 children, there are 0 idle, and 7 total children

Related terms[edit]

See also[edit]

Advertising: