Operating System - HP-UX
1834015 Members
2357 Online
110063 Solutions
New Discussion

CDE Problem: dtfile Process needs almost 100% CPU

 
Michael Thiel
Occasional Contributor

CDE Problem: dtfile Process needs almost 100% CPU

Hi all,

I created a CDE Home Session and placed some Icons (Actions) on the Desktop. After a while (sometimes a few days) the dtfile Process needs almost 100% CPU. When I kill the dtfile Process the Desktop Icons are gone.

The CDE is running over VNC, but I don`t believe that VNC is the problem.

I found out already that the icon properties (which Workspace and Position and so on) are saved in a file called '.!dtdesktop' which was located in 2 Directories:
~/.dt/sessions/home/.!dtdesktop
~/.dt/Desktop/.!dtdesktop
Last file I removed and deleted the write permissions from the Directory. I thought at first that this solved my problem, because these both files were not equal (probably because I saved more than once?) and after that it worked properly for about a week.

Because we have two VNC-Server (Display:1 and Display:2) and I want to have at last two different Home Sessions for the same user (by the use of new Directories: ~/.dt/:) removing the 2nd file was also necessary.
I have done this already on an AIX System without any problems.

However I also started completly new:
rm -r ~/.dt
but had the same problem again.

Sorry but I am not the system administrator.
It is HP-UX 11.11 and as far as I know all patches are installed.

Does anybody had already a similar Problem or any ideas?

Thanks in advance
Michael
1 REPLY 1
Michael Thiel
Occasional Contributor

Re: CDE Problem: dtfile Process needs almost 100% CPU

Hello,

I think/hope I solved it myself.
Later I received also sometimes messages "File table overflow"

I searched here for that and found a lot of threads.

Than I changed with sam some Kernel Parameters:

- maxfiles 60 -> 120
- maxuprc 75 -> 175

- nproc (20+8*MAXUSERS) -> (2*(20+8*MAXUSERS))
and some other Parameters changed because of Formulars:
- ksi_alloc_max: 2208 -> 4416
- ncallout: 515 -> 998
- ncsize: 5596 -> 5872
- nfile: 910 -> 1352
- ninode: 476 -> 752
- nkthread: 499 -> 982

I don`t know if these are optimal Values, but I`ve done this equal to another system which works.

Perhaps this can help anybody else sometimes.

bye
Michael