Skip to content

Large numbers of embed-cookies-{uid} are being created, but not deleted #539

Description

@sean-dunwoody

Hi There,

I believe there may be an issue with your library that is causing the generation of huge numbers of temporary cookie files.

We encountered this issue on one of our servers. The tmp directory was littered with more than a million files named:

embed-cookies-[hex number here].txt

The site in question wasn't receiving a particularly large number of visitors, but the files were being generated on average at least once a minute, and the volume of files did eventually cause a couple of issues.

Each file contained basic information about, e.g. a YouTube cookie.

We tracked this down to the following package, which has an existing bug report for this issue:

wrav/oembed#152

It appears that the root cause is this Embed package (specifically the constructor defined in \embed\src\Http\CurlDispatcher.php).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions