1 |
On Mon, 21 Jun 2004 10:28:55 -0700 (PDT), Kashani |
2 |
<kashani-list@××××××××.net> wrote: |
3 |
> |
4 |
> On Sat, 19 Jun 2004, Bart Braem wrote: |
5 |
> |
6 |
> > I am running a server that sometimes get's a lot of traffic and we |
7 |
> > experienced some problems due to the amount of processes. We are |
8 |
> > considering using nptl for our apache2 server, does that work? Is it |
9 |
> > considered stable enough? |
10 |
> > |
11 |
> > Thanks for any advice! |
12 |
> |
13 |
> Generally your module and libs support goes to hell when you turn |
14 |
> on threading in Apache2. mod_php itself is considered to be thread safe, |
15 |
> but adding in various things like imap support will break it because the |
16 |
> imap libs aren't thread safe. Most of the people who are using threaded |
17 |
> Apache2 are using it for very specific applications where they can avoid |
18 |
> supporting the usual module madness that general hosting requires. |
19 |
> |
20 |
Okay that sounds reasonably good... |
21 |
|
22 |
> There are a number of performance hacks you can do such as running |
23 |
> multiple webservers, one for dynamic content and one for static content. |
24 |
> If you want to talk more about what you're doing and need to support I can |
25 |
> try to make some suggestions. |
26 |
> |
27 |
Okay the situation is as follows: we have a server running that uses |
28 |
PHP to dynamically generate images with GD. That goes pretty fast, but |
29 |
when someone uses spiders to download our entire site it just crashes |
30 |
away because of hundreds of processes. |
31 |
We did manage to stop the spidering by blocking their user-agents but |
32 |
if some spider identifies itself as Mozilla we're out of bussiness... |
33 |
Another thing we did was installing MMCache and that solves some |
34 |
problems but it's just a patch not a real soltuion... |
35 |
So we consider using nptl to have less processes (the php processes |
36 |
themselves are very small) and more threading. |
37 |
Would that be a good idea? Do you have any other suggestions? |
38 |
-- |
39 |
"May the source be with you" |