1832645 Members
3106 Online
110043 Solutions
New Discussion

Problem on dld

 
Soumen Ghosh_1
Occasional Advisor

Problem on dld

Hello,
On HP-UX 11.0, we are facing some problems. Intermittently, it is givin problems like the following :
crt0: ERROR couldn't open /usr/lib/dld.sl errno:000000023

But this problem is not continuous. Some times, it comes up and sometimes, there is no problem.
When there is problem, normal commands don't work and gives the same problem.

Any idea.

Thanks in advance.

Soumen Ghosh
8 REPLIES 8
Steve Steel
Honored Contributor

Re: Problem on dld

Hi


Seen it before . Kernel tuning

Suggest change the following kernel
parameters and generate a new kernel:

npty: Double it

maxusers: + 50%


Steve steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Soumen Ghosh_1
Occasional Advisor

Re: Problem on dld

Hello Steve,

Thanks for the answer.
The system's syslog tells that the problem is because of "File table overflow".
I believe value of "nfile" system parameter is to be increased.
Now, how do I need to consider the system resource constraint?
My system is a K-class system with HP-UX 11.0 running on 512 MB ram. It has got one processor. Can I increase "nfile" parameter value arbitrarily? Or would it affect the system performance? What is the optimal value of "nfile" I have to reach?

The most resource consuming processes are Tomcat, Oracle. Because tomcat is a multi-threaded server, it is taking away 3 file descriptors for each thread, I believe.

How do I reach the optimum value of "nfile" system parameter without affecting system performance?

Thanks in advance.

Soumen Ghosh
Dirk Wiedemann
Respected Contributor

Re: Problem on dld

Hello Soumen,

have a look at this thread: http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x399d93e260b0d611abdb0090277a778c,00.html

It's the same problem. As explained there nfile is calculated from maxuser, increase maxuser.

regards
Dirk
Anil C. Sedha
Trusted Contributor

Re: Problem on dld

Soumen,

Try this

16*(nproc+16+maxusers)/10+32+2*(npty+nstrpty+nstrtel)

Regards,
Anil
If you need to learn, now is the best opportunity
Sanjay_6
Honored Contributor

Re: Problem on dld

Hi Soumen,

Looks like a permission issue.

Try this link,

http://support2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062976095

Hope this helps.

Regds
James R. Ferguson
Acclaimed Contributor

Re: Problem on dld

Hi:

If you look up the error number in '/usr/include/sys/errno.h' you will note that number-23 is a file table overflow.

This relates to the 'nfile' kernel parameter:

http://docs.hp.com/hpux/onlinedocs/939/KCParms/KCparams.OverviewAll.html

You will thus need to increase it and regenerate your kernel.

Regards!

...JRF...
Soumen Ghosh_1
Occasional Advisor

Re: Problem on dld

Hello,

Thanks everybody for the answer.
Undoubtedly, it is happenng because of too low a value of 'nfile' system parameter.

I want to know specifically whether I can increase the value without worrying about the system performance.
Our system is a K-class with 512 MB ram running on single processor.

Would increase in 'nfile' system parameter decrease system performance?

Thanks.

Soumen Ghosh
James R. Ferguson
Acclaimed Contributor

Re: Problem on dld

Hi:

You asked if "Would increase in 'nfile' system parameter decrease system performance?"

First, you're *not* getting optimal performance because of the 'nfile' ceiling -- it's too low to allow all your processes to run.

You need to increase 'nfile' to *improve* performance. 'nfile' specifies the number of elements in the file descriptor table. By doing so, it defines the number of files that can be open simultaneously, system-wide.
Its consumption of memory is very minimal, so allocate 'nfile' generously.

Regards!

...JRF...