john-kurkowski / john-kurkowski/tldextract

Timeout: The file lock 'some/path/to/8738.tldextract.json.lock' could not be acquired

Open
#254 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2k
Forks
219
PR merge metrics
No merged PRs in 30d

Description

I start getting this error when I increase the number of processes / threads to a certain point.

Is there a way to increase the timeout value?

More importantly, why is lock needed here if tldextract isn't writing anything, only reading?

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the timeout using increased process or thread concurrency and inspect the file-lock behavior for the mentioned tldextract cache path. Determine why the lock is needed for read-only use and define completion as a documented or tested resolution for concurrent access, including the timeout question.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.