Try removing the permissions on the folder to it does not create new files .
Tomás D. Zandoná
Mig-PLUS Agroindustrial Ltda.
www.migplus.com.br
----- Mensagem original -----
De: "yogg" <tr...@x-net.at>
Para: openthinclient-user@lists.sourceforge.net
Enviadas: Quinta-feira, 24 de abril de 2014 11:56:11
Assunto: [openthinclient-user] Thousands of *.cal files in rdeskdop folder
stopp server from working
Hi
Today our OpenThinClient server stopped working.
After some research I found some folders that include thousands of "*.cal"
files.
/opt/openthinclient/server/default/data/nfs/home/XXXXXXXXXXXX/.local/share/rdesktop/licenses/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.cal
After I have delete this files the server starts again without problems.
Now every day runns a cronjob:
find /opt/openthinclient/server/default/data/nfs/home/ -name "*.cal" -type f
-exec rm {} \;
But I see in the logs that the server tries to load this files (at server
start):
/opt/openthinclient/server/default/data/nfs/root/var/log/server.log
...
2014-04-24 16:40:40,755 INFO [org.openthinclient.nfsd.PathManager] Not loading
nonexistent path
/opt/openthinclient/server/default/data/nfs/home/XXXXXXXXXXXX/.local/share/rdesktop/licenses/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.cal
2014-04-24 16:40:40,755 INFO [org.openthinclient.nfsd.PathManager] Not loading
nonexistent path
/opt/openthinclient/server/default/data/nfs/home/XXXXXXXXXXXX/.local/share/rdesktop/licenses/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.cal
2014-04-24 16:40:40,756 INFO [org.openthinclient.nfsd.PathManager] Not loading
nonexistent path
/opt/openthinclient/server/default/data/nfs/home/XXXXXXXXXXXX/.local/share/rdesktop/licenses/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.cal
2014-04-24 16:40:40,756 INFO [org.openthinclient.nfsd.PathManager] Not loading
nonexistent path
/opt/openthinclient/server/default/data/nfs/home/XXXXXXXXXXXX/.local/share/rdesktop/licenses/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.cal
2014-04-24 16:40:40,756 INFO [org.openthinclient.nfsd.PathManager] Not loading
nonexistent path
/opt/openthinclient/server/default/data/nfs/home/XXXXXXXXXXXX/.local/share/rdesktop/licenses/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.cal
2014-04-24 16:40:40,756 INFO [org.openthinclient.nfsd.PathManager] Not loading
nonexistent path
/opt/openthinclient/server/default/data/nfs/home/XXXXXXXXXXXX/.local/share/rdesktop/licenses/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.cal
2014-04-24 16:40:40,756 INFO [org.openthinclient.nfsd.PathManager] Not loading
nonexistent path
/opt/openthinclient/server/default/data/nfs/home/XXXXXXXXXXXX/.local/share/rdesktop/licenses/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.cal
2014-04-24 16:40:40,756 INFO [org.openthinclient.nfsd.PathManager] Not loading
nonexistent path
/opt/openthinclient/server/default/data/nfs/home/XXXXXXXXXXXX/.local/share/rdesktop/licenses/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.cal
2014-04-24 16:40:40,952 INFO [org.openthinclient.nfsd.PathManager] Not loading
nonexistent path
/opt/openthinclient/server/default/data/nfs/home/XXXXXXXXXXXX/.local/share/rdesktop/licenses/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.cal
2014-04-24 16:40:40,952 INFO [org.openthinclient.nfsd.PathManager] Not loading
nonexistent path
/opt/openthinclient/server/default/data/nfs/home/XXXXXXXXXXXX/.local/share/rdesktop/licenses/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.cal
2014-04-24 16:40:40,952 INFO [org.openthinclient.nfsd.PathManager] Not loading
nonexistent path
/opt/openthinclient/server/default/data/nfs/home/XXXXXXXXXXXX/.local/share/rdesktop/licenses/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.cal
2014-04-24 16:40:40,952 INFO [org.openthinclient.nfsd.PathManager] Not loading
nonexistent path
/opt/openthinclient/server/default/data/nfs/home/XXXXXXXXXXXX/.local/share/rdesktop/licenses/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.cal
2014-04-24 16:40:40,952 INFO [org.openthinclient.nfsd.PathManager] Not loading
nonexistent path
/opt/openthinclient/server/default/data/nfs/home/XXXXXXXXXXXX/.local/share/rdesktop/licenses/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.cal
2014-04-24 16:40:40,952 INFO [org.openthinclient.nfsd.PathManager] Not loading
nonexistent path
/opt/openthinclient/server/default/data/nfs/home/XXXXXXXXXXXX/.local/share/rdesktop/licenses/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.cal
2014-04-24 16:40:40,953 INFO [org.openthinclient.nfsd.PathManager] Not loading
nonexistent path
/opt/openthinclient/server/default/data/nfs/home/XXXXXXXXXXXX/.local/share/rdesktop/licenses/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.cal
...
It seems open thin client saves somewhere that this files someday existed.
There wehre ~800k *.cal files. So the server takes relatively long to start and
this blows up the logfile with useless information.
Can I somehow remove this entrys from the db or whereever the server saves
this?
yogg
------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
The Open Source Thin Client Solution http://openthinclient.org
openthinclient-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openthinclient-user
------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
The Open Source Thin Client Solution http://openthinclient.org
openthinclient-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openthinclient-user