Warning: **xxx,xxx** Client files in Lucee Admin

Today when I log in to Lucee Admin, there’s a red bar below “Web contexts” that says “Warning: 122,516 Client files” underneath one of the web context.

What does it mean? What should I do?

  • I’m hosting multiple small websites
  • I only use the Server admin (meaning I’m using single mode?)

Thanks in advance!

Lucee 5.4.4.38
Windows Server 2022 Standard
Apache Tomcat 9.0.62 Server
IIS 10 (BonCodeAJP13)

It’s not my area of expertise, but my guess is it’s referring to session/client storage files in that context’s WEB-INF\lucee\client\ and that you should remove files older than 30 days and then automate that as periodic cleanup.

Oh and single mode is only available in 6.2, but since you only use server admin, that will make your upgrade and switch to single mode easy!

Thanks kenricashe for pointing me directly to the cause.
Upon checking, there are exactly **122,516** files in the \{contextName}\client-scope folder

The legacy application probably makes use of many unnecessary persistent client scope variables that need to be changed.

As for the mode, I just checked Lucee Docs and confirmed that I’m running Multi mode, which is the only mode Lucee 5 supports. (Lucee 6 defaults to Single mode, but upgrading from Lucee 5 in Multi mode will remain in Multi mode)

Still don’t know if I need/prefer which mode though

1 Like

Well ya might as well switch to Single because that will eventually be the only mode available in Lucee 7. :slightly_smiling_face:

2 Likes

Step by step! Keep it simple

First just get your sites working on 6.2 with multi mode

Once that’s bedded down, then try switching to single mode

2 Likes