"No request delivery notification has been received from LSAPI application, possible dead lock."
When this happens, the webserver will return a 500 Internal Server Error.
I have tried many edits, as you can see, value of initTimeout and pcKeepAliveTimeout are big (from 60 to, 600 and 10000).
I tried versions fcgi-bin/lsphp7+
I'm desperate, I was even looking for other platforms, but the litespeed I remember was so good, I don't know what I did wrong this time on the instalation.
Your help will be appreciated!
I used that command to install:
bash <( curl -k https://raw.githubusercontent.com/litespeedtech/ols1clk/master/ols1clk.sh ) --adminpassword mypassword --email myemail@gmail.com
PHP 7
Erro logs:
When this happens, the webserver will return a 500 Internal Server Error.
I have tried many edits, as you can see, value of initTimeout and pcKeepAliveTimeout are big (from 60 to, 600 and 10000).
I tried versions fcgi-bin/lsphp7+
I'm desperate, I was even looking for other platforms, but the litespeed I remember was so good, I don't know what I did wrong this time on the instalation.
Your help will be appreciated!
Code:
#
# PLAIN TEXT CONFIGURATION FILE
#
#It not set, will use host name as serverName
serverName
user nobody
group nogroup
priority 0
inMemBufSize 60M
swappingDir /tmp/lshttpd/swap
autoFix503 1
gracefulRestartTimeout 300
mime conf/mime.properties
showVersionNumber 0
adminEmails myemailglobal@gmail.com
errorlog /home/Litespeed_Logs/error.log {
logLevel DEBUG
debugLevel 0
rollingSize 100M
enableStderrLog 1
}
accesslog /home/Litespeed_Logs/access.log {
rollingSize 100M
keepDays 30
compressArchive 0
}
#adminEmails root@localhost
indexFiles index.php, index.html
expires {
enableExpires 1
expiresByType image/*=A604800,text/css=A604800,application/x-javascript=A604800,application/javascript=A604800,font/*=A604800,application/x-font-ttf=A604800
}
tuning {
maxConnections 20000
maxSSLConnections 10000
connTimeout 30
maxKeepAliveReq 1000
keepAliveTimeout 5
sndBufSize 0
rcvBufSize 0
maxReqURLLen 8192
maxReqHeaderSize 16380
maxReqBodySize 2047M
maxDynRespHeaderSize 8192
maxDynRespSize 2047M
maxCachedFileSize 4096
totalInMemCacheSize 20M
maxMMapFileSize 256K
totalMMapCacheSize 40M
useSendfile 1
fileETag 28
enableGzipCompress 1
compressibleTypes text/*, application/x-javascript, application/xml, application/javascript, image/svg+xml,application/rss+xml
enableDynGzipCompress 1
gzipCompressLevel 6
gzipAutoUpdateStatic 1
gzipStaticCompressLevel 6
brStaticCompressLevel 6
gzipMaxFileSize 10M
gzipMinFileSize 300
quicEnable 1
quicShmDir /dev/shm
}
fileAccessControl {
followSymbolLink 1
checkSymbolLink 0
requiredPermissionMask 000
restrictedPermissionMask 000
}
perClientConnLimit {
staticReqPerSec 10
dynReqPerSec 2
outBandwidth 9000K
inBandwidth 0
softLimit 15
hardLimit 20
gracePeriod 15
banPeriod 300
}
CGIRLimit {
maxCGIInstances 20
minUID 11
minGID 10
priority 0
CPUSoftLimit 10
CPUHardLimit 50
memSoftLimit 1500M
memHardLimit 1700M
procSoftLimit 2500
procHardLimit 3000
cgroups 0
}
accessDenyDir {
dir /
dir /etc/*
dir /dev/*
dir conf/*
dir admin/conf/*
}
accessControl {
allow ALL
}
extprocessor lsphp {
type lsapi
address uds://tmp/lshttpd/lsphp.sock
maxConns 35
env PHP_LSAPI_CHILDREN=35
env LSAPI_AVOID_FORK=200M
initTimeout 600
retryTimeout 0
persistConn 1
respBuffer 0
autoStart 2
path fcgi-bin/lsphp7
backlog 100
instances 1
priority 0
memSoftLimit 2047M
memHardLimit 2047M
procSoftLimit 400
procHardLimit 500
}
scripthandler {
add lsapi:lsphp php
}
railsDefaults {
maxConns 1
env LSAPI_MAX_IDLE=60
initTimeout 600
retryTimeout 0
pcKeepAliveTimeout 10000
respBuffer 0
backlog 50
runOnStartUp 3
extMaxIdleTime 300
priority 3
memSoftLimit 2047M
memHardLimit 2047M
procSoftLimit 500
procHardLimit 600
}
wsgiDefaults {
maxConns 5
env LSAPI_MAX_IDLE=60
initTimeout 600
retryTimeout 0
pcKeepAliveTimeout 10000
respBuffer 0
backlog 50
runOnStartUp 3
extMaxIdleTime 300
priority 3
memSoftLimit 2047M
memHardLimit 2047M
procSoftLimit 500
procHardLimit 600
}
nodeDefaults {
maxConns 5
env LSAPI_MAX_IDLE=60
initTimeout 600
retryTimeout 0
pcKeepAliveTimeout 10000
respBuffer 0
backlog 50
runOnStartUp 3
extMaxIdleTime 300
priority 3
memSoftLimit 2047M
memHardLimit 2047M
procSoftLimit 500
procHardLimit 600
}
module cache {
internal 1
# 1
checkPrivateCache 1
checkPublicCache 1
maxCacheObjSize 10000000
maxStaleAge 200
qsCache 1
reqCookieCache 1
respCookieCache 1
ignoreReqCacheCtrl 1
ignoreRespCacheCtrl 0
enableCache 0
expireInSeconds 3600
enablePrivateCache 0
privateExpireInSeconds 3600
ls_enabled 1
}
virtualhost Example {
vhRoot Example/
configFile conf/vhosts/Example/vhconf.conf
allowSymbolLink 1
enableScript 1
restrained 1
setUIDMode 0
}
listener Default {
address *:80
secure 0
map Example *
}
listener Defaultssl {
address *:443
secure 1
keyFile /etc/letsencrypt/live/www.mysite.net/privkey.pem
certFile /etc/letsencrypt/live/www.mysite.net/fullchain.pem
map Example *
}
vhTemplate centralConfigLog {
templateFile conf/templates/ccl.conf
listeners Default
}
vhTemplate EasyRailsWithSuEXEC {
templateFile conf/templates/rails.conf
listeners Default
}
bash <( curl -k https://raw.githubusercontent.com/litespeedtech/ols1clk/master/ols1clk.sh ) --adminpassword mypassword --email myemail@gmail.com
PHP 7
Erro logs:
Code:
2020-06-26 12:46:25.005145 [NOTICE] [121.101.104.52:20750#Example] No request delivery notification has been received from LSAPI application, possible dead lock.
2020-06-26 12:46:25.405862 [INFO] [162.157.107.142:16000#Example] Connection idle time too long: 31 while in state: 6 watching for event: 0, close!
2020-06-26 12:46:25.405938 [INFO] [162.158.137.122:16000] Content len: 0, Request line:
GET /index.php?subtopic=houses&show=2163 HTTP/1.1
2020-06-26 12:46:25.405959 [INFO] [162.158.117.122:16000#Example] HttpExtConnector state: 8, request body sent: 0, response body size: -2, response body sent:0, left in buffer: 0, attempts: 0.
2020-06-26 12:46:27.016562 [NOTICE] [172.68.24.261:29042#Example] No request delivery notification has been received from LSAPI application, possible dead lock.
2020-06-26 12:46:27.016654 [NOTICE] [172.68.22.261:29040#Example] No request delivery notification has been received from LSAPI application, possible dead lock.
2020-06-26 12:46:27.045244 [NOTICE] [172.68.24.261:29118#Example] No request delivery notification has been received from LSAPI application, possible dead lock.
2020-06-26 12:46:27.045308 [NOTICE] [172.68.24.261:29136#Example] No request delivery notification has been received from LSAPI application, possible dead lock.
2020-06-26 12:46:27.065838 [NOTICE] [172.68.24.261:29054#Example] No request delivery notification has been received from LSAPI application, possible dead lock.
2020-06-26 12:46:27.069825 [NOTICE] [172.68.24.261:29068#Example] No request delivery notification has been received from LSAPI application, possible dead lock.
2020-06-26 12:46:27.069888 [NOTICE] [172.68.24.261:29104#Example] No request delivery notification has been received from LSAPI application, possible dead lock.
Last edited: