Hi Zoltán, for the moment I've modified my crontab for deleting the 
sessions every hour.

I'll try to install python-six module and store the sessions in the memory 
in the next days.

Il giorno giovedì 18 luglio 2019 11:03:37 UTC+2, Fekete Zoltán ha scritto:
>
> Hi Gael!
>
> Could you solve the problem? Pls. give a short feedback.
>
> Regards,
> Zoltán
>
> 2019. július 13., szombat 9:03:17 UTC+2 időpontban Massimo Di Pierro a 
> következőt írta:
>>
>> what os is this?
>>
>> On Friday, 12 July 2019 01:00:03 UTC-7, Gaël Princivalle wrote:
>>>
>>> Hi all.
>>>
>>> In my sessions folder all sessions are stored in separated sub-folders, 
>>> 068,069...
>>> The file system don't accept more than 512 sub-folders in a folder.
>>> When I reach 512 sub-folders the website is down.
>>> Now for avoiding this problem I delete all the sessions with a crontab 
>>> job every 12 hours, but it's not enough.
>>>
>>> Obviously I can imagine that deleting all the sessions means also 
>>> disconnecting all the users, that's not a good thing.
>>>
>>> Can I store the sessions in the DB instead of the file system?
>>>
>>> And what about that? I don't understand where I must add it, and it 
>>> seems that the sessions storage for my website works already like that,
>>> http://web2py.com/books/default/chapter/29/04/the-core#Separate-sessions
>>>
>>> Thanks.
>>>
>>>
>>>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/a821fa12-e4b0-4755-8bc6-f826ace18c0f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to