What is this? to_avoid_overwrite_important_env

#21
You have managed to reproduce it?
no. I just tell where "leave_some_room_to_avoid_overwrite_important_env" is from

I tried to reproduce it in a cPanel server, but failed.
maybe this only occur on DA server.

please try
"strings /proc/pid_of_a_lsphp_process/environ" to show all the environment variables
 
#23
replace "pid_of_a_lsphp_process" with a number.
it's process id of a running lsphp process.
in screenshots you posted early in this thread, it's under "PID" column.
 
#25
yes, you have use it correctly.
but the lsphp process may disappear after it's finished the request. hence the error : No such file.
you have to run the command when the lsphp process is running.
 
#28
@NiteWave this is the output I get when I run strings command using process id of a lsphp process

Code:
hto_avoid_overwrite_important_env

PHP_LSAPI_CHILDREN=35

LSPHP_ENABLE_USER_INI=on

PATH=/bin:/usr/bin

LSAPI_PPID_NO_CHECK=1

LSAPI_PGRP_MAX_IDLE=60

LSAPI_KEEP_LISTEN=2
 
#29
the normal one is like this
Code:
# strings /proc/11679/environ 
LSAPI_PADDING=leave_some_room_to_avoid_overwrite_important_env
LSAPI_CHILDREN=10
LSAPI_MAX_IDLE_CHILDREN=10
LSAPI_EXTRA_CHILDREN=20
LSAPI_PPID_NO_CHECK=1
LSAPI_PGRP_MAX_IDLE=60
LSAPI_MAX_IDLE=60
PATH=/usr/local/bin:/bin:/usr/bin
in your settings, only
Code:
LSAPI_KEEP_LISTEN
is weird, in official doc
https://docs.litespeedtech.com/extapp/php/configuration/options/
no "LSAPI_KEEP_LISTEN"
you can ask DA why add this environment variable.
if removing it , will the weird "lsphp:XXXXXXXX.eu/private_html/wp-admin/admin-ajax.phto_avoid_overwrite_important_env" disappear in process manager ?
 
#31
We already talked about it before:
but the lsphp process may disappear after it's finished the request. hence the error : No such file.
you have to run the command when the lsphp process is running.
It was hard to capture a process before it went away again. Finally think i got one, then got this:
no need repeat the work.

please take further action :
you can ask DA why add this environment variable.
if removing it , will the weird "lsphp:XXXXXXXX.eu/private_html/wp-admin/admin-ajax.phto_avoid_overwrite_important_env" disappear in process manager ?
it won't have progress to discuss here any more. since I have no such setup to reproduce the issue.
 
Top