Operating System - HP-UX
1834486 Members
3540 Online
110067 Solutions
New Discussion

IBM Http Server is failing to start on HP m/c after modify the httpd.conf

 
Nagesh Mandava
New Member

IBM Http Server is failing to start on HP m/c after modify the httpd.conf

Hi ,

After installed IBM Http Server and WebSphere plug-in , i have updated the httpd.conf file to tune the web server plug-in with the following values

ServerLimit 1
ThreadLimit 4000
StartServers 1
MaxClients 1024
MinSpareThreads 1
MaxSpareThreads 1024
ThreadsPerChild 1024
MaxRequestsPerChild 0

as suggested in
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/ae/tins_manualWebServer.html

After that I am not able to start the http server on HP Unix (parisc). error_log updated with following messages when I tried to start httpd.

[Tue Jan 24 13:11:59 2006] [notice] IBM_HTTP_Server/6.1 Apache/2.0.47 configured -- resuming normal operations
[Tue Jan 24 13:11:59 2006] [notice] CoreDumpDirectory not set; core dumps may not be written for child process
crashes
[Tue Jan 24 13:11:59 2006] [alert] (11)Resource temporarily unavailable: apr_thread_create: unable to create wo
rker thread


I think the system configuration needs to change to support the desired number of threads. Please guide me how to do that.

Thanks in advance,
Nagesh.
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: IBM Http Server is failing to start on HP m/c after modify the httpd.conf

Shalom Nagesh,

You are saying that the web server won't start in a MC/Serviceguard configuration.

Error messages are in /var/adm/syslog/syslog.log

There are additional error messages in /etc/cmcluster in the directory in which you created your package and control scripts.

To properly help you, I'd need to see the package and control scripts.

Also note that when you switch to MC/SG you configure apache to no longer auto start on boot. SG and the package control scripts handle that task for you.

I would note based on the errors I see taht its likley that eiteher the system is not patched properly or the kernel settings and shared memory, shmmax,shmseg may be too low.

The CoreDumpDirectroy directory not set is a problem, because you might be getting core dumps and would like to see them.

The last message about apr_thread_create may be a maxuprc or nproc not permitting enough processes to be created.

swapinfo -tam

You system may be overloaded, preventing the product from starting.

I'd say your first place to look is sam kernel configuration and make sure the system is in compliance with the applications kernel guidelines.

SEP
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
Arunvijai_4
Honored Contributor

Re: IBM Http Server is failing to start on HP m/c after modify the httpd.conf

Hi Nagesh,

Can you check server log file for more information. Looks like a bug with Apache..

http://www.gossamer-threads.com/lists/apache/bugs/304022

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Nagesh Mandava
New Member

Re: IBM Http Server is failing to start on HP m/c after modify the httpd.conf

Hi Arun,

I didn't see this problem on other platforms like Soalris,Linux and Windows platfroms.

Thanks,
Nagesh.
Nagesh Mandava
New Member

Re: IBM Http Server is failing to start on HP m/c after modify the httpd.conf

Hi Steven E Protter ,

I didn't find any error messages in /var/adm/syslog/syslog.log file.

Here I am attaching the document which has the information system kenel settings. I got that information by executing command "kctune".

Thanks,
Nagesh.