One of the php worker processes is segfaulting.

I would first try running php-fpm-8.1 in the foreground (-F flag)
and see if that gives any clues as to what's failing. Also you can
try error_log = syslog in php-8.1.ini.

Did you install any php extensions from outside packages?
If so they will likely need rebuilding.


On 2023-04-22, Robert B. Carleton <[email protected]> wrote:
> "Robert B. Carleton" <[email protected]> writes:
>
>> I'm troubleshooting a post OpenBSD 7.3 upgrade issue with php-8.1.17. I
>> run a phpBB-3.3.9 forum and logins have started to fail with a 500
>> internal server error after the upgrade. I did do a "pkg_add -u" after
>> the OpenBSD 7.3 upgrade.
>>
>> I'm trying to take a closer look at the fpm/php errors, but I'm still
>> relatively new to the world of running php under OpenBSD httpd and
>> fpm. Most of my php experience in the past was using Apache.
>>
>> Could anyone suggest a starting point for turning up the debugging. The
>> only thing I have right now is a fpm exit from /var/log/php-fpm.log:
>>
>> [22-Apr-2023 08:31:05] WARNING: [pool www] child 23188 exited on signal
>> 11 (SIGSEGV) after 1378.229112 seconds from start
>>
>> I didn't get any error logging in /var/www/logs/error.log...
>>
>> TIA,
>>
>>                         --Bruce
>
> Just for some context, I did set "log_level = debug" in
> /etc/php-fpm.conf. Here are a few surrounding log lines in
> /var/log/php-fpm.log:
>
> [22-Apr-2023 09:12:54.636277] DEBUG: pid 10469, fpm_got_signal(), line 82: 
> received SIGCHLD
> [22-Apr-2023 09:12:54.636336] DEBUG: pid 10469, fpm_event_loop(), line 435: 
> event module triggered 1 events
> [22-Apr-2023 09:12:54.636506] WARNING: pid 10469, fpm_children_bury(), line 
> 258: [pool www] child 57196 exited on signal 11 (SIGSEGV) after 28.671860 
> seconds from start
> [22-Apr-2023 09:12:54.636586] DEBUG: pid 10469, fpm_children_make(), line 
> 407: blocking signals before child birth
> [22-Apr-2023 09:12:54.640183] DEBUG: pid 10469, fpm_children_make(),
> line 431: unblocking signals, child born
>
>

-- 
Please keep replies on the mailing list.

Reply via email to