503 Service Unavilable After with to 3.3.10 , lsphp5 Fresh Installation

vivek

Well-Known Member
#21
lstat("/home/youth", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
lstat("/home/youth/public_html", {st_mode=S_IFDIR|0750, st_size=4096, ...}) = 0
lstat("/home", {st_mode=S_IFDIR|0711, st_size=61440, ...}) = 0
lstat("/home/youth", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
access("/home/youth/public_html", F_OK) = 0
lstat("/home", {st_mode=S_IFDIR|0711, st_size=61440, ...}) = 0
lstat("/home/youth", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
lstat("/home/youth/public_html", {st_mode=S_IFDIR|0750, st_size=4096, ...}) = 0
lstat("/home/youth/public_html/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/youth/public_html/home/language", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/youth/public_html/home/language/malayalam.php", {st_mode=S_IFREG|0644, st_size=53950, ...}) = 0
lstat("/home", {st_mode=S_IFDIR|0711, st_size=61440, ...}) = 0
lstat("/home/youth", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
lstat("/home/youth/public_html", {st_mode=S_IFDIR|0750, st_size=4096, ...}) = 0

lstat("/home/youth/public_html/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/youth/public_html/home/language", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/youth/public_html/home/language/malayalam.php", {st_mode=S_IFREG|0644, st_size=53950, ...}) = 0
lstat("/home", {st_mode=S_IFDIR|0711, st_size=61440, ...}) = 0
lstat("/home/youth", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
lstat("/home/youth/public_html", {st_mode=S_IFDIR|0750, st_size=4096, ...}) = 0
lstat("/home/youth/public_html/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/youth/public_html/home/language", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/youth/public_html/home/language/malayalam.php", {st_mode=S_IFREG|0644, st_size=53950, ...}) = 0
lstat("/home", {st_mode=S_IFDIR|0711, st_size=61440, ...}) = 0
lstat("/home/youth", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
lstat("/home", {st_mode=S_IFDIR|0711, st_size=61440, ...}) = 0
lstat("/home/youth", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
lstat("/home/youth/public_html", {st_mode=S_IFDIR|0750, st_size=4096, ...}) = 0
lstat("/home/youth/public_html/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/youth/public_html/home/language", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/youth/public_html/home/language/malayalam.php", {st_mode=S_IFREG|0644, st_size=53950, ...}) = 0
open("/home/youth/public_html/home/language/malayalam.php", O_RDONLY) = 6
fstat(6, {st_mode=S_IFREG|0644, st_size=53950, ...}) = 0
open("/home/youth/public_html/home/language/malayalam.php", O_RDONLY) = 7
fstat(7, {st_mode=S_IFREG|0644, st_size=53950, ...}) = 0
mmap(NULL, 53950, PROT_READ, MAP_SHARED, 7, 0) = 0x2a99c84000
munmap(0x2a99c84000, 53950) = 0
close(7) = 0
fcntl(6, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(6, {st_mode=S_IFREG|0644, st_size=53950, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a99c84000
lseek(6, 0, SEEK_CUR) = 0
lseek(6, 0, SEEK_SET) = 0
read(6, "<?php\r\n/**\r\n* @version $Id: mala"..., 4096) = 4096
lseek(6, 4096, SEEK_SET) = 4096
read(6, "NE(\'_CMN_UNARCHIVE\',\'\340\264\206\340\264\260\340\265\215\342\200"..., 4096) = 4096
read(6, "\225\340\265\215\340\264\225\340\265\201\340\264\250\340\265\215\340\264\250\340\265\201.</b></fon"..., 8192) = 8192
read(6, "NE(\'_EMAIL_MSG\',\'%s \340\264\265\340\265\206\340\264\254\340\265\215"..., 8192) = 8192
read(6, "\252\340\265\206\340\264\237\340\265\201\340\264\244\340\265\215\340\264\244\340\264\262\340\265\215\342\200\215\');\r"..., 8192) = 8192
read(6, "\237\340\265\215\340\264\237 %s,\r\n\r\n%s -\340\264\262\340\265\215\342\200\215 \340\264\222"..., 8192) = 8192
read(6, "ate to appear in your site\r\n*\r\n*"..., 8192) = 8192
mmap(NULL, 528384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a99c85000
read(6, "ks */\r\nDEFINE(\'_WEBLINKS_TITLE\',"..., 8192) = 4798
read(6, "", 4096) = 0
read(6, "", 8192) = 0
read(6, "", 8192) = 0
close(6) = 0
munmap(0x2a99c84000, 4096) = 0
poll([{fd=5, events=POLLIN|POLLPRI}], 1, 0) = 0
write(5, "d\0\0\0\3SELECT id, name, username, "..., 104) = 104
read(5, "\1\0\0\1\0077\0\0\2\3def\vyouth_joom1\tjos_us"..., 16384) = 571
poll([{fd=5, events=POLLIN|POLLPRI}], 1, 0) = 0
write(5, "\305\0\0\0\3SELECT g.*\nFROM jos_core_ac"..., 201) = 201
read(5, "\1\0\0\1\5I\0\0\2\3def\vyouth_joom1\1g\27jos_"..., 16384) = 408
poll([{fd=5, events=POLLIN|POLLPRI}], 1, 0) = 0
write(5, "\266\0\0\0\3SELECT COUNT(*)\nFROM jos_co"..., 186) = 186
read(5, "\1\0\0\1\1\36\0\0\2\3def\0\0\0\10COUNT(*)\0\f?\0\25\0\0"..., 16384) = 63
poll([{fd=5, events=POLLIN|POLLPRI}], 1, 0) = 0
write(5, "\272\0\0\0\3SELECT COUNT(*)\nFROM jos_co"..., 190) = 190
read(5, "\1\0\0\1\1\36\0\0\2\3def\0\0\0\10COUNT(*)\0\f?\0\25\0\0"..., 16384) = 63
poll([{fd=5, events=POLLIN|POLLPRI}], 1, 0) = 0
write(5, "\255\0\0\0\3UPDATE jos_session SET `tim"..., 177) = 177
read(5, "0\0\0\1\0\1\0\2\0\1\0(Rows matched: 1 Cha"..., 16384) = 52
poll([{fd=5, events=POLLIN|POLLPRI}], 1, 0) = 0
write(5, "\225\0\0\0\3DELETE FROM jos_session\n WH"..., 153) = 153
read(5, "\7\0\0\1\0\0\0\2\0\0\0", 16384) = 11
poll([{fd=5, events=POLLIN|POLLPRI}], 1, 0) = 0
write(5, "K\0\0\0\3UPDATE jos_users\n SET lastv"..., 79) = 79
read(5, "0\0\0\1\0\1\0\2\0\0\0(Rows matched: 1 Cha"..., 16384) = 52
mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a99d06000
mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a99d47000
mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a99d88000
mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a99dc9000
mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a99e0a000
mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a99e4b000
mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a99e8c000
mmap(NULL, 528384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a99ecd000
mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a99f4e000
mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a99f8f000
mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a99fd0000
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
Process 30631 detached
 

mistwang

LiteSpeed Staff
#22
It might be a memory limt problem. You can try increase the memory soft/hard limit for lsphp external app. If it deos not help, you may have to rebuild you PHP binary again matching the configuration parameters used by Apache mod_php.
 

vivek

Well-Known Member
#23
Soft/hard limit increased to 1GB/2GB . Still same.
As far as I know, I built the php binary using the same parameters of apache mo_php. Please explain what do you mean by this. :(
 

mistwang

LiteSpeed Staff
#24
It is a PHP internal problem.
You can try GDB the PHP process as well.

gdb /home/lsws/fcgi-bin/lsphp5 <pid_of_lsphp>
(gdb) cont

Then send the problemtic request, gdb will stop at the crash point, then type command "bt" from gdb. It shows you PHP crash point, with this information you should be able to find the module that cuases the problem or file a bug report to PHP group.


you need to compare the phpinfo page produced by apache mod_php and lsphp, there should be something different.

You can also try disable PHP suEXEC see if the problem goes away, if it does, there is a permission problem somewhere.
 
Top