xCache: Multiple SHM issue

Discussion in 'PHP' started by IrPr, Jul 30, 2008.

  1. IrPr

    IrPr Well-Known Member

    Hi there

    I'm getting jumpy cached data fetch which means it doesnt share SHM with each other PHP processes
    I've searched forum and i found this thread
    but im using same LSAPI configurations

    Environment:
    PHP_LSAPI_MAX_REQUESTS=1024
    PHP_LSAPI_CHILDREN=32

    Max Connections: 32

    Instances: 1

    Im using 8 cpu cores for listener n guess thats why it uses multiple SHM
    I've attached my pstree here
    View attachment pstree.txt

    Should i use 1 core for listener to solve this problem?
    Any idea would be appreciated
     
    Last edited: Jul 30, 2008
  2. mistwang

    mistwang LiteSpeed Staff

    Yes, it should work. each lshttpd process will start its own group of lsphp processes.
     

Share This Page