[ckan-dev] Too many .lock files
Vladimir Mašala
vladimirmasala at gmail.com
Wed Aug 7 11:53:35 UTC 2019
Thnx for info, i will check it out.
Kind regards
On Wed, Aug 7, 2019 at 12:37 PM Tyler Kennedy <tk at tkte.ch> wrote:
> These lock files are created by beaker and are used for locking user
> sessions. Sounds like your instance is misconfigured. Beaker's on-disk
> locking is really bad in the case where you have multiple frontend servers
> and do not have server pinning enabled on your load balancer. You can
> change beaker's configuration in your ckan.ini and update it to use a
> shared backend like redis.
>
> The version of beaker used by datagovuk is from 2015, simply updating may
> solve your problem as a number of problems have been fixed in upstream
> beaker.
>
> On Wed, Aug 7, 2019 at 5:25 AM Vladimir Mašala <vladimirmasala at gmail.com>
> wrote:
>
>> No, no answers.
>>
>> Does any have any hints?
>>
>> Thnx
>>
>> On Mon, Aug 5, 2019 at 11:40 AM Michael Reichart <
>> michael.reichart at gmail.com> wrote:
>>
>>> Hi,
>>>
>>> we have the same problem with our instance of CKAN. There are so many
>>> .lock-Files that we have to delete them every 6 hours in order to ensure
>>> the functionality of our system.
>>> Do you already have a solution?
>>>
>>> Thanks,
>>> Michael
>>>
>>> Am Do., 25. Juli 2019 um 11:08 Uhr schrieb Vladimir Mašala <
>>> vladimirmasala at gmail.com>:
>>>
>>>> Hi all
>>>>
>>>> In var/ckan/data/sessions i have 2 subfolders:
>>>> 1. containter_file
>>>> 2. containter_file_lock
>>>>
>>>> My problem is that fodlers are full of .lock files with size 0, but
>>>> there is so many files that i am having problem with "inode limit" basiclly
>>>> too many files.
>>>>
>>>> I am using https://github.com/datagovuk instalation so i am not sure
>>>> if this is standard ckan issue or not.
>>>>
>>>> So i have few questions:
>>>> 1. Is it safe to delete .lock files
>>>> 2. Why are they not deleted automatically?
>>>>
>>>> Thnx for help
>>>> _______________________________________________
>>>> ckan-dev mailing list
>>>> ckan-dev at lists.okfn.org
>>>> https://lists.okfn.org/mailman/listinfo/ckan-dev
>>>> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>>>>
>>> _______________________________________________
>>> ckan-dev mailing list
>>> ckan-dev at lists.okfn.org
>>> https://lists.okfn.org/mailman/listinfo/ckan-dev
>>> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>>>
>> _______________________________________________
>> ckan-dev mailing list
>> ckan-dev at lists.okfn.org
>> https://lists.okfn.org/mailman/listinfo/ckan-dev
>> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20190807/252d2dde/attachment-0002.html>
More information about the ckan-dev
mailing list