[CentOS] respawning apache on centos

Eero Volotinen eero.volotinen at iki.fi
Thu Mar 17 20:12:49 UTC 2011


2011/3/17  <m.roth at 5-cent.us>:
> Dave Stevens wrote:
>>
>> Periodically my ssh access and http access slow dramatically and I get out
>> of memory when trying to do rudimentary stuff like ls. I've been advised by
> <snip>
>> is fine. It takes several minutes before the site is really usable. I now
>> have 22 apache instances out of 66 total processes, which seems excessive.
>>
>> One site hosted, running drupal 7, 1.5G RAM lots of disk spece, two cores,
>> Xeon based host. I don't know if this is an apache issue or CentOS related
>> or what.
>>
>> Ideas? Debugging I can do?
>
> For one thing, I'd strongly urge you to add at least another .5G RAM, if
> not 2.5G. Second, look at the apache configuration, and see how many
> workers it can use - you might want to lower the limit.
>
> Also, what's your connection to the 'Net like, and how heavily is your
> website being hit?

machine looks openvz virtualized container, it requires tuning to
limit settings.

--
Eero



More information about the CentOS mailing list