l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2001 Dec 30 17:08

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Apache timing out
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Apache timing out

--- Larry Ozeran <lozeran@clinicalinformatics.com> wrote:
> I am new to both apache (1.3) and Linux (RH 7.1). I am having a problem
> where CPU utilization is exceeding 30 seconds and the process is dying
> unfinished. I am organizing a word list (a few thousand unique words)
> culled from a group of articles (currently about 65 with a few hundred
> thousand words) to later be used for rapid searching on our web site. Even
> using B-trees, this still requires a large number of string comparisons. I
> know it is doing useful work and not in an infinte loop by the partial
> output I get as it proceeds. I am not sure how to proceed to change timing
> limits. I know there is an Apache limit, and I suspect there is a Linux
> limit. I found an Apache directive (RLimitCPU) that would appear to address
> this problem, but I can't figure out from the documentation where to put it
> :(

A suggestion (maybe a poor one, but here goes):

Try setting up a VirtualHost with all the same directives as your 'Main' host,
but with your RLimitCPU directive set to something you think is acceptable.  I
usually test _all_ my configurations first in a VirtualHost, on a higher port
(like 8000, or 8080).  I usually do this to separate out the access and error
logs for the new configuration.  

BTW, all apache directives can be used just about anywhere.  If you want a
directive to apply in a <Location>, that is where you put your directive, and
so on and so forth for VirtualHosts, Main Hosts, etc (for _many_ directives,
but see the man page).


> Where do I look in linux to find / set CPU usage limits for users? I've
> checked a couple of Linux books, online FAQs and documentation and searched
> google. I must be looking for the wrong thing; all I am finding is monitors
> that display CPU usage. Any help would be appreciated.
> Thanks,
> Larry
> Larry Ozeran
> Clinical Informatics, Inc.

Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.