lsphp memory leak?

bobykus

Well-Known Member
#1
Got this last night

Jan 22 02:52:27 ws38 kernel: lsphp invoked oom-killer: gfp_mask=0xd0, order=0, oomkilladj=0
Jan 22 02:52:27 ws38 kernel: [<c04665a8>] out_of_memory+0x80/0x134
Jan 22 02:52:27 ws38 kernel: [<c0467b8c>] __alloc_pages+0x27c/0x322
Jan 22 02:52:27 ws38 kernel: [<c047fd9e>] cache_alloc_refill+0x286/0x4c0
Jan 22 02:52:27 ws38 kernel: [<c047faeb>] kmem_cache_alloc+0x43/0x70
Jan 22 02:52:27 ws38 kernel: [<f96bc65e>] nfs_create_request+0x24/0xf8 [nfs]
Jan 22 02:52:27 ws38 kernel: [<f96be0ae>] readpage_async_filler+0x53/0xe7 [nfs]
Jan 22 02:52:27 ws38 kernel: [<c046969e>] read_cache_pages+0x57/0xf9
Jan 22 02:52:27 ws38 kernel: [<f96be05b>] readpage_async_filler+0x0/0xe7 [nfs]
Jan 22 02:52:27 ws38 kernel: [<f96be65c>] nfs_readpages+0xff/0x1b5 [nfs]
Jan 22 02:52:27 ws38 kernel: [<f96be55d>] nfs_readpages+0x0/0x1b5 [nfs]
Jan 22 02:52:27 ws38 kernel: [<c046921b>] __do_page_cache_readahead+0x124/0x18f
Jan 22 02:52:27 ws38 kernel: [<c0465988>] filemap_nopage+0x157/0x36f
Jan 22 02:52:40 ws38 kernel: [<c046ff6c>] __handle_mm_fault+0x252/0x104d
Jan 22 02:52:40 ws38 kernel: [<c04186cb>] __wake_up_common+0x2f/0x53
Jan 22 02:52:40 ws38 kernel: [<c04f44ec>] prio_tree_insert+0x123/0x1f2
Jan 22 02:52:40 ws38 kernel: [<c046c748>] vma_prio_tree_insert+0x17/0x2a
Jan 22 02:52:40 ws38 kernel: [<c0473d68>] vma_link+0x51/0x6f
Jan 22 02:52:40 ws38 kernel: [<c0630cad>] do_page_fault+0x2da/0x62d
Jan 22 02:52:40 ws38 kernel: [<c06309d3>] do_page_fault+0x0/0x62d
Jan 22 02:52:40 ws38 kernel: [<c063289b>] error_code+0x4f/0x54
Jan 22 02:52:40 ws38 kernel: [<c063007b>] stop_machine_text_poke+0x1e/0x4b
Jan 22 02:52:40 ws38 kernel: =======================


Any clue why?
 

mistwang

LiteSpeed Staff
#2
PHP require more memory to process the request.
You need to increase the memory limit for lsphp5 external app.
It is not a bug in LSWS.
 
Top