Operating System - HP-UX
1833832 Members
2042 Online
110063 Solutions
New Discussion

Re: iPlanet Web Server Errors

 
Rami Al-Lolah
Advisor

iPlanet Web Server Errors

Team,

I have installed iPlanet web server recently. When I run the admin server; I could access it perefectly, however, I have got the following error in the log file:
'Failed to create logging thread (Insuffi
cient resources)'

Can any help in solving this mystery.
It is not too late to start.
7 REPLIES 7
Rami Al-Lolah
Advisor

Re: iPlanet Web Server Errors

Team,

The error in details is:'[18/Jan/2003:14:20:40] failure (10314): Error creating DaemonSession thread

[18/Jan/2003:14:20:40] warning (10314): The server configuration may require mor
e file descriptors than the operating system provides. If you encounter PR_PROC
_DESC_TABLE_FULL_ERROR errors, you may wish to increase the operating system har
d file descriptor limit from 1200 to 6531 (see your operating system documentati
on) or decrease one or more of the following settings: MaxFiles in nsfc.conf and
ConnQueueSize, RqThrottle, and MaxKeepAliveConnections in magnus.conf.

[18/Jan/2003:14:31:23] failure (10314): Failed to create logging thread (Insuffi
cient resources)'

It is not too late to start.
Sridhar Bhaskarla
Honored Contributor

Re: iPlanet Web Server Errors

Hi Rami,

Do you "sar -v 2 20" and observe the column file-sz. It gives the number of file description in use against the total number of file descriptors avaiable. If the difference is less, then you may have to consider increasing "nfile" kernel parameter.

If not, then you may have to bump up maxfiles_lim (max number of files a process can open -hardlimit) and max_files (soft limit).

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Rami Al-Lolah
Advisor

Re: iPlanet Web Server Errors

Sridhar, Thanks, I'll try it and let you know.
It is not too late to start.
Rami Al-Lolah
Advisor

Re: iPlanet Web Server Errors

Sridhar,

First I would like to inform you that I have HP-UX11i running here. When I have executed that command I got the following:

HP-UX neptune B.11.11 U 9000/879 01/19/03

10:40:28 text-sz ov proc-sz ov inod-sz ov file-sz ov
10:40:30 N/A N/A 110/2068 0 0/2492 0 494/4146 0
10:40:32 N/A N/A 110/2068 0 0/2492 0 494/4146 0
10:40:34 N/A N/A 110/2068 0 0/2492 0 494/4146 0
10:40:36 N/A N/A 110/2068 0 0/2492 0 494/4146 0
10:40:38 N/A N/A 110/2068 0 0/2492 0 494/4146 0
10:40:40 N/A N/A 110/2068 0 0/2492 0 494/4146 0
10:40:42 N/A N/A 110/2068 0 0/2492 0 494/4146 0
10:40:44 N/A N/A 110/2068 0 0/2492 0 494/4146 0
10:40:46 N/A N/A 110/2068 0 0/2492 0 494/4146 0
10:40:48 N/A N/A 110/2068 0 0/2492 0 494/4146 0
................

The kernel configuration I have currently is:

maxfiles 1200 1200 Static N/A S

maxfiles_lim 1200 1200 Dynamic N/A H

nfile 4136 4136 Static

What is your advise ??

Thank You ...... Rami
It is not too late to start.
Steven E. Protter
Exalted Contributor

Re: iPlanet Web Server Errors

I've never run Iplanet and I can tell you now, increase the number of open files on your system in the kernel.

Check uname -a or -u and see what's going on there.

Make sure the user that owns iplanet(hopefully not root) has enough open processes and files allowed.

Web servers with lots of pages to serve can tend to need lots of open files.

I've operated enough web servers(apache) to know that. The hard way, which is how I learn most things.

Steve
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Rami Al-Lolah
Advisor

Re: iPlanet Web Server Errors

Hi,

What kerenel paramter did you mean by increasing?? Note that some of the kernel parameters I have reported above are dynamic.

If I changed the kernel parameter value to what is suggested by the web server; which is 6531; will that impact the whole system performance .... ??

Thanks,,,,,,,,,,,,,,
It is not too late to start.
Sridhar Bhaskarla
Honored Contributor

Re: iPlanet Web Server Errors

Hi,

You are good with nfile kernel parameter. As I indicated before, next step is to consider increasing the maxfiles and maxfiles_lim (Number of open files that a process can have) parameters. Make them 2048.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try