httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Unmack <peter.li...@unmack.net>
Subject RE: [users@httpd] figuring out bad httpd processes
Date Wed, 22 Sep 2004 21:45:08 GMT
G'day Dan

> 1. what's in the error logs

The main thing present is could not find file.  I get a few broken pipes,
writing data to the network messages as well.  Occasionally it says server
seems busy, increasing number of children.  That's mostly all I typically
see.

> 2. did you use hp's depot to install & if so, is it installed in the default
> location?  There are issues if you aren't running in /opt/hpws - especially
> if you aren't using apachectl to start httpd.

To be honest I can't quite remember (but I don't think so as it comes with
a whole bunch of other stuff bundled together which I know I don't have).
It is installed in /opt/apache2.  I use the start up script during bootup
and use apachectl inbetween times.

> 3. Check your max_thread_proc kernal value. By default it's pretty small.
> Set it to 2048 if it isn't that way already.  Apache 2x is heavy on threads,
> while 1.3 is heavy on process (maxuproc).  HP has some docs on tuning for
> apache 2 on their site.

It was set to 256, have upped it to 2048.  I also saw some other stuff a
while back when I was having problems with crashed due to mutex issues and
altered a number of kernal values.  It made things better, but it still
died.  Recently I swapped the mutex to the one specified at the end of the
following thread, haven't had the server up long enough to tell if that
completely fixed that issue or not.

http://forums1.itrc.hp.com/service/forums/parseCurl.do?admit=716493758+1095865930542+28353475&CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0xf91e36e69499d611abdb0090277a778c%2C00.html

I also found this one when looking around and will try it too if I still
have problems.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15380

I did find one specific docs on the hp site for tuning apache, although
it was largely based on what already exists on the apache website.  It
also isn't very helpful in certain respects when it says

Configuring HP-UX environment

   1. Tuning the OS

      Tune kernel parameters maxproc, shmem, maxfd, etc.

as if I would know what to change those values to! (I'm a fish biologist,
not a computer scientist)

Thanks very much for getting back to me.  I really appreciate your help.

Cheers
Peter Unmack

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message