Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sean-dunwoody opened this issue Jul 22, 2024 · 1 comment

Comments

@sean-dunwoody
Copy link

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).

@oscarotero
Copy link
Owner

That's the same issue as #534 but it's not an Embed issue. It seems that the plugin change the default naming.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants