Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

mod_pagespeed and mod_ruid2 not working together

Discussion in 'EasyApache' started by kanbam, Jan 29, 2015.

  1. kanbam

    kanbam Member

    Aug 16, 2013
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    CENTOS 6.6 x86_64, WHM 11.46.2 (latest), Easy Apache v3.28.2 (latest) , mod_pagespeed (latest), PHP 5.5.21 (latest), Apache 2.4.10 (latest)

    The system was working with Apache 2.4 + SuPHP + mod_pagespeed + mod_security without troubles. But I learned that OPCache module was built into PHP 5.5 and I wanted to use it too. The problem is that SuPHP and OPCache do not work together.

    So I used Easyapache to compile and configure Apache 2.4 + mod_ruid2 + mod_pagespeed + mod_security + OPCache. Everything is working except mod_pagespeed, error log:
    [pagespeed:error] [pid 1905] [mod_pagespeed @1905] /var/mod_pagespeed/cache/********.tempchm4UJ:0: opening temp file: Permission denied [mod_pagespeed @1905]
    [pagespeed:error] [pid 28407] [mod_pagespeed @28407] Serf status 4(Interrupted system call) polling for 1 threaded fetches for 0.05 seconds
    Error log is full of those type of errors.

    I can get rid of "Permission denied" type errors temporarily if I change /var/mod_pagespeed/cache folder and subfolders to 777 permissions and pagespeed works well, but when new files and folders are generated by the pagespeed module the permissions are not 777 anymore and in starts to fail again.
    The "Serf status 4(Interrupted system call)" error I don't know what causes it and how to solve the problem.

    What can I do?
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

Share This Page