Skip to content
This repository was archived by the owner on Apr 10, 2025. It is now read-only.
This repository was archived by the owner on Apr 10, 2025. It is now read-only.

mod_pagespeed may have deadlock in property cache fetch in IPRO non-proxy mode if memcached is used #862

Closed

Description

@GoogleCodeExporter
Don't pass through non-rewritten cached resources in IPRO in non-proxy mode
since streaming HTML like that can cause MPS to deadlock in property
cache fetch if we're using memcached.

To be more detailed, the deadlock chain is:
Cache hit on html -> RecordingFetch -> ApacheWriter
-> MPS HTML apache filter -> blocking pcache lookup,  where the last
deadlocks when using memcached cache since CacheBatcher will not issue
a new lookup until callbacks for the current batch complete.

Original issue reported on code.google.com by hui...@google.com on 6 Jan 2014 at 6:06

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions